@onedrawingperday wrote: Static Index w/ Separate /blog?
As that topic has more focus on RSS, I continue the question here. It’s mentioned there:
│ ├── _index.md
│ └── blog
│ ├── my-first-post.md
│ └── my-second-post.md
@rdwatters wrote: You’ll also need layouts, etc, obviously… But index.html will pull content and front matter from
_index.md plus whatever templating you put in.
But it’s not obvious to me! For example, I have chose Bootstrap v4 Blog theme for my blog. I use
hugo new to create a new site and put it within themes. it works well and serves posts that are located in
/content/post. this site is available via example.com.
Now I have a template based on bootstrap that I want it to be the index of my site. the template has a part that can presents recent blog post that is implemented in Hugo codes. assets, such as CSS, are in common for both the template (site index) and the theme (blog).
From now, what are steps that I should follows?
If I put index.html of the template in /layouts, the index.html of
/themes/Bootstrap-v4-Blog will be ignored!