1288
results for "hugo"
-
you have to flip some config in Hugo, but you can get it to pass html through
[KevinMarks]
at
2021-04-29 21:02
-
[schmarty] Oh, gotcha. Yeah, I basically have a hardcoded list of things that I shouldn’t publish until I have the compete site ready to go. After I run Hugo, I actually rsync the HTML to another server, and I can control what is included before that kicks off.
[manton]
at
2021-04-29 20:53
-
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
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