From b1c0aabbbe698a898c748b7363816f686a7fd994 Mon Sep 17 00:00:00 2001 From: mogimogitomato Date: Sun, 15 Dec 2019 00:57:27 +0900 Subject: merge config of readme and example site --- README.md | 3 +++ exampleSite/config.toml | 38 ++++++++++++++++++-------------------- 2 files changed, 21 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 6e4d55e..f9a1432 100644 --- a/README.md +++ b/README.md @@ -83,6 +83,9 @@ platforms = ["github","facebook","twitter","instagram","email","codepen","linked siteID = 1 rootURL = "//matomo.example.com/" +[params.fathomAnalytics] +rootURL = "//fathom.example.com/" + [taxonomies] tag ="tags" diff --git a/exampleSite/config.toml b/exampleSite/config.toml index cf5546e..fd66661 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -1,32 +1,32 @@ -baseurl = "https://www.example.com" +baseurl = "https://example.com" languageCode = "en" title = "Hugo Kiss theme" theme = "kiss" copyright = "© Emir Ribic 2017" disqusShortname = "shortname" googleAnalytics = "" -# Number of posts per page -Paginate = 5 +Paginate = 5 # Number of posts per page enableRobotsTXT = true -[params.features] -disqusOnDemand = true # Load Disqus comments on click +[params.rss] # Adding this tag enables RSS feed +includeContent = true # Includes whole content in rss +authorName = "Emir Ribic" # Author full name +authorEmail = "ribice@gmail.com" # Author email [params.assets] customCSS = ["css/custom.css"] -[params.rss] - -includeContent = true # Includes whole content in rss -authorName = "Emir Ribic" # Site author's full name -authorEmail = "ribice@gmail.com" - [params.info] adsense = "" # Adsense ID (ID only, without ca-pub-) -enableSocial = false # Adds OpenGraph and Twitter cards +enableSocial = true # Adds OpenGraph and Twitter cards homeTitle = "" # Title for home page -poweredby = true # Adds powered by Hugo and Kiss below Copyright section -related = true # Includes related articles +poweredby = true # Adds powered by hugo and kiss below Copyright +related = true # Includes related articles at the bottom of the article +codeCopy = true # Add copy button above code blocks + +[params.features] +disqusOnDemand = true # Load Disqus comments on click + [params.opengraph.facebook] admins = [] # array of Facebook IDs @@ -37,18 +37,17 @@ pageID = "" page = "" # Twitter Page username. If not set, params.social.twitter will be used. [params.social] - twitter = "ribicemir" github = "ribice" email = "ribice@gmail.com" linkedin = "ribice" -gitlab = "ribice" +facebook = "ribice" instagram = "" codepen = "" -facebook = "" +rss = "index.xml" # Add this to show RSS button in social. [params.social.config] -platforms = ["twitter","github","email","email","linkedin","gitlab"] +platforms = ["github","facebook","twitter","instagram","email","codepen","linkedin"] [params.matomoAnalytics] siteID = 1 @@ -61,5 +60,4 @@ rootURL = "//fathom.example.com/" tag ="tags" [blackfriday] -hrefTargetBlank = true - +hrefTargetBlank = true \ No newline at end of file -- cgit v1.2.3 From 4c39ab72103867669720284af36c7dec9b30bf42 Mon Sep 17 00:00:00 2001 From: Shubham Chadokar Date: Sat, 11 Jan 2020 12:27:28 +0530 Subject: Update config.toml the email was displaying twice. --- exampleSite/config.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index cf5546e..128761f 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -48,7 +48,7 @@ codepen = "" facebook = "" [params.social.config] -platforms = ["twitter","github","email","email","linkedin","gitlab"] +platforms = ["twitter","github","email","linkedin","gitlab"] [params.matomoAnalytics] siteID = 1 -- cgit v1.2.3 From d24014ec4e500d10b22115734ee45fb63988642f Mon Sep 17 00:00:00 2001 From: mogimogitomato Date: Tue, 4 Feb 2020 14:54:26 +0900 Subject: Fix #90 add pagination in tag page --- layouts/taxonomy/tag.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/layouts/taxonomy/tag.html b/layouts/taxonomy/tag.html index 8168cd4..ad006df 100644 --- a/layouts/taxonomy/tag.html +++ b/layouts/taxonomy/tag.html @@ -2,7 +2,8 @@ {{ partial "nav" . }}
- {{ range .Data.Pages }} + {{ $paginator := .Paginate (where .Data.Pages "Params.hidden" "ne" true) }} + {{ range sort .Paginator.Pages }}
{{ if .Params.tags }} -- cgit v1.2.3