Compare commits

...

2 Commits

Author SHA1 Message Date
hedy c06d228e85
Update hello world post 2024-04-11 11:43:39 +08:00
hedy bdf4b6bc54
Switch to TOML frontmatter for content and archetypes 2024-04-11 11:42:22 +08:00
17 changed files with 122 additions and 172 deletions

View File

@ -1,11 +1,9 @@
--- +++
title: "{{ replace .Name "-" " " | title }}" title = "{{ replace .Name "-" " " | title }}"
date: {{ .Date }} date = {{ .Date }}
draft: true draft = true
outputs: outputs = ['html', 'gemtext']
- html slug = {{ .Name }}
- gemtext +++
slug: {{ .Name }}
---

View File

@ -1,15 +1,14 @@
--- +++
{{ $title := slicestr (replace .Name "-" " ") 11 -}} {{ $title := slicestr (replace .Name "-" " ") 11 -}}
title: {{ $title | title }} title = {{ $title | title }}
description: {{ strings.FirstUpper $title }} description = {{ strings.FirstUpper $title }}
highlight: false highlight = false
draft: true draft = true
date: {{ .Date }} date = {{ .Date }}
outputs: draft = true
- html outputs = ['html', 'gemtext']
- gemtext slug = {{ slicestr .Name 11 }}
slug: {{ slicestr .Name 11 }} +++
---

View File

@ -1,9 +1,7 @@
--- +++
title: home outputs = ['html', 'gemtext']
outputs: title = 'home'
- html +++
- gemtext
---
<center class="hero" style="margin-bottom: 5rem;"> <center class="hero" style="margin-bottom: 5rem;">

View File

@ -1,12 +1,9 @@
--- +++
date: 2021-08-03 date = '2021-08-03'
title: "About" description = 'Where people can find me online and software I use'
outputs: outputs = ['html', 'gemtext']
- html title = 'About'
- gemtext +++
description: "Where people can find me online and software I use"
---
## Places online ## Places online

View File

@ -1,14 +1,11 @@
--- +++
title: "Tilde.Cafe Spotlight" date = '2022-03-27T15:50:41+08:00'
date: 2022-03-27T15:50:41+08:00 description = 'Shiny cool stuff by fellow tilde.cafe users'
draft: false draft = false
outputs: outputs = ['html', 'gemtext']
- html slug = 'cafe-spotlight'
- gemtext title = 'Tilde.Cafe Spotlight'
slug: cafe-spotlight +++
description: "Shiny cool stuff by fellow tilde.cafe users"
---
View on gemini to check out the spotlight for gemini://tilde.cafe! View on gemini to check out the spotlight for gemini://tilde.cafe!

View File

@ -1,13 +1,10 @@
--- +++
title: "Misc" date = '2023-01-25T15:52:35+08:00'
date: 2023-01-25T15:52:35+08:00 description = 'Links to miscellaneous things on this site'
draft: false draft = false
outputs: outputs = ['html', 'gemtext']
- html slug = 'misc'
- gemtext title = 'Misc'
slug: misc +++
description: "Links to miscellaneous things on this site"
---
- [~Cafe Spotlight](../cafe-spotlight/) — Showcase of cool things on tilde.cafe - [~Cafe Spotlight](../cafe-spotlight/) — Showcase of cool things on tilde.cafe

View File

@ -1,5 +1,5 @@
Hello hugo
hope it works! hope it works!
*test* <- shouldn't render as markdown *test* <- shouldn't render as markdown
=> ../.. back to index

View File

@ -1,14 +1,11 @@
--- +++
title: "Hello" date = '2021-02-05T01:44:15Z'
date: 2021-02-05T01:44:15Z description = "I'm alive!"
draft: false draft = true
description: "I'm alive!" outputs = ['html', 'gemtext']
tags: tags = ['test']
- test title = 'Hello world'
outputs: +++
- html
- gemtext
---
Hello hugo Hello hugo

View File

@ -1,14 +1,11 @@
--- +++
title: "How this site works" date = '2021-02-23'
description: "A walkthrough of my workflows for the site and a gentle introduction to tilde.cafe and the Tildeverse." description = 'A walkthrough of my workflows for the site and a gentle introduction to tilde.cafe and the Tildeverse.'
date: 2021-02-23 draft = false
draft: false outputs = ['html', 'gemtext']
outputs: slug = 'site-meta'
- html title = 'How this site works'
- gemtext +++
slug: "site-meta"
---
<details open> <details open>
<summary>2023 Update</summary> <summary>2023 Update</summary>

View File

