Octopress Index Page

I created the Octopress blog. My blog page contains all my posts from each other, and I would like to change that.
I saw these pages: http://linuxmoz.com/ , http://codingpraxis.com/ they contain a paragraph of each message and a button "Read more". I have seen this particular template for such an index page on other blogs.
How can I create this index page? Also, is there any place where I can find “templates” for different pages (for example, about or contacting me)?

+4
source share
2 answers

1 . Just by using <!-- more --> in your message, Octopress will automatically generate a “Read more” button.
2 . To add an O page to Octopress, 2 steps are required:
1. Create the "about" page

 rake new_page["about"] 

2. Enter the link
edit the file "source / _includes / custom / navigation.html", adding the third line below:

 <ul class="main-navigation"> <li><a href="/">Blog</a></li> <li><a href="/blog/archives">Archives</a></li> <li><a href="/about">About</a></li> </ul> 

After "rake generate", "source / about / index.markdown" will generate "public / about / index.html", that is, a file whose contents will be displayed in the browser.
More details

+10
source

You do not need to create an additional index page. Inserting a comment into your post will prevent the content of the post below this sign from appearing on the index page for blog posts, the “Continue →” button refers to the full post.

0
source

Source: https://habr.com/ru/post/1448052/


All Articles