|
4 | 4 | <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0"> |
5 | 5 | <meta name="google-site-verification" content="8zE_jkCHHlmp8mLItr7EvVzSutuT6dv7z3tW9oqd8oo" /> |
6 | 6 |
|
7 | | - <title>{% if page.use-site-title %}{{ site.title }} {{ site.title-separator }} {{ site.description }}{% elsif page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title> |
8 | 7 | {% if page.charts %}<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>{% endif %} |
9 | | - <meta name="author" content="{{ site.author.name }}" /> |
10 | | - |
11 | | - {% if page.subtitle %} |
12 | | - <meta name="description" content="{{ page.subtitle }}"> |
13 | | - {% endif %} |
14 | 8 |
|
15 | 9 | {% if page.chart %} |
16 | 10 | <script src="/js/Chart.bundle.min.js"></script> |
|
57 | 51 | {% endfor %} |
58 | 52 | {% endif %} |
59 | 53 |
|
60 | | - <!-- Facebook OpenGraph tags --> |
61 | | - {% if site.fb_app_id %} |
62 | | - <meta property="fb:app_id" content="{{ site.fb_app_id }}" /> |
63 | | - {% endif %} |
64 | | - |
65 | | - {% if page.meta-title %} |
66 | | - <meta property="og:title" content="{{ page.meta-title }}" /> |
67 | | - {% elsif page.title %} |
68 | | - <meta property="og:title" content="{{ page.title }}" /> |
69 | | - {% else %} |
70 | | - <meta property="og:title" content="{{ site.title }}" /> |
71 | | - {% endif %} |
72 | | - |
73 | | - {% if page.meta-description %} |
74 | | - <meta property="og:description" content="{{ page.meta-description }}"> |
75 | | - {% elsif page.subtitle %} |
76 | | - <meta property="og:description" content="{{ page.subtitle }}"> |
77 | | - {% else %} |
78 | | - <meta property="og:description" content="{{ page.content | strip_html | xml_escape | truncatewords: 50 }}"> |
79 | | - {% endif %} |
80 | | - |
81 | | - |
82 | | - <meta property="og:type" content="website" /> |
83 | | - |
84 | | - {% if page.id %} |
85 | | - <meta property="og:url" content="{{ site.url }}{{ page.url }}" /> |
86 | | - <link rel="canonical" href="{{ site.url }}{{ page.url }}" /> |
87 | | - {% else %} |
88 | | - <meta property="og:url" content="{{ site.url }}{{ page.url | remove: '/index.html' | remove: '.html' }}" /> |
89 | | - <link rel="canonical" href="{{ site.url }}{{ page.url | remove: '/index.html' | remove: '.html' }}" /> |
90 | | - {% endif %} |
91 | | - |
92 | | - {% if page.share-img %} |
93 | | - <meta property="og:image" content="{{ page.share-img }}" /> |
94 | | - {% elsif site.avatar %} |
95 | | - <meta property="og:image" content="{{ site.url }}{{ site.avatar }}" /> |
96 | | - {% endif %} |
97 | | - |
98 | | - |
99 | | - <!-- Twitter summary cards --> |
100 | | - <meta name="twitter:card" content="summary" /> |
101 | | - <meta name="twitter:site" content="@{{ site.author.twitter }}" /> |
102 | | - <meta name="twitter:creator" content="@{{ site.author.twitter }}" /> |
103 | | - |
104 | | - {% if page.meta-title %} |
105 | | - <meta name="twitter:title" content="{{ page.meta-title }}" /> |
106 | | - {% elsif page.title %} |
107 | | - <meta name="twitter:title" content="{{ page.title }}" /> |
108 | | - {% else %} |
109 | | - <meta name="twitter:title" content="{{ site.title }}" /> |
110 | | - {% endif %} |
111 | | - |
112 | | - {% if page.meta-description %} |
113 | | - <meta name="twitter:description" content="{{ page.meta-description }}"> |
114 | | - {% elsif page.subtitle %} |
115 | | - <meta name="twitter:description" content="{{ page.subtitle }}"> |
116 | | - {% else %} |
117 | | - <meta name="twitter:description" content="{{ page.content | strip_html | xml_escape | truncatewords: 50 }}"> |
118 | | - {% endif %} |
119 | | - |
120 | | - {% if page.share-img %} |
121 | | - <meta name="twitter:image" content="{{ page.share-img }}" /> |
122 | | - {% elsif site.avatar %} |
123 | | - <meta name="twitter:image" content="{{ site.url }}{{ site.avatar }}" /> |
124 | | - {% endif %} |
125 | | - |
126 | 54 | <a rel="me" href="https://clar.ke/@greg">Mastodon</a> |
127 | 55 | </head> |
0 commit comments