crappy-reverie/_layouts/default.html

65 lines
2.3 KiB
HTML
Raw Permalink Normal View History

2019-02-12 19:04:04 +00:00
<!DOCTYPE html>
<html>
<head>
<title>{% if page.title %}{{ page.title }} {% endif %}{{ site.name }} {{ site.description }}</title>
2019-08-02 12:24:24 +00:00
{% seo title=false %}
2023-04-18 10:18:15 +00:00
{%- assign page_paths = site.header_pages | default: default_paths -%}
2019-02-12 19:04:04 +00:00
{% include meta.html %}
2023-04-18 10:18:15 +00:00
<link rel="stylesheet" type="text/css" href="{{ site.baseurl }}/assets/css/style.css" />
2019-02-12 19:04:04 +00:00
<link rel="alternate" type="application/rss+xml" title="{{ site.name }} - {{ site.description }}" href="{{ site.baseurl }}/feed.xml" />
<link rel="canonical" href="{{ site.url }}{{ page.url }}" />
2023-04-18 10:18:15 +00:00
<script src="{{ site.baseurl }}/assets/js/darkreader.min.js"></script>
<script src="{{ site.baseurl }}/assets/js/lightning.js"></script>
2019-02-12 19:04:04 +00:00
2023-04-18 13:36:55 +00:00
<link rel="icon" type="image/png" sizes="32x32" href="{{ site.baseurl }}/assets/images/deepfried-cropped.png">
{% include analytics_head.html %}
2019-02-12 19:04:04 +00:00
</head>
<body>
<div id="bar"></div>
2019-07-28 08:39:08 +00:00
<div class="wrapper-container">
<div class="wrapper-masthead">
<div class="container">
<header class="masthead clearfix">
2020-01-04 09:40:01 +00:00
<a href="{{ site.baseurl }}/" class="site-avatar"><img src="{{ site.baseurl }}{{ site.avatar }}" alt="{{ site.title }}" /></a>
2019-07-28 08:39:08 +00:00
<div class="site-info">
<h1 class="site-name"><a href="{{ site.baseurl }}/">{{ site.name }}</a></h1>
<p class="site-description">{{ site.description }}</p>
</div>
<nav>
2023-04-18 10:18:15 +00:00
{%- for path in page_paths -%}
{%- assign my_page = site.pages | where: "path", path | first -%}
{%- if my_page.title -%}
<a href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a>
{%- endif -%}
{%- endfor -%}
<a id="dark-mode-button" onclick="darkmode()" >
<span>🌙</span>
</a>
2019-07-28 08:39:08 +00:00
</nav>
</header>
</div>
2019-02-12 19:04:04 +00:00
</div>
2019-07-28 08:39:08 +00:00
<div class="wrapper-main">
<div id="main" role="main" class="container">
{{ content }}
</div>
</div>
2019-02-12 19:04:04 +00:00
2019-07-28 08:39:08 +00:00
<div class="wrapper-footer">
<div class="container">
<footer class="footer">
{% include svg-icons.html %}
</footer>
</div>
2019-02-12 19:04:04 +00:00
</div>
</div>
{% include analytics.html %}
</body>
</html>