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

github.com/themefisher/northendlab-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-08 08:49:03 +0300
committerSomrat <themefisher.dev@gmail.com>2022-02-08 08:49:03 +0300
commit5ab563dda202fdf6d439f6cb1afcead13cadb981 (patch)
tree5ac14531eceb876d46d66719c8d52a3df7626166
parentd3dbe87d2e7ca2234799bda9ff1dea913fe6ecca (diff)
update urls
-rw-r--r--exampleSite/.hugo_build.lock0
-rw-r--r--exampleSite/config.toml12
-rw-r--r--exampleSite/content/.DS_Storebin6148 -> 8196 bytes
-rw-r--r--layouts/_default/article.html6
-rw-r--r--layouts/_default/single.html6
5 files changed, 12 insertions, 12 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 4715028..05edb90 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -1,5 +1,5 @@
############################ Default configuration #########################
-baseURL = "https://demo.gethugothemes.com/northendlab-light/"
+baseURL = "https://demo.gethugothemes.com/northendlab-light/examplesite/"
languageCode = "en-us"
# site title
title = "Northendlab | Blog Template"
@@ -40,12 +40,12 @@ link = "plugins/search/search.js"
# main menu
[[menu.main]]
-URL = "contact"
+URL = "contact/"
name = "Contact"
weight = 1
[[menu.main]]
-URL = "tools"
+URL = "tools/"
name = "tools"
weight = 2
@@ -56,12 +56,12 @@ weight = 2
# footer menu
[[menu.footer]]
-URL = "contact"
+URL = "contact/"
name = "Contact"
weight = 1
[[menu.footer]]
-URL = "tools"
+URL = "tools/"
name = "tools"
weight = 2
@@ -127,4 +127,4 @@ icon = "ti-github" # themify icon pack https://themify.me/themify-icons
link = "#"
[[params.social]]
icon = "ti-linkedin" # themify icon pack https://themify.me/themify-icons
-link = "#" \ No newline at end of file
+link = "#"
diff --git a/exampleSite/content/.DS_Store b/exampleSite/content/.DS_Store
index 7c6b304..32ea1cc 100644
--- a/exampleSite/content/.DS_Store
+++ b/exampleSite/content/.DS_Store
Binary files differ
diff --git a/layouts/_default/article.html b/layouts/_default/article.html
index 006a605..ebfc7e7 100644
--- a/layouts/_default/article.html
+++ b/layouts/_default/article.html
@@ -1,14 +1,14 @@
<article class="mb-5">
<h2 class="h4"><a class="post-title" href="{{ .Permalink }}">{{ .Title | markdownify }}</a></h2>
<div class="mb-3 post-meta">
- <a href="{{ `author/` | relLangURL }}{{ .Params.Author | urlize | lower }}">{{ .Params.Author | title }}</a>,
+ <a href="{{ `author/` | relLangURL }}{{ .Params.Author | urlize | lower }}/">{{ .Params.Author | title }}</a>,
{{ .PublishDate.Format "Jan 2, 2006" }}, {{ range .Params.Categories }}
- <a href="{{ `categories/` | relLangURL }}{{ . | urlize | lower }}">{{ . | title }}</a>
+ <a href="{{ `categories/` | relLangURL }}{{ . | urlize | lower }}/">{{ . | title }}</a>
{{ end }}
</div>
<p>{{.Summary}}</p>
<div class="mb-3 post-meta">
- {{range .Params.Tags }} <a href="{{ `tags/` | relLangURL}}{{ . | urlize | lower }}">#{{ . | title }}</a>, {{ end }}
+ {{range .Params.Tags }} <a href="{{ `tags/` | relLangURL}}{{ . | urlize | lower }}/">#{{ . | title }}</a>, {{ end }}
</div>
<a href="{{ .Permalink }}" class="btn btn-sm btn-transparent pl-0">read more</a>
<div style="border: 1px #eee solid; margin:30px 0"></div>
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 59db810..01c8e2f 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -6,9 +6,9 @@
<div class="col-lg-8 mx-auto block shadow mb-5">
<h2>{{ .Title | markdownify }}</h2>
<div class="mb-3 post-meta">
- <a href="{{ `author/` | relLangURL }}{{ .Params.Author | urlize | lower }}">{{ .Params.Author | title }}</a>,
+ <a href="{{ `author/` | relLangURL }}{{ .Params.Author | urlize | lower }}/">{{ .Params.Author | title }}</a>,
{{ .PublishDate.Format "Jan 2, 2006" }}, {{ range .Params.Categories }}
- <a href="{{ `categories/` | relLangURL }}{{ . | urlize | lower }}">{{ . | title }}</a>
+ <a href="{{ `categories/` | relLangURL }}{{ . | urlize | lower }}/">{{ . | title }}</a>
{{ end }}
</div>
{{ if .Params.Image }}
@@ -18,7 +18,7 @@
{{ .Content }}
</div>
<div class="mb-3 post-meta">
- {{range .Params.Tags }} <a href="{{ `tags/` | relLangURL}}{{ . | urlize | lower }}">#{{ . | title }}</a>, {{ end }}
+ {{range .Params.Tags }} <a href="{{ `tags/` | relLangURL}}{{ . | urlize | lower }}/">#{{ . | title }}</a>, {{ end }}
</div>
</div>
<div class="col-lg-8 mx-auto block shadow">