|
25 | 25 | <!-- Custom front matter --> |
26 | 26 | {% block extrahead %} |
27 | 27 |
|
28 | | - <!-- Determine title --> |
29 | | - {% set title = config.site_name %} |
30 | | - {% if page and page.title and not page.is_homepage %} |
31 | | - {% set title = config.site_name ~ " - " ~ page.title | striptags %} |
32 | | - {% endif %} |
33 | | - |
34 | | - <!-- The image needs to have an absolute URL --> |
35 | | - {% set image = config.site_url ~ 'assets/images/banner.png' %} |
36 | | - |
37 | | - <!-- Open graph meta tags --> |
38 | | - <meta property="og:type" content="website" /> |
39 | | - <meta property="og:title" content="{{ title }}" /> |
40 | | - <meta property="og:description" content="{{ config.site_description }}" /> |
41 | | - <meta property="og:url" content="{{ page.canonical_url }}" /> |
42 | | - <meta property="og:image" content="{{ image }}" /> |
43 | | - <meta property="og:image:type" content="image/png" /> |
44 | | - <meta property="og:image:width" content="1080" /> |
45 | | - <meta property="og:image:height" content="568" /> |
46 | | - |
47 | | - <!-- Twitter meta tags --> |
48 | | - <meta name="twitter:card" content="summary_large_image" /> |
49 | | - <meta name="twitter:site" content="@squidfunk" /> |
50 | | - <meta name="twitter:creator" content="@squidfunk" /> |
51 | | - <meta name="twitter:title" content="{{ title }}" /> |
52 | | - <meta name="twitter:description" content="{{ config.site_description }}" /> |
53 | | - <meta name="twitter:image" content="{{ image }}" /> |
54 | | - |
55 | | - <!-- Extra stylesheets --> |
| 28 | + <!-- Extra stylesheets (can't be set in mkdocs.yml due to content hash) --> |
56 | 29 | <link |
57 | 30 | rel="stylesheet" |
58 | 31 | href="{{ 'overrides/assets/stylesheets/main.css' | url }}" |
|
74 | 47 | {% block scripts %} |
75 | 48 | {{ super() }} |
76 | 49 |
|
77 | | - <!-- Extra JavaScript --> |
| 50 | + <!-- Extra JavaScript (can't be set in mkdocs.yml due to content hash) --> |
78 | 51 | <script src="{{ 'overrides/assets/javascripts/bundle.js' | url }}"></script> |
79 | 52 | {% endblock %} |
80 | 53 |
|
0 commit comments