webmention and stuff

trunk
Adam Veldhousen 2 years ago
parent c843dca9a5
commit 78bd86f850
Signed by: adam
GPG Key ID: 6DB29003C6DD1E4B

@ -4,8 +4,8 @@ COPY . /opt/
WORKDIR /opt
RUN apk add --no-cache git hugo && \
hugo --verbose --minify --enableGitInfo
RUN apk add --no-cache git hugo make && make build
FROM nginx
COPY --from=builder /opt/public /usr/share/nginx/html

@ -1,4 +1,6 @@
baseURL = "https://vdhsn.com"
keywords = ["Adam Veldhousen", "blog", "software", "life", "health"]
author = "Adam Veldhousen"
languageCode = "en-us"
title = "Adam Veldhousen - Raised Beds"
theme = "digitalgarden"
@ -11,6 +13,7 @@ googleAnalytics = "UA-PROPERTY_ID"
[params]
favicon = "/party-tp.gif"
webmentions = true
[markup]
[markup.highlight]

@ -2,36 +2,31 @@
title: Homepage
---
# Hello 👋
**Welcome to my digital garden!**
I'm Adam V. and I write software for a living, and sometimes for fun.
# Hello 👋
**I'm Adam V. and I build software for a living, and sometimes for fun. I love to learn new things and am curious about about the world.**
[Resume](/resume_2019.pdf) | PGP: [A466CEE1415C0B9C](/gpg.pub) | [My Git Server](https://git.vdhsn.com) | [The code for this blog](https://git.vdhsn.com/adam/garden)
[Resume](/resume_2019.pdf) | PGP: [A466CEE1415C0B9C](/gpg.pub) | [The code for this blog](https://git.vdhsn.com/adam/garden)
## Blogs I'm into lately
- [Lethain](https://lethain.com/)
This is my attempt at a Digital Garden and public learning space. Things will shift and move over time here. The goal isn't to get traffic to this site, but to learn and grow through writing and and exposing my thoughts to the world.
## Links
If you want to start collecting your ideas 💡, curate thought provoking & interesting content 💬  and learn about gardening:
→ [Software](/software)
→ [History of digital gardens](https://maggieappleton.com/garden-history)
→ [Health](/health)
→ [Digital gardening awesome list](https://github.com/maggieappleton/digital-gardeners)
A digital garden is like a personal wiki and a knowledge database of thoughts and ideas. Similar to a traditional garden, a digital one will also container various kinds of content (plants), of which may even be unrelated to each other. Ideas are not refined, thoughts are not tailored. Here is an excellent write-up about the [history of digital gardens](https://maggieappleton.com/garden-history)
Twitter, for some, is also equivalent to a digital garden. It lets you share thoughts and ideas with everyone. But how often do you go back to those tweets? Not often. That's why you need a space for your ideas on the internet **that you own**. Check out `Digital gardens let you cultivate your own little bit of the internet` [post](https://www.technologyreview.com/2020/09/03/1007716/digital-gardens-let-you-cultivate-your-own-little-bit-of-the-internet/) by MIT technology review
## Some blogs I'm into lately
<hr />
→ [Lethain](https://lethain.com/)
Building your own digital garden is not a fad. It's a necessity. Tools like Roam Research, Obsidian and Notion provided means to interlink content, even over a graphical way. Still not sold? Check out [The Digital Garden](https://dev.to/jbranchaud/the-digital-garden-l10) by Josh Branchaud.
Start collecting your ideas 💡, curate thought provoking & interesting content 💬&nbsp; and learn.
[Learn more from a master gardener](https://github.com/maggieappleton/digital-gardeners)

@ -0,0 +1,63 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" href="{{ if (isset .Site.Params "favicon") }}{{ .Site.Params.favicon }}{{ else }}/favicon.ico{{ end }}">
<title>
{{ block "title" . }} {{- .Title }} - {{ .Site.Title -}} {{ end }}
</title>
<meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{if .IsPage}}{{ .Summary }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end -}}" />
{{- if .Keywords }}
<meta name="keywords" content="{{ delimit .Keywords "," }}" />
{{ end -}}
{{- if .Params.Author }}
<meta name="author" content="{{ .Params.Author}}" />
{{ end -}}
{{ hugo.Generator }}
<link rel="stylesheet" href="{{ "/css/main.css" | absURL}}" />
<!-- Katex support -->
{{ if .Params.math }}
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/katex@0.10.0-rc.1/dist/katex.min.css"
integrity="sha384-D+9gmBxUQogRLqvARvNLmA9hS2x//eK1FhVb9PiU86gmcrBrJAQT8okdJ4LMp2uv"
crossorigin="anonymous"
>
<script defer
src="https://cdn.jsdelivr.net/npm/katex@0.10.0-rc.1/dist/katex.min.js"
integrity="sha384-483A6DwYfKeDa0Q52fJmxFXkcPCFfnXMoXblOkJ4JcA8zATN6Tm78UNL72AKk+0O"
crossorigin="anonymous"
></script>
<script defer
src="https://cdn.jsdelivr.net/npm/katex@0.10.0-rc.1/dist/contrib/auto-render.min.js"
integrity="sha384-yACMu8JWxKzSp/C1YV86pzGiQ/l1YUfE8oPuahJQxzehAjEt2GiQuy/BIvl9KyeF"
crossorigin="anonymous"
onload="renderMathInElement(document.body);"
></script>
{{ end }}
{{ if and (isset .Site.Params "webmentions") .Site.Params.webmentions }}
{{ $webmention_username := strings.TrimPrefix "http://" (strings.TrimPrefix "https://" .Site.BaseURL) }}
<link rel="webmention" href="https://webmention.io/{{ $webmention_username }}/webmention" />
<link rel="pingback" href="https://webmention.io/{{ $webmention_username }}/xmlrpc" />
{{ end }}
{{ template "_internal/opengraph.html" . }}
{{ template "_internal/twitter_cards.html" . }}
{{ template "_internal/schema.html" . }}
{{ template "_internal/schema.html" . }}
</head>

@ -15,9 +15,12 @@ publish:
--label="org.opencontainers.image.revision=${SHA}" \
--label="org.opencontainers.image.licenses=MIT" \
--label="org.opencontainers.image.authors=Adam Veldhousen <adam@vdhsn.com>" \
-t vdhsn/garden:latest .
-t vdhsn/garden:latest \
-t vdhsn/garden:${SHA} \
.
docker push vdhsn/garden:latest
docker push vdhsn/garden:${SHA}
build:
hugo --verbose --minify --enableGitInfo

Loading…
Cancel
Save