From 29e8aa1632f494224bef718b013f48dedc103e37 Mon Sep 17 00:00:00 2001 From: kimcc <15278020+kimcc@users.noreply.github.com> Date: Sun, 9 Feb 2020 21:38:15 -0600 Subject: [PATCH] changed tags templates, tags logic, and config links --- exampleSite/config.toml | 48 ++++++++++--------- exampleSite/content/tags.md | 5 -- layouts/_default/single.html | 11 ++--- layouts/_default/{tag.html => taxonomy.html} | 0 .../tags.html => _default/terms.html} | 7 +-- layouts/index.html | 11 ++--- 6 files changed, 37 insertions(+), 45 deletions(-) delete mode 100644 exampleSite/content/tags.md rename layouts/_default/{tag.html => taxonomy.html} (100%) rename layouts/{section/tags.html => _default/terms.html} (75%) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 8323795..ad60c83 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -5,7 +5,9 @@ theme = "noteworthy" enableRobotsTXT = true paginate = 4 # Set the number of posts to show before overflowing to the next page. summaryLength = 10 # Configure how long the post summary should be on the homepage. -disableKinds = ["taxonomyTerm"] + +[taxonomies] + tag = "tags" [author] name = "kimcc" @@ -17,34 +19,34 @@ disableKinds = ["taxonomyTerm"] # Add links to your accounts. Remove the ones you don't want to include. # Main - email = "" - facebook = "" - twitter = "" - instagram = "" - tumblr = "" - reddit = "" - pinterest = "" - youtube = "" - weibo = "" - vk = "" - linkedin = "" + email = "#" + facebook = "#" + twitter = "#" + instagram = "#" + tumblr = "#" + reddit = "#" + pinterest = "#" + youtube = "#" + weibo = "#" + vk = "#" + linkedin = "#" # Writing - medium = "" - blogger = "" - wordpress = "" + medium = "#" + blogger = "#" + wordpress = "#" # Creative & Visual - dribbble = "" - behance = "" - deviantart = "" - flickr = "" + dribbble = "#" + behance = "#" + deviantart = "#" + flickr = "#" # Programming - github = "" - stackoverflow = "" - gitlab = "" - codepen = "" + github = "#" + stackoverflow = "#" + gitlab = "#" + codepen = "#" # Add your Disqus shortname here. disqusShortname = "" diff --git a/exampleSite/content/tags.md b/exampleSite/content/tags.md deleted file mode 100644 index 442558d..0000000 --- a/exampleSite/content/tags.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -type: section -date: 2019-05-28 -layout: "tags" ---- \ No newline at end of file diff --git a/layouts/_default/single.html b/layouts/_default/single.html index c452e5e..66d0c62 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -9,15 +9,12 @@ {{ template "_internal/disqus.html" . }}
{{end}} \ No newline at end of file diff --git a/layouts/_default/tag.html b/layouts/_default/taxonomy.html similarity index 100% rename from layouts/_default/tag.html rename to layouts/_default/taxonomy.html diff --git a/layouts/section/tags.html b/layouts/_default/terms.html similarity index 75% rename from layouts/section/tags.html rename to layouts/_default/terms.html index 0ff3382..f84eb2c 100644 --- a/layouts/section/tags.html +++ b/layouts/_default/terms.html @@ -2,9 +2,10 @@