From 91618b807a8528acf80ac42c13f9bda79f3df30c Mon Sep 17 00:00:00 2001 From: Joshua Schrier Date: Sat, 6 Jan 2024 21:45:29 -0500 Subject: [PATCH] if header_pages is undefined, then all pages get a link? --- _config.yml | 4 +++ _includes/head.html | 2 -- index.html | 85 --------------------------------------------- 3 files changed, 4 insertions(+), 87 deletions(-) delete mode 100644 index.html diff --git a/_config.yml b/_config.yml index 398c242..d4c7f73 100644 --- a/_config.yml +++ b/_config.yml @@ -5,3 +5,7 @@ twitter_username: JoshuaSchrier github_username: jschrier show_excerpts: true baseurl: /blog + +header_pages: + + diff --git a/_includes/head.html b/_includes/head.html index 2146f42..59e3c45 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -11,9 +11,7 @@ {%- include custom-head.html -%} - {% comment %} {% if site.tags != "" %} {% include collecttags.html %} {% endif %} - {% endcomment %} diff --git a/index.html b/index.html deleted file mode 100644 index 247a1e9..0000000 --- a/index.html +++ /dev/null @@ -1,85 +0,0 @@ ---- -layout: default -title: Home ---- - - -
- - {% if paginator.page == 1 %} - {% for post in site.posts %} - {% if post.pined %} - {% if post.lang %} -
- {% else %} -
- {% endif %} -

 {{ post.title }}

- - - - - - {{ post.content }} -
-
- {% endif %} - {% endfor %} - {% endif %} - - - - {% for post in paginator.posts %} - {% if post.lang %} -
- {% else %} -
- {% endif %} -

- - {{ post.title }} - -

- - - - - - {{ post.content }} -
-
- {% endfor %} -
- - - - \ No newline at end of file