diff --git a/_data/sidebar_doc.yml b/_data/sidebar_doc.yml index fa56f68..55f2e72 100644 --- a/_data/sidebar_doc.yml +++ b/_data/sidebar_doc.yml @@ -131,7 +131,7 @@ entries: version: all - title: Tags - url: /doc_tags.html + url: /tags.html audience: writers, designers platform: all product: all @@ -280,7 +280,7 @@ entries: version: all - title: Help APIs and UI tooltips - url: /doc_help_apis.html + url: /doc_help_api.html audience: writers, designers platform: all product: all @@ -359,7 +359,7 @@ entries: items: - title: Tag archives overview - url: /doc_tag_archives_overview.html + url: /tag_archives_overview.html audience: writers, designers platform: all product: all @@ -374,7 +374,7 @@ entries: print: false thirdlevelitems: - title: Getting started pages - url: /doc_tag-getting-started.html + url: /tag-getting-started.html audience: writers, designers platform: all version: all @@ -382,7 +382,7 @@ entries: print: false - title: Formatting pages - url: /doc_tag-formatting.html + url: /tag-formatting.html audience: writers, designers platform: all version: all @@ -390,7 +390,7 @@ entries: print: false - title: Navigation pages - url: /doc_tag-navigation.html + url: /tag-navigation.html audience: writers, designers platform: all version: all @@ -398,7 +398,7 @@ entries: print: false - title: Content types pages - url: /doc_tag-content-types.html + url: /tag-content-types.html audience: writers, designers platform: all version: all @@ -406,7 +406,7 @@ entries: print: false - title: Publishing pages - url: /doc_tag-publishing.html + url: /tag-publishing.html audience: writers, designers platform: all version: all @@ -414,7 +414,7 @@ entries: print: false - title: Special layout pages - url: /doc_tag-special-layouts.html + url: /tag-special-layouts.html audience: writers, designers platform: all version: all diff --git a/_data/urls.yml b/_data/urls.yml index e6f50ed..1339bf6 100644 --- a/_data/urls.yml +++ b/_data/urls.yml @@ -284,18 +284,18 @@ doc_tag-formatting: doc_tag-navigation: title: "Navigation pages" - url: "doc_tag-navigation.html" - link: "Navigation pages" + url: "tag-navigation.html" + link: "Navigation pages" doc_tag-content-types: title: "Content types pages" - url: "doc_tag-content-types.html" - link: "Content types pages" + url: "tag-content-types.html" + link: "Content types pages" doc_tag-publishing: title: "Publishing pages" - url: "doc_tag-publishing.html" - link: "Publishing pages" + url: "tag-publishing.html" + link: "Publishing pages" doc_tag-special-layouts: title: "Special layout pages" diff --git a/_layouts/page.html b/_layouts/page.html index e6b79dd..6aee29e 100644 --- a/_layouts/page.html +++ b/_layouts/page.html @@ -22,7 +22,7 @@ layout: default {% include custom/conditions.html %} {% for tag in page.tags %} {% if projectTags contains tag %} - {% unless forloop.last %}{% endunless%} + {% unless forloop.last %}{% endunless%} {% endif %} {% endfor %} {% endif %} diff --git a/_layouts/tag_page.html b/_layouts/tag_page.html deleted file mode 100644 index 30be4c6..0000000 --- a/_layouts/tag_page.html +++ /dev/null @@ -1,13 +0,0 @@ ---- -layout: default ---- -

{{ page.tag }}

- - -
- {{ site | tag_cloud }} -
\ No newline at end of file diff --git a/doc_tags.md b/doc_tags.md index 96eabb5..793a7e7 100644 --- a/doc_tags.md +++ b/doc_tags.md @@ -30,7 +30,7 @@ To prevent tags from getting out of control and inconsistent, first make sure th {{site.data.alerts.note}} Unlike with WordPress, you have to build out the functionality for tags so that clicking a tag name shows you all pages with that tag. Tags in Jekyll are much more manual.{{site.data.alerts.end}} {% endif %} -Additionally, you must create a tag archive page similar to the other pages named doc_tag-{tagname}.html folder. This theme doesn't auto-create tag archive pages. +Additionally, you must create a tag archive page similar to the other pages named tag-{tagname}.html folder. This theme doesn't auto-create tag archive pages. For simplicity, make all your tags single words (connect them with hyphens if necessary). @@ -61,7 +61,7 @@ Tags have a few components. - content types ``` -4. Create a tag archive file for each tag in your tags_doc.yml list. Name the file like this: doc_tag-getting-started.html, where doc is your project name. (Again, tags with multiple words need hyphens in them.) +4. Create a tag archive file for each tag in your tags_doc.yml list. Name the file like this: tag-getting-started.html, where doc is your project name. (Again, tags with multiple words need hyphens in them.) Each tag archive file needs only this: @@ -116,7 +116,7 @@ You can change the button color by changing the class on the button from `btn-in ## Retrieving pages for a specific tag -If you want to retrieve pages outside of a particular doc_tag-archive page, you could use this code: +If you want to retrieve pages outside of a particular tag-archive page, you could use this code: ```html {% raw %} @@ -191,7 +191,7 @@ Still, if the build times are getting long (e.g., 1 or 2 minutes per build), loo If your page shows "tags:" at the bottom without any value, it could mean a couple of things: -* You're using a tag that isn't specified in your allowed tags list in your doc_tags.yml file. +* You're using a tag that isn't specified in your allowed tags list in your tags.yml file. * You have an empty `tags: []` property in your frontmatter. If you don't want tags to appear at all on your page, remove the tags property from your frontmatter. diff --git a/doc_tag-content-types.html b/tag-content-types.html similarity index 100% rename from doc_tag-content-types.html rename to tag-content-types.html diff --git a/doc_tag-formatting.html b/tag-formatting.html similarity index 100% rename from doc_tag-formatting.html rename to tag-formatting.html diff --git a/doc_tag-getting-started.html b/tag-getting-started.html similarity index 100% rename from doc_tag-getting-started.html rename to tag-getting-started.html diff --git a/doc_tag-navigation.html b/tag-navigation.html similarity index 100% rename from doc_tag-navigation.html rename to tag-navigation.html diff --git a/doc_tag-publishing.html b/tag-publishing.html similarity index 100% rename from doc_tag-publishing.html rename to tag-publishing.html diff --git a/doc_tag-single-sourcing.html b/tag-single-sourcing.html similarity index 100% rename from doc_tag-single-sourcing.html rename to tag-single-sourcing.html diff --git a/doc_tag-special-layouts.html b/tag-special-layouts.html similarity index 100% rename from doc_tag-special-layouts.html rename to tag-special-layouts.html diff --git a/doc_tag_archives_overview.md b/tag_archives_overview.md similarity index 100% rename from doc_tag_archives_overview.md rename to tag_archives_overview.md