_includes/
_layouts/
default.html
3.5 KiB
_pages/
_posts/
assets/
css/
fonts/
images/
js/
.gitignore
62 B
Gemfile
68 B
Gemfile.lock
1.7 KiB
Makefile
198 B
README
192 B
_config.yml
278 B
avatar.png
44.3 KiB
cloudhead.gpg
892 B
favicon.png
179 B
index.md
79 B
publish
1.6 KiB
robots.txt
33 B
_layouts/default.html
raw
| 1 | <!doctype html> |
| 2 | <html lang="en"> |
| 3 | <head> |
| 4 | <title> |
| 5 | {% if page.title %} |
| 6 | {{ page.title }} ~ {{ site.title }} |
| 7 | {% else %} |
| 8 | {{ site.title }} |
| 9 | {% endif %} |
| 10 | </title> |
| 11 | <meta charset="utf-8"> |
| 12 | <meta name="viewport" content="width=device-width, initial-scale=1"> |
| 13 | <meta name="twitter:site" content="@cloudhead" /> |
| 14 | <meta name="twitter:creator" content="@cloudhead" /> |
| 15 | <meta property="og:title" content="<%= title %>" /> |
| 16 | {% if page.draft %} |
| 17 | <meta name="robots" content="noindex, nofollow" /> |
| 18 | {% endif %} |
| 19 | <link rel="shortcut icon" href="/favicon.png" /> |
| 20 | <link rel="stylesheet" type="text/css" href="/css/fonts.css"> |
| 21 | <link rel="stylesheet" type="text/css" href="/css/base.css"> |
| 22 | </head> |
| 23 | <body> |
| 24 | <nav> |
| 25 | <ul> |
| 26 | <li><a href="/">/</a> <span class="subtle">home</span></li> |
| 27 | <li><a href="http://twitter.com/cloudhead">@cloudhead</a> <span class="subtle">tweets</span></li> |
| 28 | <li><a href="https://github.com/cloudhead">code</a> <span class="subtle">github.com/cloudhead</span></li> |
| 29 | <li><a href="https://github.com/cloudhead/dotfiles">dotfiles</a> <span class="subtle">~</span></li> |
| 30 | <li><a href="https://rx.cloudhead.io">rx</a> <span class="subtle">rx.cloudhead.io ๐พ</span></li> |
| 31 | <li><a href="https://github.com/cloudhead/shady.vim">shady</a> <span class="subtle">:colorscheme</span</li> |
| 32 | {% for page in site.pages %} |
| 33 | {% if page.title %} |
| 34 | <li> |
| 35 | <a href="{{ page.url | relative_url }}">{{ page.slug }}</a> |
| 36 | <span class="subtle">{{ page.teaser }}</span> |
| 37 | </li> |
| 38 | {% endif %} |
| 39 | {% endfor %} |
| 40 | <li><a href="https://merveilles.town/@cloudhead">toots</a> <span class="subtle">fediverse</span></li> |
| 41 | <li><a href="https://art.cloudhead.io">art</a> <span class="subtle">๐๏ธ</span></li> |
| 42 | <li><a href="https://radicle.xyz">radicle</a> <span class="subtle">p2p code-collab</span></li> |
| 43 | </ul> |
| 44 | <footer> |
| 45 | © {{ 'now' | date: "%Y" }} Alexis Sellier |
| 46 | </footer> |
| 47 | </nav> |
| 48 | |
| 49 | <article class="note"> |
| 50 | <header> |
| 51 | <div class="meta"> |
| 52 | {% if page.type == "note" or page.type == "post" %} |
| 53 | <div class="date">{{ page.date | date: "%Y.%m.%d" }}</div> |
| 54 | {% else %} |
| 55 | <div class="date">{{ page.super }}</div> |
| 56 | {% endif %} |
| 57 | {% if page.crate %} |
| 58 | <div class="badges"> |
| 59 | <a href="https://crates.io/crates/{{ page.crate }}"> |
| 60 | <img alt="crates.io" src="https://img.shields.io/crates/v/{{ page.crate }}.svg?label={{ page.crate }}"/> |
| 61 | </a> |
| 62 | <a href="https://docs.rs/{{ page.crate }}"> |
| 63 | <img alt="docs.rs" src="https://docs.rs/{{ page.crate }}/badge.svg"/> |
| 64 | </a> |
| 65 | <a href="https://github.com/cloudhead/{{ page.crate }}"> |
| 66 | <img alt="github.com" src="https://img.shields.io/github/stars/cloudhead/{{ page.crate }}?style=social"/> |
| 67 | </a> |
| 68 | </div> |
| 69 | {% endif %} |
| 70 | </div> |
| 71 | {% if page.type == "post" %} |
| 72 | <h1><a href="{{ page.permalink }}">{{ page.title }}</a></h1> |
| 73 | {% else if page.headline %} |
| 74 | <h1><a href="{{ page.permalink }}">{{ page.headline }}</a></h1> |
| 75 | {% endif %} |
| 76 | </header> |
| 77 | <section class="body"> |
| 78 | {{ content }} |
| 79 | </section> |
| 80 | </article> |
| 81 | |
| 82 | <footer> |
| 83 | © {{ 'now' | date: "%Y" }} Alexis Sellier |
| 84 | </footer> |
| 85 | <script type="text/javascript" src="{{ "/js/hirust.js" | relative_url }}"></script> |
| 86 | </body> |
| 87 | </html> |
| 88 |