1286
results for "hugo"
-
Yes, lots of file juggling! One of the challenges is that I run the background tasks like this on 3 servers. Everything in the file system on those servers is kind of like a cache, so it needs to do some prep work before it can run Hugo on any given server.
[manton]
at
2021-04-29 20:35
-
[schmarty] Just catching up… It’s similar to what [jacky] said. I basically run Hugo on a subset of the site first. The theme and all the core files, but only recent posts needed to construct the home page and permalink for the new post that was just written, and I skip updating some pages like the archive or photos list. Then I run a 2nd pass on it with a totally full content folder. (Still tweaking some of this.)
[manton]
at
2021-04-29 20:30
-
So the /2021/04/ archive page is a yaml file with month: 04 and year: 2021. I think having the template query all my posts for every month is probably not optimized at all by hugo but it's just a hunch because it feels like a hack.
[schmarty]
at
2021-04-29 20:02
-
Ah, yeah. Hugo doesn't (didn't) have a way to build date-based archives like /year/month/. So I adopted someone's hack where I make a separate "content page" for each month and the template for those content pages looks up all the posts that fit within that timeframe
[schmarty]
at
2021-04-29 20:00
-
it might be time to revisit my chronological archives on hugo. at the time i could only get them working with what i consider to be weird backflips and i think they probably slow things down.
[schmarty]
at
2021-04-29 18:59
-
kind of assumes that a human won't see it until hugo is done though
[schmarty]
at
2021-04-29 18:40
-
[schmarty]: I wonder if he has the first post one could make as a static template somewhere and just generates that before _actually_ hitting Hugo
jacky
at
2021-04-29 18:36
-
i've thought about trying to make a shrunken/sandboxed copy of my hugo site with just enough templates to build permalink pages and do a first-run where i only give it the new or updated post to build
[schmarty]
at
2021-04-29 16:52
-
for my personal site, my micropub handler writes files, calls hugo to build, and publishes the resulting files. waiting for the full build can be very annoying when i just want a single new post to go up and send webmentions.
[schmarty]
at
2021-04-29 16:51
-
↩️ Hugo or eleventy are most popular. Have a look at https://indieweb.org/static_site_generator for discussions of various ssg's
Loqi
at
2021-04-13 22:30
Sort by:
Filter results by:
Tag
Query took 0s.
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