Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ theme_config:
back_home_text: ".." # customize text for homepage link in post layout
date_format: "%Y-%m-%d" # customize how date is formatted
show_description: false # show blog description in home page
show_index_content_in_top: false # show content of index.md above menu

sass:
style: :compressed
Expand Down
8 changes: 7 additions & 1 deletion _layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ <h1>{{ site.title }}</h1>
{%-endif-%}
</header>

{%-if site.theme_config.show_index_content_in_top-%}
{{ content }}
{%-endif-%}

{%-include menu_item.html collection=site.data.menu.entries-%}

{{ content }}
{%-unless site.theme_config.show_index_content_in_top-%}
{{ content }}
{%-endunless-%}