diff --git a/_layouts/page.html b/_layouts/page.html index 813ae41..2947886 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/configs/config_designers.yml b/configs/config_designers.yml index a4a00f9..0a513ba 100644 --- a/configs/config_designers.yml +++ b/configs/config_designers.yml @@ -15,6 +15,7 @@ google_analytics: UA-66296557-1 sidebar_tagline: designers sidebar_version: version 3.0 +project_file_name: doc port: 4001 diff --git a/configs/config_writers.yml b/configs/config_writers.yml index ddbae97..1869d65 100644 --- a/configs/config_writers.yml +++ b/configs/config_writers.yml @@ -16,6 +16,7 @@ google_analytics: UA-66296557-1 sidebar_tagline: writers sidebar_version: version 3.0 theme_file: theme-green.css +project_file_name: doc port: 4003 exclude: diff --git a/doc_configuration_settings.md b/doc_configuration_settings.md index 0a6d7df..28ac252 100644 --- a/doc_configuration_settings.md +++ b/doc_configuration_settings.md @@ -31,6 +31,7 @@ Note that you can define arbitrary key-value pairs in the configuration file, an | **product** | Required | The product for the output. See additional information in audience. | **version** | Required | The version for the output. See additional information in audience. | **destination** | Required | The folder where the site is built. If you put this into your same folder as your other files, Jekyll may start building and rebuilding in an infinite loop because it detects more files in the project folder. Make sure you specify a folder outside your project folder, by using `../` or by specifying the absolute path, such as /Applications/XAMPP/xamppfiles/htdocs/myfolder. | +| **project_file_name** | Required | The shortname for your project that you preface each file name with (for example, `doc`). This label is used to specify the prefix for the tag archives files (which are named with titles such as `doc_tag-formatting.html`). The raw code in the theme is {% raw %}``{% endraw %} The {% raw %}`{{site.project_file_name}}`{% endraw %} field renders as `doc` in the sample theme. The {% raw %}`{{tag}}`{% endraw %} is populated by a "for" loop through the tags property specified in page frontmatter.| | **sidebar_tagline** | Optional | Appears above the sidebar. Usually you put some term related to the site specific build, such as the audience. In the sample theme files, the taglines are "writers" and "designers."| | **sidebar_version** | Optional | Appears below the sidebar_tagline in a smaller font, usually specifying the version of the documentation. In the sample theme files, the version is "3.0."| | **topnav_title** | Required | Appears next to the home button in the top nav bar. In the sample theme files, the topnav_title is "Jekyll Documentation Theme." |