Add 'archetypes/' 'layouts/'

This commit is contained in:
M.R. Firmansyah 2024-08-25 11:18:38 +07:00
parent 20ffcb18c6
commit f40042add8
5 changed files with 18 additions and 0 deletions

2
archetypes/default.md Normal file
View file

@ -0,0 +1,2 @@
+++
+++

1
layouts/404.html Normal file
View file

@ -0,0 +1 @@
<h1>Halaman Tidak Ditemukan</h1>

9
layouts/index.html Normal file
View file

@ -0,0 +1,9 @@
<title>{{ .Site.Title }}</title>
<main aria-role="main">
<header class="home-page-header">
<h1>{{ .Site.Author.name }}</h1>
<h2>“{{ .Site.Author.motto }}”</h2>
</header>
{{ partial "contact.html" . }}
{{ partial "links.html" . }}
</main>

View file

@ -0,0 +1,3 @@
<p><strong>Alamat surel</strong> <a href="mailto:{{ .Site.Author.email }}">{{ .Site.Author.email }}</a>
<strong>Kunci publik PGP</strong> <a href="{{ .Site.Author.url.pgp }} ">{{ .Site.Author.pgp }}</a>
<strong>JID</strong> <a href="xmpp:{{ .Site.Author.jid }}">{{ .Site.Author.jid }}</p>

View file

@ -0,0 +1,3 @@
<a href="{{ .Site.Author.url.blog }}"><strong>Blog</strong></a>
<a href="{{ .Site.Author.url.social }}" ><strong>Media Sosial</strong></a>
<a href="{{ .Site.Author.url.git }}" ><strong>Repositori Git</strong></a>