mirror of
https://github.com/docker/docs.git
synced 2026-03-27 22:38:54 +07:00
* rough pass at tabs, jsonification * GHPages 147, authoring YML, sitemap via plugin, working JS * Update Gemfile * Removing dk.rb artifact * Simplifying authoring YML even more * More YML simplification * Remove jekyll-seo -- even more perf gain * Glossary support * Collections support * Incremental off; GH Pages 172 gets build time to 50 seconds
21 lines
625 B
JavaScript
21 lines
625 B
JavaScript
---
|
|
layout: null
|
|
---
|
|
var pages = [{% assign firstPage = "yes" %}
|
|
{% for page in site.pages %}{% if page.title and page.hide_from_sitemap != true %}{% if firstPage == "no" %},{% else %}{% assign firstPage = "no" %}{% endif %}
|
|
{
|
|
"url":{{ page.url | jsonify }},
|
|
"title":{{ page.title | jsonify }},
|
|
"description":{{ page.description | jsonify }},
|
|
"keywords":{{ page.keywords | jsonify }}
|
|
}
|
|
{% endif %}{% endfor %}
|
|
{% for page in site.samples %},
|
|
{
|
|
"url":{{ page.url | jsonify }},
|
|
"title":{{ page.title | jsonify }},
|
|
"description":{{ page.description | strip | jsonify }},
|
|
"keywords":{{ page.keywords | jsonify }}
|
|
}
|
|
{% endfor %}]
|