From ceeb55cb9017eaa5fdefafc438eb97a1d71064e4 Mon Sep 17 00:00:00 2001 From: Ariejan de Vroom Date: Mon, 9 Mar 2020 11:40:44 +0100 Subject: [PATCH 1/4] devroom-2020 design --- config.toml | 96 +++++-------- content/contact.md | 24 ++-- ...2007-04-03-tipsnippet-create-a-rss-feed.md | 4 +- themes/devroom-2020/LICENSE | 20 +++ themes/devroom-2020/archetypes/default.md | 7 + themes/devroom-2020/assets/scss/devroom.scss | 130 ++++++++++++++++++ themes/devroom-2020/layouts/404.html | 0 .../devroom-2020/layouts/_default/baseof.html | 37 +++++ .../devroom-2020/layouts/_default/list.html | 11 ++ .../devroom-2020/layouts/_default/single.html | 6 + themes/devroom-2020/layouts/index.html | 3 + .../devroom-2020/layouts/partials/footer.html | 21 +++ .../devroom-2020/layouts/partials/header.html | 10 ++ .../devroom-2020/layouts/partials/home.html | 33 +++++ .../devroom-2020/layouts/partials/list.html | 19 +++ .../devroom-2020/layouts/partials/page.html | 4 + .../devroom-2020/layouts/partials/post.html | 16 +++ .../layouts/partials/taxonomy/tags.html | 6 + themes/devroom-2020/layouts/posts/single.html | 6 + .../devroom-2020/layouts/projects/single.html | 6 + themes/devroom-2020/theme.toml | 15 ++ themes/hugo-coder | 1 - 22 files changed, 396 insertions(+), 79 deletions(-) create mode 100644 themes/devroom-2020/LICENSE create mode 100644 themes/devroom-2020/archetypes/default.md create mode 100644 themes/devroom-2020/assets/scss/devroom.scss create mode 100644 themes/devroom-2020/layouts/404.html create mode 100644 themes/devroom-2020/layouts/_default/baseof.html create mode 100644 themes/devroom-2020/layouts/_default/list.html create mode 100644 themes/devroom-2020/layouts/_default/single.html create mode 100644 themes/devroom-2020/layouts/index.html create mode 100644 themes/devroom-2020/layouts/partials/footer.html create mode 100644 themes/devroom-2020/layouts/partials/header.html create mode 100644 themes/devroom-2020/layouts/partials/home.html create mode 100644 themes/devroom-2020/layouts/partials/list.html create mode 100644 themes/devroom-2020/layouts/partials/page.html create mode 100644 themes/devroom-2020/layouts/partials/post.html create mode 100644 themes/devroom-2020/layouts/partials/taxonomy/tags.html create mode 100644 themes/devroom-2020/layouts/posts/single.html create mode 100644 themes/devroom-2020/layouts/projects/single.html create mode 100644 themes/devroom-2020/theme.toml delete mode 160000 themes/hugo-coder diff --git a/config.toml b/config.toml index b9601d6..af3b290 100644 --- a/config.toml +++ b/config.toml @@ -1,15 +1,16 @@ baseurl = "https://www.devroom.io" -title = "Ariejan de Vroom" -theme = "hugo-coder" +title = "devroom.io" +theme = "devroom-2020" languagecode = "en" defaultcontentlanguage = "en" -copyright = "© 1999-2020 Ariejan de Vroom. All rights reserved." +copyright = "Copyright © 1999-2020 Ariejan de Vroom <ariejan@devroom.io>" -paginate = 999 +paginate = 9999 canonifyurls = true -pygmentsstyle = "solarized-dark256" +# pygmentsstyle = "solarized-dark256" +pygmentsstyle = "monokai" pygmentscodefences = true pygmentscodefencesguesssyntax = true @@ -26,91 +27,56 @@ disqusShortname = "" [params] author = "Ariejan de Vroom" - info = "Nerd." + info = "Software Engineer, among a truckload of other things" description = "Ariejan de Vroom's personal website on software engineering and electronics tinkering" keywords = "blog,developer,personal,electronics" - avatarurl = "images/avatar.jpg" - favicon_32 = "/favicon-32x32.png" - favicon_16 = "/favicon-16x16.png" + footerquote = "Live now; make now always the most precious time. Now will never come again.
    – Jean-Luc Picard" + matomoTrackingUrl = "https://matomo.devroom.io/matomo.php?idsite=2&rec=1" - footercontent = "Live now; make now always the most precious time. Now will never come again.
– Jean-Luc Picard

Copyright © 1999 - 2020 Ariejan de Vroom.
All rights reserved.

" + mainSections = ["posts", "projects"] - hidecredits = true - hidecopyright = true - - colorscheme = "auto" - - rtl = false - - math = true - custom_css = ["css/custom.css"] - custom_js = ["css/custom.js"] - -# Social links -[[params.social]] - name = "Gitea" - icon = "fab fa-git-square fa-2x" +[[params.skill]] + content = "Writing rock-solid backend stuff in whatever's hip today" weight = 10 - url = "https://git.devroom.io/ariejan/" -[[params.social]] - name = "Github" - icon = "fab fa-github fa-2x" +[[params.skill]] + content = "Automating things that don't really need automating" weight = 20 - url = "https://github.com/ariejan/" -[[params.social]] - name = "Twitter" - icon = "fab fa-twitter fa-2x" +[[params.skill]] + content = "Writing fiction that I'm too afraid to share with the world" weight = 30 - url = "https://twitter.com/ariejan/" -[[params.social]] - name = "LinkedIn" - icon = "fab fa-linkedin-in fa-2x" - weight = 40 - url = "https://twitter.com/ariejan/" -[[params.social]] - name = "Keybase" - icon = "fab fa-keybase fa-2x" - weight = 50 - url = "https://keybase.com/adevroom/" -[[params.social]] - name = "GPG" - icon = "fas fa-user-lock fa-2x" - weight = 50 - url = "/gpg/" -[[params.social]] - name = "Son en Breugel" - icon = "fas fa-map-marker-alt fa-2x" - weight = 90 - url = "https://www.google.com/maps/place/Son+en+Breugel/@51.5249895,3.2434364,7z" -[[params.social]] - name = "Contact" - icon = "fas fa-envelope fa-2x" - weight = 100 - url = "/contact/" + +[[params.popular]] + name = "approved by over 50k Googlers and Stack Overflowers every month!" + url = "/tags/git/" + weight = 10 +[[params.popular]] + name = "see how I fix things (even though I have no idea what I'm doing)" + url = "/tags/repair/" + weight = 5 # Menu links [[menu.main]] - name = "Home" + name = "devroom.io" weight = 1 url = "/" [[menu.main]] - name = "Blog" + name = "blog" weight = 10 url = "/posts/" [[menu.main]] - name = "Projects" + name = "projects" weight = 20 url = "/projects/" [[menu.main]] - name = "About" + name = "about" weight = 40 url = "/about/" [[menu.main]] - name = "GPG" + name = "gpg" weight = 90 url = "/gpg/" [[menu.main]] - name = "Contact" + name = "contact" weight = 100 url = "/contact/" diff --git a/content/contact.md b/content/contact.md index 64a3cca..4aa32f4 100644 --- a/content/contact.md +++ b/content/contact.md @@ -13,21 +13,23 @@ to a degree that would make either of us happy. I _can_ refer you to [/r/audiorepair](https://www.reddit.com/r/audiorepair/) on Reddit, where many helpful (and more knowledgeable) people are ready to help out. -
+
-

+

- -

-

+ +

+
- -

-

+ +

+
- -

