summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md3
-rw-r--r--archetypes/default.md16
-rw-r--r--config.toml12
-rw-r--r--content/hello-world.md10
-rw-r--r--layouts/404.html6
-rw-r--r--layouts/_default/list.html16
-rw-r--r--layouts/_default/list.xml39
-rw-r--r--layouts/_default/single.html11
-rw-r--r--layouts/index.atom.xml36
-rw-r--r--layouts/index.html22
-rw-r--r--layouts/index.rss.xml39
-rw-r--r--layouts/partials/footer.html4
-rw-r--r--layouts/partials/head.html25
-rw-r--r--layouts/sitemap.xml22
-rw-r--r--static/robots.txt5
-rw-r--r--templates/404.html8
-rw-r--r--templates/atom.xml34
-rw-r--r--templates/index.html58
-rw-r--r--templates/page.html23
-rw-r--r--templates/rss.xml32
-rw-r--r--templates/sitemap.xml13
-rw-r--r--theme.toml10
-rw-r--r--theme.yaml12
23 files changed, 202 insertions, 254 deletions
diff --git a/README.md b/README.md
index 8706abe..5059e03 100644
--- a/README.md
+++ b/README.md
@@ -1 +1,2 @@
-This is my Hugo-theme. You can see it in action at [dnns.no](https://dnns.no).
+This is my Zola-theme. You can see it in action at [dnns.no](https://dnns.no).
+It is a fork of my Hugo-theme, [Riker](https://git.dnns.no/riker.git).
diff --git a/archetypes/default.md b/archetypes/default.md
deleted file mode 100644
index 1f90818..0000000
--- a/archetypes/default.md
+++ /dev/null
@@ -1,16 +0,0 @@
----
-author:
-type: post
-date: {{ .Date }}
-lastmod:
-
-tags:
- - tag
-topics:
- - topic
-keywords:
- - keyword
-
-description: ""
-title: ""
----
diff --git a/config.toml b/config.toml
new file mode 100644
index 0000000..ada343d
--- /dev/null
+++ b/config.toml
@@ -0,0 +1,12 @@
+base_url="https://dnns.no"
+
+generate_feed = true
+
+[extra]
+title = "dnns.no"
+author = "Dennis Eriksen"
+intro = "This site contains articles of various quality, and is sort of a private-but-public documentation of various things. Maybe there'll be some \"normal\" blog-posts at some point as well. Who knows."
+
+logo = "https://dnns.no/img/giraffe.svg"
+
+copyright = '<a href="/~dennis/">Dennis Eriksen</a> © 2017-2023'
diff --git a/content/hello-world.md b/content/hello-world.md
new file mode 100644
index 0000000..29ccb5e
--- /dev/null
+++ b/content/hello-world.md
@@ -0,0 +1,10 @@
++++
+title = "Hello World!"
+description = "Hello!"
+date = "2002-10-02T15:00:00Z"
+updated = "2022-10-02T15:00:00Z"
+
++++
+
+
+Hello World!
diff --git a/layouts/404.html b/layouts/404.html
deleted file mode 100644
index f3419e9..0000000
--- a/layouts/404.html
+++ /dev/null
@@ -1,6 +0,0 @@
-{{ partial "head" . }}
-<br><br><br><br>
-<center><h1 style="font-size:10rem; margin-bottom: 0;">404</h1></center>
-<center><p>Page not found, dude.</p></center>
-<br><br><br><br>
-{{ partial "footer" . }}
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
deleted file mode 100644
index 7863d64..0000000
--- a/layouts/_default/list.html
+++ /dev/null
@@ -1,16 +0,0 @@
-{{ partial "head" . }}
-<main>
-
- {{ .Content }}
- <ul class="contents">
- {{ range where .Paginator.Pages "Params.hidden" "ne" "true" }}
- <li>{{.Title}}
- <div>
- {{ .Summary }}
- </div>
- </li>
- {{ end }}
- </ul>
-
-</main>
-{{ partial "footer" . }}
diff --git a/layouts/_default/list.xml b/layouts/_default/list.xml
deleted file mode 100644
index 849e0f0..0000000
--- a/layouts/_default/list.xml
+++ /dev/null
@@ -1,39 +0,0 @@
-{{- $pctx := . -}}
-{{- if .IsHome -}}{{ $pctx = .Site }}{{- end -}}
-{{- $pages := slice -}}
-{{- if or $.IsHome $.IsSection -}}
-{{- $pages = $pctx.RegularPages -}}
-{{- else -}}
-{{- $pages = $pctx.Pages -}}
-{{- end -}}
-{{- $limit := .Site.Config.Services.RSS.Limit -}}
-{{- if ge $limit 1 -}}
-{{- $pages = $pages | first $limit -}}
-{{- end -}}
-{{- printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>" | safeHTML }}
-<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
- <channel>
- <title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }}</title>
- <link>{{ .Permalink }}</link>
- <description>Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }}</description>
- <generator>Hugo -- gohugo.io</generator>{{ with .Site.LanguageCode }}
- <language>{{.}}</language>{{end}}{{ with .Site.Author.email }}
- <managingEditor>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</managingEditor>{{end}}{{ with .Site.Author.email }}
- <webMaster>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</webMaster>{{end}}{{ with .Site.Copyright }}
- <copyright>{{.}}</copyright>{{end}}{{ if not .Date.IsZero }}
- <lastBuildDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>{{ end }}
- {{ with .OutputFormats.Get "RSS" }}
- {{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }}
- {{ end }}
- {{ range where $pages "Params.hidden" "ne" "true" }}
- <item>
- <title>{{ .Title }}</title>
- <link>{{ .Permalink }}</link>
- <pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
- {{ with .Site.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}}
- <guid>{{ .Permalink }}</guid>
- <description>{{ .Summary | html }}</description>
- </item>
- {{ end }}
- </channel>
-</rss>
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
deleted file mode 100644
index 4d07a02..0000000
--- a/layouts/_default/single.html
+++ /dev/null
@@ -1,11 +0,0 @@
-{{ partial "head" . }}
-<main>
- <article>
- <h1>{{ .Title }}</h1>
- <span class="single-date">{{ .Date.Format "January 2, 2006" }}</span>
-{{ if ne (.Lastmod.Format "January 2, 2006") (.Date.Format "January 2, 2006") }} <br><span class="single-date"><small>Last modified {{ .Lastmod.Format "January 2, 2006" }}</small></span>{{ end }}
-
-{{ .Content }}
- </article>
-</main>
-{{ partial "footer" . }}
diff --git a/layouts/index.atom.xml b/layouts/index.atom.xml
deleted file mode 100644
index 7443f34..0000000
--- a/layouts/index.atom.xml
+++ /dev/null
@@ -1,36 +0,0 @@
-{{- $pctx := . -}}
-{{- if .IsHome -}}{{ $pctx = .Site }}{{- end -}}
-{{- $pages := slice -}}
-{{- if or $.IsHome $.IsSection -}}
-{{- $pages = $pctx.RegularPages -}}
-{{- else -}}
-{{- $pages = $pctx.Pages -}}
-{{- end -}}
-{{- $limit := .Site.Config.Services.RSS.Limit -}}
-{{- if ge $limit 1 -}}
-{{- $pages = $pages | first $limit -}}
-{{- end -}}
-<feed xmlns="http://www.w3.org/2005/Atom">
- <title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }}</title>
- <link href="{{ .Permalink }}feed.xml" rel="self"/>
- <link href="{{ .Permalink }}"/>{{ if not .Date.IsZero }}
- <updated>{{ .Date.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</updated>{{end}}
- <id>{{ .Permalink }}</id>{{ with .Site.Author.name }}
- <author>
- <name>{{.}}</name>{{ with $.Site.Author.email }}
- <email>{{.}}</email>{{end}}
- </author>{{end}}
- <generator>Hugo -- gohugo.io</generator>
- {{ range where $pages "Params.hidden" "ne" "true" }}
- <entry>
- {{ `<title type="html"><![CDATA[` | safeHTML }}{{ .Title }}]]></title>
- <link href="{{ .Permalink }}"/>
- <id>{{ .Permalink }}</id>{{ with .Site.Params.Author }}
- <author>
- <name>{{.}}</name>
- </author>{{end}}
- <published>{{ .Date.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</published>
- <updated>{{ .Lastmod.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</updated>
- {{ `<content type="html"><![CDATA[` | safeHTML }}{{ .Content }}]]></content>
- </entry>{{ end }}
-</feed>
diff --git a/layouts/index.html b/layouts/index.html
deleted file mode 100644
index 8a7cffa..0000000
--- a/layouts/index.html
+++ /dev/null
@@ -1,22 +0,0 @@
-{{ partial "head" . }}
-
-<header>
- <a href="/"><img id="logo" src="{{ .Site.Params.logo }}" /></a>
- <h1>{{ .Title }}</h1>
-</header>
-<main>
-<p>{{ .Site.Params.intro }}</p>
-<div class="archive">
- <h2>Archive</h2>
- {{ range (where (where .Site.RegularPages "Params.hidden" "ne" "true") "Type" "post").GroupByDate "2006" }}
- <h3 class="archive-title">{{ .Key }}</h3>
- {{ range .Pages }}
- <article class="list-item">
- <a href="{{ .RelPermalink }}" class="list-item-link">{{ .Title }}</a>
- <span class="list-item-date">{{ .Date.Format "January 2, 2006" }}</span>
- </article>
- {{ end }}
- {{ end }}
-</div>
-</main>
-{{ partial "footer" . }}
diff --git a/layouts/index.rss.xml b/layouts/index.rss.xml
deleted file mode 100644
index 849e0f0..0000000
--- a/layouts/index.rss.xml
+++ /dev/null
@@ -1,39 +0,0 @@
-{{- $pctx := . -}}
-{{- if .IsHome -}}{{ $pctx = .Site }}{{- end -}}
-{{- $pages := slice -}}
-{{- if or $.IsHome $.IsSection -}}
-{{- $pages = $pctx.RegularPages -}}
-{{- else -}}
-{{- $pages = $pctx.Pages -}}
-{{- end -}}
-{{- $limit := .Site.Config.Services.RSS.Limit -}}
-{{- if ge $limit 1 -}}
-{{- $pages = $pages | first $limit -}}
-{{- end -}}
-{{- printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>" | safeHTML }}
-<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
- <channel>
- <title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }}</title>
- <link>{{ .Permalink }}</link>
- <description>Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }}</description>
- <generator>Hugo -- gohugo.io</generator>{{ with .Site.LanguageCode }}
- <language>{{.}}</language>{{end}}{{ with .Site.Author.email }}
- <managingEditor>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</managingEditor>{{end}}{{ with .Site.Author.email }}
- <webMaster>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</webMaster>{{end}}{{ with .Site.Copyright }}
- <copyright>{{.}}</copyright>{{end}}{{ if not .Date.IsZero }}
- <lastBuildDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>{{ end }}
- {{ with .OutputFormats.Get "RSS" }}
- {{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }}
- {{ end }}
- {{ range where $pages "Params.hidden" "ne" "true" }}
- <item>
- <title>{{ .Title }}</title>
- <link>{{ .Permalink }}</link>
- <pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
- {{ with .Site.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}}
- <guid>{{ .Permalink }}</guid>
- <description>{{ .Summary | html }}</description>
- </item>
- {{ end }}
- </channel>
-</rss>
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
deleted file mode 100644
index d0757f3..0000000
--- a/layouts/partials/footer.html
+++ /dev/null
@@ -1,4 +0,0 @@
- <footer>
- {{ .Site.Copyright | safeHTML }}
- </footer>
-</html>
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
deleted file mode 100644
index 6f1549e..0000000
--- a/layouts/partials/head.html
+++ /dev/null
@@ -1,25 +0,0 @@
-<!DOCTYPE html>
-
-<html class="no-js" lang="{{ $.Site.LanguageCode | default "en" }}">
-
-<head>
- <meta charset="utf-8">
- <meta http-equiv="x-ua-compatible" content="ie=edge">
- <title>{{ .Title }} {{ if ne .Title .Site.Title }} &middot; {{ .Site.Title }}{{ end }}</title>
- <meta name="description" content="">
- <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
-
- <link rel="stylesheet" href="/css/normalize.css">
- <link rel="stylesheet" href="/css/main.css">
-{{ with .OutputFormats.Get "rss" -}}
-
-{{ printf ` <link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
-{{ end -}}
-</head>
-
-<body>
-{{ if not .IsHome }}
-<header>
- <a href="/"><img id="logofloat" src="{{ .Site.Params.logo }}" /></a>
-</header>
-{{ end }}
diff --git a/layouts/sitemap.xml b/layouts/sitemap.xml
deleted file mode 100644
index d5ae26e..0000000
--- a/layouts/sitemap.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-{{ printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\" ?>" | safeHTML }}
-<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
- xmlns:xhtml="http://www.w3.org/1999/xhtml">
- {{ range where .Data.Pages "Params.hidden" "ne" "true" }}
- <url>
- <loc>{{ .Permalink }}</loc>{{ if not .Lastmod.IsZero }}
- <lastmod>{{ safeHTML ( .Lastmod.Format "2006-01-02T15:04:05-07:00" ) }}</lastmod>{{ end }}{{ with .Sitemap.ChangeFreq }}
- <changefreq>{{ . }}</changefreq>{{ end }}{{ if ge .Sitemap.Priority 0.0 }}
- <priority>{{ .Sitemap.Priority }}</priority>{{ end }}{{ if .IsTranslated }}{{ range .Translations }}
- <xhtml:link
- rel="alternate"
- hreflang="{{ .Lang }}"
- href="{{ .Permalink }}"
- />{{ end }}
- <xhtml:link
- rel="alternate"
- hreflang="{{ .Lang }}"
- href="{{ .Permalink }}"
- />{{ end }}
- </url>
- {{ end }}
-</urlset>
diff --git a/static/robots.txt b/static/robots.txt
deleted file mode 100644
index d0e5f1b..0000000
--- a/static/robots.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-# www.robotstxt.org/
-
-# Allow crawling of all content
-User-agent: *
-Disallow:
diff --git a/templates/404.html b/templates/404.html
new file mode 100644
index 0000000..02d0a66
--- /dev/null
+++ b/templates/404.html
@@ -0,0 +1,8 @@
+{% extends "index.html" %}
+
+{% block content %}
+ <article>
+ <center><h1>404</h1></center>
+ <center><p>Page not found, dude.</p></center>
+ </article>
+{% endblock content %}
diff --git a/templates/atom.xml b/templates/atom.xml
new file mode 100644
index 0000000..dd48482
--- /dev/null
+++ b/templates/atom.xml
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="{{ lang }}">
+ <title>{{ config.title }}
+ {%- if term %} - {{ term.name }}
+ {%- elif section.title %} - {{ section.title }}
+ {%- endif -%}
+ </title>
+ {%- if config.description %}
+ <subtitle>{{ config.description }}</subtitle>
+ {%- endif %}
+ <link href="{{ feed_url | safe }}" rel="self" type="application/atom+xml"/>
+ <link href="
+ {%- if section -%}
+ {{ section.permalink | escape_xml | safe }}
+ {%- else -%}
+ {{ config.base_url | escape_xml | safe }}
+ {%- endif -%}
+ "/>
+ <generator uri="https://www.getzola.org/">Zola</generator>
+ <updated>{{ last_updated | date(format="%+") }}</updated>
+ <id>{{ feed_url | safe }}</id>
+ {%- for page in pages %}
+ {%- if not page.extra.hidden|default(value=false) %}
+ <entry xml:lang="{{ page.lang }}">
+ <title>{{ page.title }}</title>
+ <published>{{ page.date | date(format="%+") }}</published>
+ <updated>{{ page.updated | default(value=page.date) | date(format="%+") }}</updated>
+ <link rel="alternate" href="{{ page.permalink | safe }}" type="text/html"/>
+ <id>{{ page.permalink | safe }}</id>
+ <content type="html">{{ page.content }}</content>
+ </entry>
+ {%- endif %}
+ {%- endfor %}
+</feed>
diff --git a/templates/index.html b/templates/index.html
new file mode 100644
index 0000000..222ea74
--- /dev/null
+++ b/templates/index.html
@@ -0,0 +1,58 @@
+<!DOCTYPE html>
+
+<html class="no-js" lang="{{ config.default_language | default(value="en") }}">
+
+{% block head %}
+<head>
+ <meta charset="utf-8">
+ <meta http-equiv="x-ua-compatible" content="ie=edge">
+ <title>{% block title %}{{ config.extra.title }}{% endblock title %}</title>
+ <meta name="description" content="{% block description %}{{ config.description }}{% endblock description %}">
+ <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
+
+ <link rel="stylesheet" href="/css/normalize.css">
+ <link rel="stylesheet" href="/css/main.css">
+
+ <link rel="alternate" type="application/rss+xml" title="RSS" href="{{ get_url(path="atom.xml", trailing_slash=false) }}">
+</head>
+{% endblock head %}
+
+<body>
+
+{% block header %}
+<header>
+ <a href="/"><img id="logo" src="{{ config.extra.logo }}" /></a>
+ <h1>{{ config.extra.title }}</h1>
+</header>
+{% endblock header %}
+
+<main>
+{% block content %}
+<p>{{ config.extra.intro }}</p>
+<div class="archive">
+ <h2>Archive</h2>
+
+{%- for year, posts in section.pages | group_by(attribute="year") %}
+
+ <h3>{{ year }}</h3>
+ {%- for post in posts %}
+
+ <article class="list-item">
+ <a href="{{ post.permalink | safe }}" class="list-item-link">{{ post.title }}</a>
+ <span class="list-item-date">{{ post.date | date(format="%B %e, %Y") }}</span>
+ </article>
+ {%- endfor %}
+{% endfor %}
+</div>
+
+{% endblock content %}
+</main>
+
+{% block footer %}
+<footer>
+ {{ config.extra.copyright | safe }}
+</footer>
+{% endblock footer %}
+
+</body>
+</html>
diff --git a/templates/page.html b/templates/page.html
new file mode 100644
index 0000000..6a83bc0
--- /dev/null
+++ b/templates/page.html
@@ -0,0 +1,23 @@
+{% extends "index.html" %}
+
+{% block title %}{{ page.title }} &middot; {{ config.title }}{% endblock title %}
+
+{% block header %}
+<header>
+ <a href="/"><img id="logofloat" src="{{ config.extra.logo }}" /></a>
+</header>
+{% endblock header %}
+
+{% block content %}
+ <article>
+ <h1>{{ page.title }}</h1>
+ <span class="single-date">{{ page.date | date(format="%B %e, %Y") }}</span>
+{% if page.updated | date %}
+ <br>
+ <span class="single-date"><small>Last modified {{ page.updated | date(format="%B %e, %Y") }}</small></span>
+{% endif %}
+
+{{ page.content | safe }}
+
+ </article>
+{% endblock content %}
diff --git a/templates/rss.xml b/templates/rss.xml
new file mode 100644
index 0000000..ce12795
--- /dev/null
+++ b/templates/rss.xml
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
+ <channel>
+ <title>{{ config.title }}
+ {%- if term %} - {{ term.name }}
+ {%- elif section.title %} - {{ section.title }}
+ {%- endif -%}
+ </title>
+ <link>{%- if section -%}
+ {{ section.permalink | escape_xml | safe }}
+ {%- else -%}
+ {{ config.base_url | escape_xml | safe }}
+ {%- endif -%}
+ </link>
+ <description>{{ config.description }}</description>
+ <generator>Zola</generator>
+ <language>{{ lang }}</language>
+ <atom:link href="{{ feed_url | safe }}" rel="self" type="application/rss+xml"/>
+ <lastBuildDate>{{ last_updated | date(format="%a, %d %b %Y %H:%M:%S %z") }}</lastBuildDate>
+ {%- for page in pages %}
+ {%- if not page.extra.hidden|default(value=false) %}
+ <item>
+ <title>{{ page.title }}</title>
+ <pubDate>{{ page.date | date(format="%a, %d %b %Y %H:%M:%S %z") }}</pubDate>
+ <link>{{ page.permalink | escape_xml | safe }}</link>
+ <guid>{{ page.permalink | escape_xml | safe }}</guid>
+ <description>{% if page.summary %}{{ page.summary }}{% else %}{{ page.content }}{% endif %}</description>
+ </item>
+ {%- endif %}
+ {%- endfor %}
+ </channel>
+</rss>
diff --git a/templates/sitemap.xml b/templates/sitemap.xml
new file mode 100644
index 0000000..e0cfc82
--- /dev/null
+++ b/templates/sitemap.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
+ {%- for sitemap_entry in entries %}
+ {%- if not sitemap_entry.extra.hidden|default(value=false) %}
+ <url>
+ <loc>{{ sitemap_entry.permalink | escape_xml | safe }}</loc>
+ {%- if sitemap_entry.updated %}
+ <lastmod>{{ sitemap_entry.updated }}</lastmod>
+ {%- endif %}
+ </url>
+ {%- endif %}
+ {%- endfor %}
+</urlset>
diff --git a/theme.toml b/theme.toml
new file mode 100644
index 0000000..f900391
--- /dev/null
+++ b/theme.toml
@@ -0,0 +1,10 @@
+name = "Rikerz"
+licence = "GPLv3"
+licencelink = "https://git.dnns.no/riker.git/tree/LICENSE"
+description = "A minimalistic theme that matches MY needs"
+homepage = "https://git.dnns.no/rikerz.git/about/"
+min_version = 1.0
+
+[author]
+name = "Dennis Eriksen"
+homepage = "https://dnns.no"
diff --git a/theme.yaml b/theme.yaml
deleted file mode 100644
index 2600325..0000000
--- a/theme.yaml
+++ /dev/null
@@ -1,12 +0,0 @@
----
-
-name: 'Riker'
-licence: 'GPLv3'
-licencelink: 'https://git.dnns.no/riker.git/tree/LICENSE'
-description: 'A minimalistic theme that matches my needs'
-homepage: 'https://git.dnns.no/riker.git/about/'
-min_version: '1.0'
-
-author:
- name: 'Dennis Eriksen'
- homepage: 'https://dnns.no'