Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/themefisher/parsa-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSomrat <themefisher.dev@gmail.com>2022-02-07 12:40:12 +0300
committerSomrat <themefisher.dev@gmail.com>2022-02-07 12:40:12 +0300
commit22c9d352c27e1d035239d8f11a3e42799b8ae641 (patch)
treede61fed68bf5687af9d5c9dbf526a1900f28488b
parentf4e7d8b0830c08f114c259399c3c385e0d7b2fc4 (diff)
modified urls
-rw-r--r--exampleSite/.hugo_build.lock0
-rw-r--r--exampleSite/config.toml24
-rw-r--r--layouts/partials/sidebar.html4
3 files changed, 14 insertions, 14 deletions
diff --git a/exampleSite/.hugo_build.lock b/exampleSite/.hugo_build.lock
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/exampleSite/.hugo_build.lock
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 5271fa1..0ff6adf 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -1,5 +1,5 @@
# default config
-baseurl = "https://examplesite.org"
+baseurl = "https://demo.gethugothemes.com/parsa/examplesite/"
languageCode = "en-us"
title = "Parsa Hugo | Personal Blog Template"
theme = "parsa-hugo"
@@ -13,7 +13,7 @@ googleAnalytics = "" # example : UA-123-45
home = ["HTML", "RSS", "JSON"]
[markup.goldmark.renderer]
-unsafe= true
+unsafe = true
# CSS Plugins
[[params.plugins.css]]
@@ -54,24 +54,24 @@ url = ""
weight = 1
hasChildren = true
- [[menu.main]]
- parent = "Homepage"
- name = "Homepage 1"
- url = "homepage/home-1"
+[[menu.main]]
+parent = "Homepage"
+name = "Homepage 1"
+url = "homepage/home-1/"
- [[menu.main]]
- parent = "Homepage"
- name = "Homepage 2"
- url = "homepage/home-2"
+[[menu.main]]
+parent = "Homepage"
+name = "Homepage 2"
+url = "homepage/home-2/"
[[menu.main]]
name = "About"
-url = "about"
+url = "about/"
weight = 2
[[menu.main]]
name = "Contact"
-url = "contact"
+url = "contact/"
weight = 3
# deult parameter
diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html
index 0ff8150..6d6a71f 100644
--- a/layouts/partials/sidebar.html
+++ b/layouts/partials/sidebar.html
@@ -28,7 +28,7 @@
{{- if not (eq (len site.Taxonomies.tags) 0) }}
<ul class="list-inline tag-list">
{{- range $name, $items := site.Taxonomies.tags }}
- <li class="list-inline-item m-1"><a href="{{ "tags/" | relLangURL }}{{ $name | urlize | lower }}">{{ $name | humanize }}</a></li>
+ <li class="list-inline-item m-1"><a href="{{ "tags/" | relLangURL }}{{ $name | urlize | lower }}/">{{ $name | humanize }}</a></li>
{{- end }}
</ul>
{{- end }}
@@ -40,7 +40,7 @@
{{- if not (eq (len site.Taxonomies.categories) 0) }}
<ul class="list-inline tag-list">
{{- range $name, $items := site.Taxonomies.categories }}
- <li class="list-inline-item m-1"><a href="{{ "categories/" | relLangURL }}{{ $name | urlize | lower }}">{{ $name | title | humanize }}</a></li>
+ <li class="list-inline-item m-1"><a href="{{ "categories/" | relLangURL }}{{ $name | urlize | lower }}/">{{ $name | title | humanize }}</a></li>
{{- end }}
</ul>
{{- end }}