- + +
+
+ +
diff --git a/content/posts/2007-04-03-tipsnippet-create-a-rss-feed.md b/content/posts/2007-04-03-tipsnippet-create-a-rss-feed.md index 6819744..2b3ef75 100644 --- a/content/posts/2007-04-03-tipsnippet-create-a-rss-feed.md +++ b/content/posts/2007-04-03-tipsnippet-create-a-rss-feed.md @@ -31,7 +31,7 @@ I assume you render your articles in a layout. The render method here prevents y Next we create a view. This is not the regular RHTML you're used to but RXML. This enables the XML generator which we'll use to generate the RSS feed. Create `app/views/articles/rss.rxml` -``` text +``` ruby xml.instruct! :xml, :version=>"1.0" xml.rss(:version=>"2.0"){ xml.channel{ @@ -57,7 +57,7 @@ Well, that's it. You now have a working RSS feed! If you want to enable auto discovery, you should add the following line to the header of your layout. (Auto discovery enables that little RSS icon in the address bar of your browser.) -``` erb +``` ruby <%= auto_discovery_link_tag(:rss, :controller => 'articles', :action => 'rss') %> ``` diff --git a/themes/devroom-2020/LICENSE b/themes/devroom-2020/LICENSE new file mode 100644 index 0000000..faff36e --- /dev/null +++ b/themes/devroom-2020/LICENSE @@ -0,0 +1,20 @@ +The MIT License (MIT) + +Copyright (c) 2020 YOUR_NAME_HERE + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/themes/devroom-2020/archetypes/default.md b/themes/devroom-2020/archetypes/default.md new file mode 100644 index 0000000..c17bbb0 --- /dev/null +++ b/themes/devroom-2020/archetypes/default.md @@ -0,0 +1,7 @@ ++++ +date = {{ .Date }} +title = "{{ replace .Name "-" " " | title }}" +draft = true +tags = [] +description = "" ++++ diff --git a/themes/devroom-2020/assets/scss/devroom.scss b/themes/devroom-2020/assets/scss/devroom.scss new file mode 100644 index 0000000..0ef9081 --- /dev/null +++ b/themes/devroom-2020/assets/scss/devroom.scss @@ -0,0 +1,130 @@ +@import url('https://fonts.googleapis.com/css?family=IBM+Plex+Mono:400,700&display=swap&subset=latin-ext'); + +$font_size: 1rem; + +$backdrop: #080808; +$background: #242424; +$text: #f7f7f7; +$links: #8acdea; +$footer: darken($text, 40%); +$meta: #93423E; +$header: #bde4a7; + +html, body { + background-color: $backdrop; + color: $text; + font-family: 'IBM Plex Mono', monospace; + font-size: $font_size; +} + +pre, code { + font-family: 'IBM Plex Mono', monospace; + font-size: $font_size; +} + +pre { + background-color: $background !important; + margin-left: 2rem; + overflow-x: auto; + overflow-y: hidden; +} + +pre code { + overflow-wrap: normal; + white-space: pre; +} + +.container { + background-color: $background; + padding: 1rem 1.5rem; + margin: 1rem auto; + max-width: 900px; +} + +a, a:hover { + color: $links; +} + +nav a { + font-weight: normal; +} + +h1, h2, h3, h4, h5 { + font-size: $font_size; + font-weight: normal; + color: $header; + margin: 0.67rem 0; +} + +h1 { + + padding-bottom: 0.67rem; + border-bottom: 2px dashed $header; + + &::before { + content: "# "; + } +} + +h2::before { + content: "## " +} + +h3::before { + content: "### " +} + +h4::before { + content: "#### " +} + +h5::before { + content: "##### " +} + +b, +strong { + font-weight: bold; +} + +em { + font-style: normal; + color: $background; + background-color: $text; +} + +blockquote *::before { + content: "> "; +} + +img { + max-width: 100%; +} + +ol { + list-style-position: outside; +} + +ul { + list-style-type: "* "; + list-style-position: outside; +} + +header { + margin-bottom: 1.5rem; +} + +footer { + color: $footer; + border-top: 2px dashed $footer; + margin-top: 1.5rem; + + em { + background-color: $background; + color: $text; + } +} + +.meta { + color: $meta; +} \ No newline at end of file diff --git a/themes/devroom-2020/layouts/404.html b/themes/devroom-2020/layouts/404.html new file mode 100644 index 0000000..e69de29 diff --git a/themes/devroom-2020/layouts/_default/baseof.html b/themes/devroom-2020/layouts/_default/baseof.html new file mode 100644 index 0000000..88097fe --- /dev/null +++ b/themes/devroom-2020/layouts/_default/baseof.html @@ -0,0 +1,37 @@ + + + + + + {{ with .Site.Params.author }}{{ end }} + {{ with .Site.Params.description }}{{ end }} + {{ with .Site.Params.keywords }}{{ end }} + {{ if .Permalink }} + + + {{ end }} + {{ block "title" . }}{{ .Site.Title }}{{ end }} + {{ hugo.Generator }} + + + + {{ if .Site.IsServer }} + {{ $cssOpts := (dict "targetPath" "css/devroom.css" "enableSourceMap" true ) }} + {{ $styles := resources.Get "scss/devroom.scss" | resources.ExecuteAsTemplate "style.devroom.css" . | toCSS $cssOpts }} + + {{ else }} + {{ $cssOpts := (dict "targetPath" "css/devroom.css" ) }} + {{ $styles := resources.Get "scss/devroom.scss" | resources.ExecuteAsTemplate "style.devroom.css" . | toCSS $cssOpts | minify | fingerprint }} + + {{ end }} + + +
+ {{ partial "header.html" . }} +
+ {{ block "content" . }}{{ end }} +
+ {{ partial "footer.html" . }} +
+ + diff --git a/themes/devroom-2020/layouts/_default/list.html b/themes/devroom-2020/layouts/_default/list.html new file mode 100644 index 0000000..4a9cf0b --- /dev/null +++ b/themes/devroom-2020/layouts/_default/list.html @@ -0,0 +1,11 @@ +{{ define "title" }} + {{- if eq .Kind "taxonomy" -}} + {{- i18n .Data.Singular | title -}} + {{- print "" -}} + {{- end -}} + + {{- .Title }} · {{ .Site.Title -}} +{{ end }} +{{ define "content" }} + {{ partial "list.html" . }} +{{ end }} \ No newline at end of file diff --git a/themes/devroom-2020/layouts/_default/single.html b/themes/devroom-2020/layouts/_default/single.html new file mode 100644 index 0000000..affa805 --- /dev/null +++ b/themes/devroom-2020/layouts/_default/single.html @@ -0,0 +1,6 @@ +{{ define "title" }} + {{ .Title }} · {{ .Site.Title }} +{{ end }} +{{ define "content" }} + {{ partial "page.html" . }} +{{ end }} \ No newline at end of file diff --git a/themes/devroom-2020/layouts/index.html b/themes/devroom-2020/layouts/index.html new file mode 100644 index 0000000..ab26f29 --- /dev/null +++ b/themes/devroom-2020/layouts/index.html @@ -0,0 +1,3 @@ +{{ define "content" }} + {{ partial "home.html" . }} +{{ end }} \ No newline at end of file diff --git a/themes/devroom-2020/layouts/partials/footer.html b/themes/devroom-2020/layouts/partials/footer.html new file mode 100644 index 0000000..d32c68d --- /dev/null +++ b/themes/devroom-2020/layouts/partials/footer.html @@ -0,0 +1,21 @@ + + + + + \ No newline at end of file diff --git a/themes/devroom-2020/layouts/partials/header.html b/themes/devroom-2020/layouts/partials/header.html new file mode 100644 index 0000000..d3e18a2 --- /dev/null +++ b/themes/devroom-2020/layouts/partials/header.html @@ -0,0 +1,10 @@ +
+ +
\ No newline at end of file diff --git a/themes/devroom-2020/layouts/partials/home.html b/themes/devroom-2020/layouts/partials/home.html new file mode 100644 index 0000000..be097e4 --- /dev/null +++ b/themes/devroom-2020/layouts/partials/home.html @@ -0,0 +1,33 @@ +

{{ .Site.Params.author }}

+

{{ .Site.Params.info }}

+ +

Skills

+ +{{ with .Site.Params.skill }} + +{{ end }} + + +

Popular stuff

+ +{{ with .Site.Params.popular }} + +{{ end }} + +

Recent things

+ +{{ $pages := where site.RegularPages "Type" "in" site.Params.mainSections }} +{{ range first 5 $pages }} + {{ .Date.Format (.Site.Params.dateFormat | default "2006-01-02" ) }} + - + {{ .Title }} +
+{{ end }} \ No newline at end of file diff --git a/themes/devroom-2020/layouts/partials/list.html b/themes/devroom-2020/layouts/partials/list.html new file mode 100644 index 0000000..3967ac6 --- /dev/null +++ b/themes/devroom-2020/layouts/partials/list.html @@ -0,0 +1,19 @@ +
+

+ {{- if eq .Kind "taxonomy" -}} + {{- i18n .Data.Singular | title -}} + {{- print "Tagged " -}} + {{- end -}} + + {{- .Title -}} +

+

+ {{ range .Paginator.Pages }} + {{ .Date.Format (.Site.Params.dateFormat | default "2006-01-02" ) }} + - + {{ .Title }} +
+ {{ end }} +

+ +
\ No newline at end of file diff --git a/themes/devroom-2020/layouts/partials/page.html b/themes/devroom-2020/layouts/partials/page.html new file mode 100644 index 0000000..389aae7 --- /dev/null +++ b/themes/devroom-2020/layouts/partials/page.html @@ -0,0 +1,4 @@ +
+

{{ .Title }}

+ {{ .Content }} +
\ No newline at end of file diff --git a/themes/devroom-2020/layouts/partials/post.html b/themes/devroom-2020/layouts/partials/post.html new file mode 100644 index 0000000..bdc033c --- /dev/null +++ b/themes/devroom-2020/layouts/partials/post.html @@ -0,0 +1,16 @@ +
+

{{ .Title }}

+
+ + - + tagged + {{ with .Page.Params.Tags }}{{ partial "taxonomy/tags.html" . }}{{ end }} + - + {{ .ReadingTime }}min + - + {{ .FuzzyWordCount }}wrds +
+ {{ .Content }} +
\ No newline at end of file diff --git a/themes/devroom-2020/layouts/partials/taxonomy/tags.html b/themes/devroom-2020/layouts/partials/taxonomy/tags.html new file mode 100644 index 0000000..7edc006 --- /dev/null +++ b/themes/devroom-2020/layouts/partials/taxonomy/tags.html @@ -0,0 +1,6 @@ +{{- range $index, $el := . -}} + {{- if gt $index 0 }} + + {{- end }} + {{ . | lower }} +{{- end -}} diff --git a/themes/devroom-2020/layouts/posts/single.html b/themes/devroom-2020/layouts/posts/single.html new file mode 100644 index 0000000..352a77c --- /dev/null +++ b/themes/devroom-2020/layouts/posts/single.html @@ -0,0 +1,6 @@ +{{ define "title" }} + {{ .Title }} · {{ .Site.Title }} +{{ end }} +{{ define "content" }} + {{ partial "post.html" . }} +{{ end }} \ No newline at end of file diff --git a/themes/devroom-2020/layouts/projects/single.html b/themes/devroom-2020/layouts/projects/single.html new file mode 100644 index 0000000..352a77c --- /dev/null +++ b/themes/devroom-2020/layouts/projects/single.html @@ -0,0 +1,6 @@ +{{ define "title" }} + {{ .Title }} · {{ .Site.Title }} +{{ end }} +{{ define "content" }} + {{ partial "post.html" . }} +{{ end }} \ No newline at end of file diff --git a/themes/devroom-2020/theme.toml b/themes/devroom-2020/theme.toml new file mode 100644 index 0000000..4215a08 --- /dev/null +++ b/themes/devroom-2020/theme.toml @@ -0,0 +1,15 @@ +# theme.toml template for a Hugo theme +# See https://github.com/gohugoio/hugoThemes#themetoml for an example + +name = "de Vroom 2020" +license = "MIT" +licenselink = "https://git.devroom.io/ariejan/devroom-2020/blob/master/LICENSE" +description = "" +homepage = "https://www.devroom.io" +tags = [] +features = [] +min_version = "0.41" + +[author] + name = "Ariejan de Vroom" + homepage = "https://www.devroom.io" diff --git a/themes/hugo-coder b/themes/hugo-coder deleted file mode 160000 index fb2dc89..0000000 --- a/themes/hugo-coder +++ /dev/null @@ -1 +0,0 @@ -Subproject commit fb2dc89b45b4ba61f6d66cca4c8f3062b4e94314 From d06415bc16c1f7578b4d5fc547b82e6fc08dc7ae Mon Sep 17 00:00:00 2001 From: Ariejan de Vroom Date: Mon, 9 Mar 2020 11:56:03 +0100 Subject: [PATCH 2/4] Minor tweaks and fixes --- content/about.md | 3 +- themes/devroom-2020/assets/scss/devroom.scss | 11 +++++-- .../devroom-2020/layouts/_default/baseof.html | 1 + themes/devroom-2020/layouts/_default/rss.xml | 32 +++++++++++++++++++ 4 files changed, 42 insertions(+), 5 deletions(-) create mode 100644 themes/devroom-2020/layouts/_default/rss.xml diff --git a/content/about.md b/content/about.md index f4dae6d..efc7872 100644 --- a/content/about.md +++ b/content/about.md @@ -36,5 +36,4 @@ In 2017 I switched from `https://ariejan.net` to `https://www.devroom.io` as my domain name for this blog. This site is static HTML, generated with [Hugo](http://gohugo.io) via self-hosted versions -of [Gitea](https://gitea.io) and [Drone](https://drone.io/). I'm currently using the -[Hugo Coder](https://github.com/luizdepra/hugo-coder) theme by [Luiz de Prá](https://luizdepra.dev/). +of [Gitea](https://gitea.io) and [Drone](https://drone.io/). diff --git a/themes/devroom-2020/assets/scss/devroom.scss b/themes/devroom-2020/assets/scss/devroom.scss index 0ef9081..0956ef1 100644 --- a/themes/devroom-2020/assets/scss/devroom.scss +++ b/themes/devroom-2020/assets/scss/devroom.scss @@ -5,10 +5,10 @@ $font_size: 1rem; $backdrop: #080808; $background: #242424; $text: #f7f7f7; -$links: #8acdea; +$links: #6C939F; $footer: darken($text, 40%); -$meta: #93423E; -$header: #bde4a7; +$meta: #AA4A39; +$header: #9AC361; html, body { background-color: $backdrop; @@ -125,6 +125,11 @@ footer { } } +small { + font-size: 100%; + color: $footer; +} + .meta { color: $meta; } \ No newline at end of file diff --git a/themes/devroom-2020/layouts/_default/baseof.html b/themes/devroom-2020/layouts/_default/baseof.html index 88097fe..623d60a 100644 --- a/themes/devroom-2020/layouts/_default/baseof.html +++ b/themes/devroom-2020/layouts/_default/baseof.html @@ -24,6 +24,7 @@ {{ $styles := resources.Get "scss/devroom.scss" | resources.ExecuteAsTemplate "style.devroom.css" . | toCSS $cssOpts | minify | fingerprint }} {{ end }} +
diff --git a/themes/devroom-2020/layouts/_default/rss.xml b/themes/devroom-2020/layouts/_default/rss.xml new file mode 100644 index 0000000..7d99230 --- /dev/null +++ b/themes/devroom-2020/layouts/_default/rss.xml @@ -0,0 +1,32 @@ +{{ $pages := where site.RegularPages "Type" "in" site.Params.mainSections }} +{{- $limit := .Site.Config.Services.RSS.Limit -}} +{{- if ge $limit 1 -}} +{{- $pages = $pages | first $limit -}} +{{- end -}} +{{- printf "" | safeHTML }} + + + {{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }} + {{ .Permalink }} + Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }} + Hugo -- gohugo.io{{ with .Site.LanguageCode }} + {{.}}{{end}}{{ with .Site.Author.email }} + {{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}}{{ with .Site.Author.email }} + {{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}}{{ with .Site.Copyright }} + {{.}}{{end}}{{ if not .Date.IsZero }} + {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}{{ end }} + {{ with .OutputFormats.Get "RSS" }} + {{ printf "" .Permalink .MediaType | safeHTML }} + {{ end }} + {{ range $pages }} + + {{ .Title }} + {{ .Permalink }} + {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} + {{ with .Site.Author.email }}{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}} + {{ .Permalink }} + {{ .Summary | html }} + + {{ end }} + + \ No newline at end of file From fc1ffdaad3b865435ec6ca61e4d793ce04830851 Mon Sep 17 00:00:00 2001 From: Ariejan de Vroom Date: Mon, 9 Mar 2020 12:20:20 +0100 Subject: [PATCH 3/4] Fix hugo-coder submodule --- themes/hugo-coder | 1 + 1 file changed, 1 insertion(+) create mode 160000 themes/hugo-coder diff --git a/themes/hugo-coder b/themes/hugo-coder new file mode 160000 index 0000000..e613e3b --- /dev/null +++ b/themes/hugo-coder @@ -0,0 +1 @@ +Subproject commit e613e3ba00469dfb92a914ee0b0a4e489b1489cf From 39d9f1b35aeb090b7bb205fbe95bfcfb577882fe Mon Sep 17 00:00:00 2001 From: Ariejan de Vroom Date: Mon, 9 Mar 2020 12:21:58 +0100 Subject: [PATCH 4/4] Removed hugo-code submodule --- .gitmodules | 3 --- themes/hugo-coder | 1 - 2 files changed, 4 deletions(-) delete mode 160000 themes/hugo-coder diff --git a/.gitmodules b/.gitmodules index ce3490a..e69de29 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +0,0 @@ -[submodule "themes/hugo-coder"] - path = themes/hugo-coder - url = https://github.com/luizdepra/hugo-coder.git diff --git a/themes/hugo-coder b/themes/hugo-coder deleted file mode 160000 index e613e3b..0000000 --- a/themes/hugo-coder +++ /dev/null @@ -1 +0,0 @@ -Subproject commit e613e3ba00469dfb92a914ee0b0a4e489b1489cf