Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Teaser in index.html #120

Open
sinconix opened this issue Nov 14, 2016 · 2 comments · May be fixed by #151
Open

Teaser in index.html #120

sinconix opened this issue Nov 14, 2016 · 2 comments · May be fixed by #151
Assignees

Comments

@sinconix
Copy link

When writing a lengthy post the whole post is put into index.html, sometimes not desirable.
Can there be just an option not to put a post not into index.html? E.g.
bb.sh -n(oindex) post (write long post, bb only creates .html but does not link to in index.html)
bb.sh post (write the teaser, manually insert link to previously written post)

Another nice to have would be a discard option on exit from $EDITOR, sometimes some data or inspiration is missing, currently one needs to manually delete empty post.

@leafstrat
Copy link

leafstrat commented Nov 14, 2016

You can choose where you want to cut the article with [hr] html code.

It will then display everything above the [hr] in the index page, and the Read More... link will appear below.

note: replace [ ]with <>

@cfenollosa
Copy link
Owner

As Justin said, you can use the <hr> to split posts on the front page.

Regarding the option to discard posts, I've thought about it recently and think it's useful, I'll add it on the next release. Thanks!

@cfenollosa cfenollosa self-assigned this Nov 16, 2016
@Unip0rn Unip0rn linked a pull request May 21, 2018 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants