1286
results for "hugo"
-
!tell craftyphotons yeah my Hugo site is treated as the source-of-truth for everything, so any queries my Micropub server does is interacting with the repo and parsing any files out of it, or parsing any pre-built files on the public website
jamietanna
at
2020-07-29 22:12
-
The only thing I've thought of so far is that filter on my backend aaronpk, because on the frontend I'm just stuffing them into the appropriate Hugo section when the backend commits to the repo
craftyphotons
at
2020-07-29 19:41
-
!tell @jamietanna aha so does your backend use your actual Hugo git repo as its data store then? I'm gonna use `slug` and `aliases` in that way too but I'm taking a more decoupled approach with my site where Hugo ends up being more of just a publish destination and my system of record is my postgres database behind a Rails app
craftyphotons
at
2020-07-29 19:02
-
jamietanna[m]: aha so does your backend use your actual Hugo git repo as its data store then? I'm gonna use `slug` and `aliases` in that way too but I'm taking a more decoupled approach with my site where Hugo ends up being more of just a publish destination and my system of record is my postgres database behind a Rails app
craftyphotons
at
2020-07-29 19:01
-
!tell [tb] instead of having the `current_permalink_url` and `previous_permalink_urls` with Hugo, I've been using `slug` (to give me the current URL) and `aliases` to store the previous ones, as that'll allow for setting up redirects with Hugo, too!
jamietanna
at
2020-07-28 23:04
-
[tb] with Hugo you may not need the type in the path, you can use front matter to put it in
[KevinMarks]
at
2020-07-28 21:48
-
• Writes it with the appropriate template to my Hugo site under `content/articles/abc123.md` and aliases the page to `content/notes/abc123`
[tb]
at
2020-07-28 20:00
-
• Writes it with the appropriate template to my Hugo site under `content/notes/whatever-its-id.md`
[tb]
at
2020-07-28 20:00
-
Hooray! Successfully created a note in Singulus which it pushed to my Hugo repo and published on the site :D https://github.com/craftyphotons/singulus/blob/main/app/controllers/notes_controller.rb#L17-L27 -> https://github.com/craftyphotons/tonyburns.net/commit/11203bab69114b901856eed4ba8a1a2ace36ce5b -> https://tonyburns.net/notes/de6a9e
craftyphotons
at
2020-07-28 02:11
-
↩️ Definitely happy to chat more on Slack / at #HomebrewWebsiteClub if you're able to join, but my recommendation is generally Hugo. Templating / documentation is not the best, especially if you're not used to Go's templating. I moved from Jekyll last year… https://www.jvt.me/mf2/2020/07/f6hko/
Loqi
at
2020-07-25 12:00
Sort by:
Filter results by:
Tag
Query took 0.01s.
Search tips
- Exclusion
- +foo -bar
- Logical OR
- foo OR bar
- Exact phrase
- "foo bar"
- Partial words
- foo*
- Particular fields only
- title:foo
- domain:example.org
- nick:somebody
- after:2016-11-23
- before:2016-11-23
- date:2016-11-23