From eaf8cc1be09a2c855f566fc1e56f760d327cef47 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sun, 5 Mar 2017 15:25:51 +0000 Subject: 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. --- docs/_layouts/base.html | 102 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 docs/_layouts/base.html (limited to 'docs/_layouts/base.html') diff --git a/docs/_layouts/base.html b/docs/_layouts/base.html new file mode 100644 index 000000000..71ca22ce4 --- /dev/null +++ b/docs/_layouts/base.html @@ -0,0 +1,102 @@ + + + + + + {% if page.title %} + {{ page.title }} — Homebrew + {% elsif page.direction == "rtl" %} + {{ page.subtitle }} — Homebrew + {% else %} + Homebrew — {{ page.subtitle }} + {% endif %} + {% seo title=false %} + {% feed_meta %} + + + + + + + + + + + + + + + + + + {% for lang in site.langs %} + {% if lang.langcode == "en" %} + + + {% else %} + + {% endif %} + {% endfor %} + + +
+ + + {{ content }} + +
+ + Fork me on GitHub + + + -- cgit v1.2.3