diff options
-rw-r--r-- | archetypes/default.md | 1 | ||||
-rw-r--r-- | content/_index.md | 1 | ||||
-rw-r--r-- | content/blog/_index.md | 1 | ||||
-rw-r--r-- | content/blog/dns-over-tls.md | 2 | ||||
-rw-r--r-- | content/blog/git-server.md | 2 | ||||
-rw-r--r-- | content/blog/hello.md | 2 | ||||
-rw-r--r-- | content/contact.md | 1 | ||||
-rw-r--r-- | layouts/_default/baseof.html | 10 |
8 files changed, 11 insertions, 9 deletions
diff --git a/archetypes/default.md b/archetypes/default.md index 3914273..bed9f4e 100644 --- a/archetypes/default.md +++ b/archetypes/default.md @@ -1,7 +1,6 @@ --- title: "{{ replace .Name "-" " " | title }}" description: "" -keywords: "" date: {{ .Date }} lastmod: {{ .Date }} draft: true diff --git a/content/_index.md b/content/_index.md index 70953f8..a4abe72 100644 --- a/content/_index.md +++ b/content/_index.md @@ -1,5 +1,6 @@ --- title: "Mateja Maric's Homepage" +description: "I am Mateja Maric and this is my personal web site. I am a student from Belgrade, Serbia. I am primarily interested in Unix-like operating systems and free(as in freedom) software." draft: false --- diff --git a/content/blog/_index.md b/content/blog/_index.md index 37a30aa..ab569cf 100644 --- a/content/blog/_index.md +++ b/content/blog/_index.md @@ -1,5 +1,6 @@ --- title: "Mateja Maric's Blog" +description: "This is my personal blog where I occasionally post technology related stuff." draft: false --- diff --git a/content/blog/dns-over-tls.md b/content/blog/dns-over-tls.md index 5a52b62..2c7a8a7 100644 --- a/content/blog/dns-over-tls.md +++ b/content/blog/dns-over-tls.md @@ -1,6 +1,8 @@ --- title: "DNS over TLS on Arch Linux" date: 2020-08-20 +lastmod: 2020-08-20 +description: "In this guide I will show you how to set up DNS over TLS on Arch Linux using systemd-resolved." slug: "dns-over-tls" draft: false --- diff --git a/content/blog/git-server.md b/content/blog/git-server.md index fc6ebef..ad920f7 100644 --- a/content/blog/git-server.md +++ b/content/blog/git-server.md @@ -1,6 +1,8 @@ --- title: "Set up your own Smart HTTP Git Server with Gitolite, Cgit and Apache" date: 2020-08-10 +lastmod: 2020-08-10 +description: "This guide is for people want to setup their own git server but don’t want something as big as GitLab or Gitea, and don’t want something overly simple like bare git repository over SSH." slug: "git-server" draft: false --- diff --git a/content/blog/hello.md b/content/blog/hello.md index 2adca90..ce4e7fc 100644 --- a/content/blog/hello.md +++ b/content/blog/hello.md @@ -1,6 +1,8 @@ --- title: "Hello World!" date: 2019-09-10 +lastmod: 2019-09-10 +description: "My site is online and this post is used to mark the event!" draft: false --- diff --git a/content/contact.md b/content/contact.md index b427abb..6156eff 100644 --- a/content/contact.md +++ b/content/contact.md @@ -1,5 +1,6 @@ --- title: "Mateja Maric's Contact Page" +description: "Here you can find my contact information such as email and GPG key if you want to use it." draft: false --- diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index b21c8df..4a0c152 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -9,17 +9,11 @@ {{ if .Description }} <meta name="description" content="{{ .Description }}"> {{ end }} - - {{ if .Keywords }} - <meta name="keywords" content="{{ .Keywords }}"> - {{ end }} - {{ if .PublishDate }} - <meta property="article:published_time" content="{{ .Date }}" /> + <meta property="article:published_time" content="{{ .Date.Format `2006-01-02T15:04:05Z0700` }}" /> {{ end }} - {{ if .Lastmod }} - <meta property="article:modified_time" content="{{ .Lastmod }}" /> + <meta property="article:modified_time" content="{{ .Lastmod.Format `2006-01-02T15:04:05Z0700` }}" /> {{ end }} <link rel="canonical" href="{{ .Permalink }}" /> |