From 9c6428aafcdc6169ecced305a1d6cf727d4931ef Mon Sep 17 00:00:00 2001 From: samsapti Date: Mon, 23 May 2022 18:04:31 +0200 Subject: [PATCH] Add noopener and noreferrer --- config.toml | 129 +++++++++++----------- content/about.da.md | 6 + content/about.md | 7 +- content/contact.da.md | 6 + content/contact.md | 4 +- content/kontakt.md | 6 - content/om.md | 6 - content/posts.md | 3 +- layouts/_default/_markup/render-link.html | 1 + 9 files changed, 81 insertions(+), 87 deletions(-) create mode 100644 content/about.da.md create mode 100644 content/contact.da.md delete mode 100644 content/kontakt.md delete mode 100644 content/om.md create mode 100644 layouts/_default/_markup/render-link.html diff --git a/config.toml b/config.toml index cc61860..8f48640 100644 --- a/config.toml +++ b/config.toml @@ -9,91 +9,88 @@ pygmentsCodeFences = true pygmentsCodeFencesGuessSyntax = true enableEmoji = true -[blackfriday] -noreferrerLinks = true - [taxonomies] -category = "categories" -series = "series" -tag = "tags" -author = "authors" + category = "categories" + series = "series" + tag = "tags" + author = "authors" [params] -author = "Sam Al-Sapti" -license = 'CC BY-NC-SA 4.0' -description = "Sam Al-Sapti's personal website" -keywords = "blog,developer,personal" -info = ["BSc Student", "Software Developer"] -avatarURL = "/images/avatar.png" -dateFormat = "January 2, 2006" -since = 2022 -colorScheme = "auto" -hideColorSchemeToggle = false -maxSeeAlsoItems = 5 + author = "Sam Al-Sapti" + license = 'CC BY-NC-SA 4.0' + description = "Sam Al-Sapti's personal website" + keywords = "blog,developer,personal" + info = ["BSc Student", "Software Developer"] + avatarURL = "/images/avatar.png" + dateFormat = "January 2, 2006" + since = 2022 + colorScheme = "auto" + hideColorSchemeToggle = false + maxSeeAlsoItems = 5 [[params.social]] -name = "Mastodon" -icon = "fa fa-2x fa-mastodon" -weight = 1 -url = "https://social.data.coop/@samsapti" - + name = "Mastodon" + icon = "fa fa-2x fa-mastodon" + weight = 1 + url = "https://social.data.coop/@samsapti" + target = "_blank" + rel = "noopener noreferrer me" [[params.social]] -name = "GitHub" -icon = "fa fa-2x fa-github" -weight = 2 -url = "https://github.com/samsapti" - + name = "GitHub" + icon = "fa fa-2x fa-github" + weight = 2 + url = "https://github.com/samsapti" + target = "_blank" + rel = "noopener noreferrer me" [[params.social]] -name = "Gitea" -icon = "fa fa-2x fa-git-square" -weight = 3 -url = "https://git.data.coop/samsapti" - + name = "Gitea" + icon = "fa fa-2x fa-git-square" + weight = 3 + url = "https://git.data.coop/samsapti" + target = "_blank" + rel = "noopener noreferrer me" [[params.social]] -name = "RSS" -icon = "fa fa-2x fa-rss" -weight = 4 -url = "/index.xml" -rel = "alternate" -type = "application/rss+xml" + name = "RSS" + icon = "fa fa-2x fa-rss" + weight = 4 + url = "/index.xml" + target = "_blank" + rel = "alternate" + type = "application/rss+xml" [languages.en] -languageName = ":uk:" + languageName = ":uk:" [[languages.en.menu.main]] -name = "About" -weight = 1 -url = "about/" - + name = "About" + weight = 1 + url = "about/" [[languages.en.menu.main]] -name = "Blog" -weight = 2 -url = "posts/" - + name = "Blog" + weight = 2 + url = "posts/" [[languages.en.menu.main]] -name = "Contact" -weight = 3 -url = "contact/" + name = "Contact" + weight = 3 + url = "contact/" [languages.da] -languageName = ":denmark:" + languageName = ":denmark:" [languages.da.params] -info = ["BSc Studerende", "Softwareudvikler"] -description = "Sam Al-Saptis personlige hjemmeside" -keywords = "blog,udvikler,personlig" + info = ["BSc Studerende", "Softwareudvikler"] + description = "Sam Al-Saptis personlige hjemmeside" + keywords = "blog,udvikler,personlig" [[languages.da.menu.main]] -name = "Om" -weight = 1 -url = "om/" - + name = "Om" + weight = 1 + url = "about/" [[languages.da.menu.main]] -name = "Blog" -weight = 2 -url = "posts/" - + name = "Blog" + weight = 2 + url = "posts/" [[languages.da.menu.main]] -name = "Kontakt" -weight = 3 -url = "kontakt/" \ No newline at end of file + name = "Kontakt" + weight = 3 + url = "contact/" \ No newline at end of file diff --git a/content/about.da.md b/content/about.da.md new file mode 100644 index 0000000..b148bc8 --- /dev/null +++ b/content/about.da.md @@ -0,0 +1,6 @@ +--- +title: "Om mig" +date: 2022-05-23T17:12:33+02:00 +draft: true +--- + diff --git a/content/about.md b/content/about.md index eda847a..dd1baf0 100644 --- a/content/about.md +++ b/content/about.md @@ -1,8 +1,5 @@ --- -title: "About" -date: 2022-05-20T20:43:02+02:00 +title: "About me" +date: 2022-05-23T17:12:30+02:00 draft: true --- - -hello - diff --git a/content/contact.da.md b/content/contact.da.md new file mode 100644 index 0000000..fe072e2 --- /dev/null +++ b/content/contact.da.md @@ -0,0 +1,6 @@ +--- +title: "Kontaktinformation" +date: 2022-05-23T17:12:39+02:00 +draft: true +--- + diff --git a/content/contact.md b/content/contact.md index 66d4d71..64af2e1 100644 --- a/content/contact.md +++ b/content/contact.md @@ -1,6 +1,6 @@ --- -title: "Contact" -date: 2022-05-23T16:13:02+02:00 +title: "Contact information" +date: 2022-05-23T17:12:37+02:00 draft: true --- diff --git a/content/kontakt.md b/content/kontakt.md deleted file mode 100644 index 3114c0e..0000000 --- a/content/kontakt.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -title: "Kontakt" -date: 2022-05-23T16:13:07+02:00 -draft: true ---- - diff --git a/content/om.md b/content/om.md deleted file mode 100644 index a83d0d5..0000000 --- a/content/om.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -title: "Om" -date: 2022-05-23T16:12:55+02:00 -draft: true ---- - diff --git a/content/posts.md b/content/posts.md index 2c5bd57..8779daf 100644 --- a/content/posts.md +++ b/content/posts.md @@ -1,7 +1,6 @@ --- title: "Posts" -date: 2022-05-23T16:13:37+02:00 +date: 2022-05-23T17:12:43+02:00 draft: true --- -This page is empty. \ No newline at end of file diff --git a/layouts/_default/_markup/render-link.html b/layouts/_default/_markup/render-link.html new file mode 100644 index 0000000..677cfa5 --- /dev/null +++ b/layouts/_default/_markup/render-link.html @@ -0,0 +1 @@ +{{ .Text }} \ No newline at end of file