Skip to content

Commit

Permalink
Merge pull request #31 from google/main
Browse files Browse the repository at this point in the history
Upstream merge
  • Loading branch information
indcoder authored Oct 17, 2020
2 parents b5b8186 + 84ebbb9 commit 150a15c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .eleventy.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,8 @@ module.exports = function (eleventyConfig) {
return array.slice(0, n);
});

eleventyConfig.addCollection("tagList", require("./_11ty/getTagList"));

eleventyConfig.addPassthroughCopy("img");
eleventyConfig.addPassthroughCopy("css");
// We need to copy cached.js only if GA is used
Expand Down
3 changes: 1 addition & 2 deletions tags.njk
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@ pagination:
layout: layouts/home.njk
eleventyComputed:
title: Tagged “{{ tag }}
permalink: /tags/{{ tag }}/
permalink: /tags/{{ tag | slug }}/
---
<h1>Tagged “{{ tag }}”</h1>

{% set postslist = collections[ tag ] %}
{% include "postslist.njk" %}
Expand Down

0 comments on commit 150a15c

Please sign in to comment.