From 35efc5ab23d30361a49a7af5b2319817a001b591 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Thu, 22 Feb 2018 19:44:42 +0000 Subject: docs: add/update more layouts. --- docs/_layouts/analytics.html | 22 +++++++++++++++ docs/_layouts/index.html | 66 +++++++++++++++++++++++++++++++------------- 2 files changed, 69 insertions(+), 19 deletions(-) create mode 100644 docs/_layouts/analytics.html diff --git a/docs/_layouts/analytics.html b/docs/_layouts/analytics.html new file mode 100644 index 000000000..b62e424c5 --- /dev/null +++ b/docs/_layouts/analytics.html @@ -0,0 +1,22 @@ +--- +layout: base +--- +{% assign json = site.data.analytics[page.category] %} +
| + | {% if page.category == "os-version" %}Version{% else %}Formula{% endif %} | +Events | +% | +
|---|---|---|---|
| #{{ item.number }} | +{% if page.category == "os-version" %}{{ item.os_version }}{% else %}{{ item.formula }}{% endif %} |
+ {{ item.count }} | +{{ item.percent }}% | +
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
{{ page.pagecontent.install.paste }}
+{{ t.pagecontent.install.paste }}
{{ page.pagecontent.install.what }}
+{{ t.pagecontent.install.what }}
{{ page.pagecontent.what }}
+{{ t.pagecontent.what }}
{{ page.pagecontent.how }}
+{{ t.pagecontent.how }}
{{ page.pagecontent.prefix }}
+{{ t.pagecontent.prefix }}
{{ page.pagecontent.createpackages }}
+{{ t.pagecontent.createpackages }}
{{ page.pagecontent.hack }}
+{{ t.pagecontent.hack }}
{{ page.pagecontent.formula }}
+{{ t.pagecontent.formula }}
{{ page.pagecontent.complement }}
+{{ t.pagecontent.complement }}
{{ page.pagecontent.foot.code }} {{ page.pagecontent.foot.page }} {{ page.pagecontent.foot.translation }}
+{{ t.pagecontent.foot.code }} {{ t.pagecontent.foot.page }} {{ t.pagecontent.foot.translation }}