A charming Jekyll theme.
jekyll-theme
at main 53 lines 1.6 kB view raw
1<!DOCTYPE html> 2<html lang="{{ page.lang | default: site.lang }}"> 3 <head> 4 <meta charset="utf-8" /> 5 <meta name="viewport" content="width=device-width, initial-scale=1" /> 6 7 {% if page.title and page.title != "" -%} 8 <title>{{ page.title }} ({{- site.title -}})</title> 9 {%- else -%} 10 <title>{{ site.title }} {%- if site.tagline %} ~ {{ site.tagline }}{%- endif -%}</title> 11 {%- endif %} 12 {% seo title=false %} 13 14 {%- feed_meta -%} 15 {%- json_feed_meta -%} 16 17 {% for link in site.seo.links %} 18 <link rel="me" href="{{ link }}" /> 19 {% endfor %} 20 21 {%- if site.category_colors -%} 22 <style id="category-colors"> 23 {%- for category in site.category_colors %} 24 .{{- category.name | slugify: site.slug_mode | prepend: "_" }} { 25 background-color: {{ category.color -}}; 26 } 27 {%- endfor -%} 28 </style> 29 {%- endif -%} 30 31 <link rel="stylesheet" href="{%- link assets/css/base.css -%}" /> 32 <link rel="stylesheet" href="{%- link assets/css/layout.css -%}" /> 33 <link rel="stylesheet" href="{%- link assets/css/syntax.css -%}" /> 34 <link rel="stylesheet" href="{%- link assets/css/theme.css -%}" /> 35 <link rel="stylesheet" href="{%- link assets/css/fonts.css -%}" /> 36 37 {%- include head.html -%} 38 </head> 39 <body> 40 <div class="site"> 41 {% include site/header.html %} 42 43 <main class="site-content"> 44 {{ content }} 45 </main> 46 47 48 {% include site/footer.html %} 49 </div> 50 51 {%- include end.html -%} 52 </body> 53</html>