@ -1,16 +1,12 @@
--- +++
title: "On rants about gemini" date = '2021-06-15'
date: 2021-06-15 description = 'A discussion about Gemini and addressing some of the complaints of the Gemini Protocol seen on the internet recently.'
draft: false draft = false
tags: outputs = ['html', 'gemtext']
- gemini slug = 'on-rants-gemini'
outputs: tags = ['gemini']
- html title = 'On rants about gemini'
- gemtext +++
slug: "on-rants-gemini"
description: "A discussion about Gemini and addressing some of the complaints of the Gemini Protocol seen on the internet recently."
---
Recently there've been some discussions about how Gemini "doesn't fix anything" on Lobste.rs: Recently there've been some discussions about how Gemini "doesn't fix anything" on Lobste.rs:

View File

@ -1,18 +1,13 @@
--- +++
title: "Managing multiple emails for git across different computers" date = '2021-06-16T23:50:00Z'
outputs: description = 'How to have different git author configurations depending on the computer and have it tracked with dotfiles.'
- html draft = false
- gemtext highlight = true
tags: outputs = ['html', 'gemtext']
- git slug = 'multiple-emails-git'
- howto tags = ['git', 'howto']
date: 2021-06-16T23:50:00Z title = 'Managing multiple emails for git across different computers'
draft: false +++
slug: "multiple-emails-git"
highlight: true
description: "How to have different git author configurations depending on the computer and have it tracked with dotfiles."
---
As someone who code on multiple machines to work on different projects, I like to commit with different emails. As someone who code on multiple machines to work on different projects, I like to commit with different emails.

View File

@ -1,15 +1,11 @@
--- +++
title: "Another Test" date = '2021-06-20T13:33:27Z'
date: 2021-06-20T21:33:27+08:00 draft = true
draft: true outputs = ['html', 'gemtext']
outputs: slug = 'another-test'
- html tags = ['test']
- gemtext title = 'Another Test'
tags: +++
- test
slug: another-test
---
this is another test post this is another test post
it's for testing whether my atom feed for gemini works. it's for testing whether my atom feed for gemini works.

View File

@ -1,17 +1,13 @@
--- +++
title: "Setting up syntax highlighting for Hugo" date = '2021-08-22'
highlight: true description = "How I've set up syntax highlighting for my website with dark mode support."
date: 2021-08-22 draft = false
draft: false highlight = true
outputs: outputs = ['html', 'gemtext']
- html slug = 'hugo-syntax-highlighting'
- gemtext tags = ['howto']
slug: hugo-syntax-highlighting title = 'Setting up syntax highlighting for Hugo'
tags: +++
- howto
description: "How I've set up syntax highlighting for my website with dark mode support."
---
Hugo uses [chroma](https://github.com/alecthomas/chroma) as its syntax Hugo uses [chroma](https://github.com/alecthomas/chroma) as its syntax
highlighter. All you basically need for having your code highlighted is to let highlighter. All you basically need for having your code highlighted is to let

View File

@ -1,17 +1,13 @@
--- +++
title: "Vim visual block mode for column editing" date = '2024-04-10T05:22:46Z'
description: The visual block mode in Vim/Neovim is quite powerful. You can use it for "column" editing and vertically pasting blocks of text similar to paste(1). description = 'The visual block mode in Vim/Neovim is quite powerful. You can use it for "column" editing and vertically pasting blocks of text similar to paste(1).'
date: 2024-04-10T13:22:46+08:00 draft = false
draft: false footnotes_heading = 'Footnotes'
outputs: outputs = ['html', 'gemtext']
- html slug = 'vim-column-editing'
- gemtext tags = ['howto']
tags: title = 'Vim visual block mode for column editing'
- howto +++
slug: vim-column-editing
footnotes_heading: Footnotes
---
The visual block mode in Vim lets you edit text simultaneously across adjacent The visual block mode in Vim lets you edit text simultaneously across adjacent
lines, similar to the "Alt-drag" feature in modern editors, but there's more you lines, similar to the "Alt-drag" feature in modern editors, but there's more you

View File

@ -1,12 +1,7 @@
--- +++
title: Posts outputs = ['html', 'gemtext', 'gematom', 'rss']
outputs: title = 'Posts'
- html +++
- gemtext
- gematom
- rss
---
These are my long-form musings. I aim to write at least twice a year, but over These are my long-form musings. I aim to write at least twice a year, but over
the past two years I have clearly failed in this aspect. I'll try to write more the past two years I have clearly failed in this aspect. I'll try to write more

View File

@ -1,13 +1,10 @@
--- +++
date: 2021-08-03 date = '2021-08-03'
title: "Projects" description = 'My Projects'
outputs: draft = true
- html outputs = ['html', 'gemtext']
- gemtext title = 'Projects'
description: "My Projects" +++
draft: true
---
Hey! Thanks for visiting this page! I haven't had the time to write this yet... but you can Hey! Thanks for visiting this page! I haven't had the time to write this yet... but you can
have a look at my repos [here](https://sr.ht/~hedy). have a look at my repos [here](https://sr.ht/~hedy).

View File

@ -1,4 +1,3 @@
--- +++
title: "all tags" title = 'all tags'
+++
---