A charming Jekyll theme.
jekyll-theme

Merge branch 'origin/main'

+47 -2
+22
CHANGELOG.md
··· 1 + --- 2 + layout: page 3 + title: Changelog 4 + permalink: /changelog/ 5 + --- 6 + 7 + ## Version 1.1 8 + 9 + **New:** 10 + 11 + - **`archive` layout:** 12 + Show all your posts in a single list! 13 + - **New Setting `site.translations.byline`:** 14 + Now you can prepend a byline for an author name in the post footer. 15 + - **Custom includes:** 16 + You can add HTML markup to the `<head>`, below your post and at the end of the `</body>` tag. 17 + 18 + **Fix:** 19 + 20 + - Hides `post.author` on single-author blogs. 21 + - Hides excerpt on link posts in archive pages. 22 + - Softens the shadows to increase legibility.
+8
README.md
··· 211 211 } 212 212 ``` 213 213 214 + ## Custom includes 215 + 216 + Linus offers three custom includes to add markup to different parts of your website: 217 + 218 + - `head.html`: right before the closing `</head>` tag. 219 + - `below-post.html`: after the post footer in post pages. 220 + - `end.html`: right before the closing `</body>` tag. 221 + 214 222 ## Development 215 223 216 224 To set up your environment to develop this theme, run `bundle install`.
+3
_includes/below-post.html
··· 1 + {% comment %} 2 + You can create a `_includes/head.html` in your site to add custom scripts, styles and other markup right after your post in a post page. 3 + {% endcomment %}
+3
_includes/end.html
··· 1 + {% comment %} 2 + You can create a `_includes/head.html` in your site to add custom scripts, styles and other markup as you wish! 3 + {% endcomment %}
_includes/footer.html _includes/site/footer.html
+3
_includes/head.html
··· 1 + {% comment %} 2 + You can create a `_includes/head.html` in your site to add custom scripts, styles and other markup that will be added right before the closing `</head>` tag. 3 + {% endcomment %}
_includes/header.html _includes/site/header.html
+6 -2
_layouts/default.html
··· 33 33 <link rel="stylesheet" href="{%- link assets/css/syntax.css -%}" /> 34 34 <link rel="stylesheet" href="{%- link assets/css/theme.css -%}" /> 35 35 <link rel="stylesheet" href="{%- link assets/css/fonts.css -%}" /> 36 + 37 + {%- include head.html -%} 36 38 </head> 37 39 <body> 38 40 <div class="site"> 39 - {% include header.html %} 41 + {% include site/header.html %} 40 42 41 43 <main class="site-content"> 42 44 {{ content }} 43 45 </main> 44 46 45 47 46 - {% include footer.html %} 48 + {% include site/footer.html %} 47 49 </div> 50 + 51 + {%- include end.html -%} 48 52 </body> 49 53 </html>
+2
_layouts/post.html
··· 99 99 {%- endif -%} 100 100 </footer> 101 101 {%- endif -%} 102 + 103 + {%- include below-post.html -%} 102 104 </article> 103 105