diff --git a/docs/_layouts/analytics.html b/docs/_layouts/analytics.html new file mode 100644 index 0000000000..b62e424c58 --- /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 }}