From 905ed5f7eb85d6a332194e9a76439db724159580 Mon Sep 17 00:00:00 2001 From: Zachary Betz Date: Tue, 26 Feb 2019 21:15:14 -0600 Subject: Add badge to tags list. Fix post type --- exampleSite/content/post/goisforlovers.md | 1 - exampleSite/content/post/migrate-from-jekyll.md | 1 - layouts/_default/terms.html | 5 ++--- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/exampleSite/content/post/goisforlovers.md b/exampleSite/content/post/goisforlovers.md index ffb79aa..adefebe 100644 --- a/exampleSite/content/post/goisforlovers.md +++ b/exampleSite/content/post/goisforlovers.md @@ -1,7 +1,6 @@ +++ title = "(Hu)go Template Primer" description = "" -type = "posts" tags = [ "go", "golang", diff --git a/exampleSite/content/post/migrate-from-jekyll.md b/exampleSite/content/post/migrate-from-jekyll.md index bb302d5..7c1b1f0 100644 --- a/exampleSite/content/post/migrate-from-jekyll.md +++ b/exampleSite/content/post/migrate-from-jekyll.md @@ -3,7 +3,6 @@ author: "Hugo Authors" date: 2014-03-10 linktitle: Migrating from Jekyll title: Migrate to Hugo from Jekyll -type: posts weight: 10 series: - Hugo 101 diff --git a/layouts/_default/terms.html b/layouts/_default/terms.html index e92be4a..350f62e 100644 --- a/layouts/_default/terms.html +++ b/layouts/_default/terms.html @@ -7,9 +7,8 @@ {{ $count := .Count }} {{ with $.Site.GetPage (printf "/%s/%s" $type $name) }}

- - {{ printf "(%d) %s" $count $name }} - + {{ $count }} + {{ $name }}

{{ end }} {{ end }} -- cgit v1.2.3