A => .build.yml +13 -0
@@ 1,13 @@
+image: alpine/latest
+packages:
+ - hugo
+oauth: pages.sr.ht/PAGES:RW
+environment:
+ site: crtr.space
+tasks:
+- package: |
+ cd frontend
+ hugo
+ tar -C public -cvz . > ../site.tar.gz
+- upload: |
+ acurl -f https://pages.sr.ht/publish/$site -Fcontent=@site.tar.gz<
\ No newline at end of file
A => .gitignore +1 -0
@@ 1,1 @@
+public/<
\ No newline at end of file
A => archetypes/default.md +5 -0
@@ 1,5 @@
+---
+title: "{{ replace .Name "-" " " | title }}"
+date: {{ .Date }}
+draft: true
+---
A => config.yaml +6 -0
@@ 1,6 @@
+baseURL: https://crtr.space/
+languageCode: en-us
+title: carter
+
+params:
+ headerText: crtr.space<
\ No newline at end of file
A => content/_index.md +9 -0
@@ 1,9 @@
+---
+title: "crtr.space homepage"
+date: 2022-02-16T11:25:00-05:00
+draft: false
+---
+
+I am carter peterson and this is my space on the internet.
+
+This site is intentionally minimal. It has no tracking scripts or external resources and is currently hosted by [sourcehut pages](https://srht.site).<
\ No newline at end of file
A => layouts/_default/baseof.html +21 -0
@@ 1,21 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset="utf-8">
+ <link rel="stylesheet" href="{{ "/css/style.css" | relURL }}" />
+ <title>
+ {{- block "title" . }}
+ {{ .Site.Title }}
+ {{ end -}}
+ </title>
+ </head>
+ <body>
+ <header>
+ {{ .Site.Params.headerText }}
+ </header>
+ <main>
+ {{ block "main" . }}
+ {{ end }}
+ </main>
+ </body>
+</html><
\ No newline at end of file
A => layouts/_default/index.html +3 -0
@@ 1,3 @@
+{{ define "main" }}
+ {{ .Content }}
+{{ end }}<
\ No newline at end of file
A => layouts/_default/list.html +0 -0
A => layouts/_default/single.html +3 -0
@@ 1,3 @@
+{{ define "main" }}
+ {{ .Content }}
+{{ end }}<
\ No newline at end of file
A => static/css/style.css +20 -0
@@ 1,20 @@
+html {
+ margin: 0;
+ padding: 0;
+ font-family: sans-serif;
+}
+
+body {
+ width: 100%;
+ max-width: 980px;
+ margin: 0 auto;
+}
+
+header {
+ padding-top: 10px;
+ font-size: x-large;
+}
+
+main {
+
+}<
\ No newline at end of file