diff options
| author | Mike McQuaid | 2017-03-05 15:25:51 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2017-03-05 15:25:51 +0000 |
| commit | eaf8cc1be09a2c855f566fc1e56f760d327cef47 (patch) | |
| tree | dab8b90e869d1629c3a3a3f8216d39c953930250 /docs/_layouts/post.html | |
| parent | 6d42e2a527c8c76d9d35f940c35101f6b42c693e (diff) | |
| download | brew-eaf8cc1be09a2c855f566fc1e56f760d327cef47.tar.bz2 | |
docs.brew.sh: use brew.sh theming.
Unfortunately there's no easy way to share this code with the brew.sh
site but it's at least able to have the `css/`, `img/` (root) and
`_layouts` directories in sync between the two repositories.
Some small CSS tweaks were needed to make these pages render more
attractively.
Diffstat (limited to 'docs/_layouts/post.html')
| -rw-r--r-- | docs/_layouts/post.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/_layouts/post.html b/docs/_layouts/post.html new file mode 100644 index 000000000..5ec535ab5 --- /dev/null +++ b/docs/_layouts/post.html @@ -0,0 +1,11 @@ +--- +layout: base +--- +<div id="post"> + <h2>{{ page.title }}</h2> + <h3>{{ page.date | date_to_long_string }}</h3> + <h3 class="author"><a href="https://github.com/{{ page.author }}"><img class="avatar" src="https://avatars2.githubusercontent.com/{{ page.author }}?v=3&s=80" alt="{{ page.author }}" width="40" height="40">{{ page.author }}</a></h3> + <div class="postcontent singlepostcontent"> + {{ content }} + </div> +</div> |
