aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2024-03-10 15:55:35 +0100
committerMitja Felicijan <mitja.felicijan@gmail.com>2024-03-10 15:55:35 +0100
commit62742123354303edf2603c4525cbd3c554ec92c7 (patch)
treeb77ac122dca3f57c11cadb51a9dc8640d55a93c7 /templates
parent2bc2f0b2791645b4c2f4355dcaffa2baef3e1f93 (diff)
downloadmitjafelicijan.com-62742123354303edf2603c4525cbd3c554ec92c7.tar.gz
Added new post
Diffstat (limited to 'templates')
-rwxr-xr-xtemplates/base.html9
-rwxr-xr-xtemplates/feed.xml4
-rw-r--r--templates/sitemap.xml2
3 files changed, 12 insertions, 3 deletions
diff --git a/templates/base.html b/templates/base.html
index 7b34a8c..45eb939 100755
--- a/templates/base.html
+++ b/templates/base.html
@@ -58,6 +58,15 @@
58 cap { text-transform: capitalize; } 58 cap { text-transform: capitalize; }
59 ul li { padding: 0.2em 0; } 59 ul li { padding: 0.2em 0; }
60 60
61 a {
62 color: var(--link-color);
63 text-decoration: none;
64 }
65
66 a:hover {
67 text-decoration: underline;
68 }
69
61 pre { 70 pre {
62 text-wrap: nowrap; 71 text-wrap: nowrap;
63 overflow-x: auto; 72 overflow-x: auto;
diff --git a/templates/feed.xml b/templates/feed.xml
index 97507e2..97106d9 100755
--- a/templates/feed.xml
+++ b/templates/feed.xml
@@ -10,9 +10,9 @@
10 {{ if not .Draft }} 10 {{ if not .Draft }}
11 <item> 11 <item>
12 <title>{{ $page.Title }}</title> 12 <title>{{ $page.Title }}</title>
13 <link>{{ $.Config.BaseURL }}{{ $page.RelPermalink }}</link> 13 <link>{{ $.Config.BaseURL }}/{{ $page.RelPermalink }}</link>
14 <pubDate>{{ $page.Created.Format "Mon, 02 Jan 2006 15:04:05 -0700" }}</pubDate> 14 <pubDate>{{ $page.Created.Format "Mon, 02 Jan 2006 15:04:05 -0700" }}</pubDate>
15 <guid>{{ $.Config.BaseURL }}{{ $page.RelPermalink }}</guid> 15 <guid>{{ $.Config.BaseURL }}/{{ $page.RelPermalink }}</guid>
16 <description>{{ $page.Summary }}</description> 16 <description>{{ $page.Summary }}</description>
17 <content:encoded>{{ $page.Raw }}</content:encoded> 17 <content:encoded>{{ $page.Raw }}</content:encoded>
18 </item> 18 </item>
diff --git a/templates/sitemap.xml b/templates/sitemap.xml
index 4d2617c..e11846d 100644
--- a/templates/sitemap.xml
+++ b/templates/sitemap.xml
@@ -3,7 +3,7 @@
3 {{ if or (eq $page.Type "post") (eq $page.Type "note") }} 3 {{ if or (eq $page.Type "post") (eq $page.Type "note") }}
4 {{ if not .Draft }} 4 {{ if not .Draft }}
5 <url> 5 <url>
6 <loc>{{ $.Config.BaseURL }}{{ $page.RelPermalink }}</loc> 6 <loc>{{ $.Config.BaseURL }}/{{ $page.RelPermalink }}</loc>
7 <lastmod>{{ $page.Created.Format "2006-01-02T15:04:05" }}+00:00</lastmod> 7 <lastmod>{{ $page.Created.Format "2006-01-02T15:04:05" }}+00:00</lastmod>
8 </url> 8 </url>
9 {{ end }} 9 {{ end }}