This commit is contained in:
bearfm 2024-01-26 02:10:25 -08:00
parent f57387413f
commit dd3fb4700d
Signed by untrusted user who does not match committer: bearfm
GPG Key ID: 573A776FED58E1A4
6 changed files with 29 additions and 5 deletions

View File

@ -14,7 +14,7 @@ TMPL = $(SRCDIR)/tmpl.html
URI = "https://bear.oops.wtf" URI = "https://bear.oops.wtf"
.PHONY: all .PHONY: all
all: html css $(DISTDIR)/robots.txt $(DISTDIR)/sitemap.xml all: html css $(DISTDIR)/robots.txt $(DISTDIR)/sitemap.xml static
# Build # Build
@ -59,7 +59,10 @@ clean:
rm -rfv $(CSSDIR) rm -rfv $(CSSDIR)
.PHONY: help .PHONY: help
help: help:
@egrep -h '\s##\s' $(MAKEFILE_LIST) | \ @egrep -h '\s##\s' $(MAKEFILE_LIST) | \
awk 'BEGIN {FS = ":.*?## "}; {printf "\033[34m%-15s\033[0m %s\n", $$1, $$2}' awk 'BEGIN {FS = ":.*?## "}; {printf "\033[34m%-15s\033[0m %s\n", $$1, $$2}'
.PHONY: static
static:
@install -v -D -t dist/ static/*

10
src/404.md Normal file
View File

@ -0,0 +1,10 @@
---
title: 404 - Not Found
author: BearFM
date: January 25, 2024
modified: January 25, 2024
---
# 404: Not Found
[<img src="xertun.webp" width="200" height="200"/>](xertun.webp)

View File

@ -2,6 +2,7 @@
title: bear.oops.wtf title: bear.oops.wtf
author: BearFM author: BearFM
date: January 6, 2024 date: January 6, 2024
modified: January 25, 2024
--- ---
sup Hello, I'm Bear.

View File

@ -34,6 +34,8 @@ $gruvbox-orange: #d65d0e;
body { body {
font-family: Arial, sans-serif; font-family: Arial, sans-serif;
font-size: 1.5em;
margin: 2em; margin: 2em;
line-height: 1.6; line-height: 1.6;
@ -48,6 +50,12 @@ body {
color: $gruvbox-fg; color: $gruvbox-fg;
} }
.meta {
font-size: 0.75em;
line-height: 1;
color: $gruvbox-dark2;
}
header { header {
background-color: $gruvbox-dark1; background-color: $gruvbox-dark1;
color: $gruvbox-fg; color: $gruvbox-fg;

View File

@ -10,10 +10,12 @@
<header> <header>
<nav> <nav>
<a href="/"><i class="material-icons">home</i> Home</a> <a href="/"><i class="material-icons">home</i> Home</a>
<a href="/blog">Blog</a> <a href="/blog"><i class="material-icons">book</i>Blog</a>
</nav> </nav>
</header> </header>
<h1 class="title">BEAR.OOPS.WTF</h1> <h1 class="title">BEAR.OOPS.WTF</h1>
<p class="meta">Page created: $date$</p>
<p class="meta">Page last modified: $modified$</p>
<article class="article"> <article class="article">
$body$ $body$
</article> </article>

BIN
static/xertun.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.7 KiB