Replies: 1 comment
-
I've given up pushing this particular boulder uphill, and am now using raneto, which is a better fit for my particular use case. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am new to both Hugo and Papermod (ergo, I don't really know what I'm doing). I'm running hugo from a docker container (klakegg/hugo 0.107.0-ext), under podman, locally (for development, before deploying to a podman server/domain setup).
I have a ten year old community forum, which I am wanting to archive before starting a new board. It has in excess of 2000 topics (which translate as posts in hugo), and many tens of thousands of posts (translating to sub-headings within those hugo posts) spread amongst those topics (hugo posts).
I want to create a static site, with search, that archives that forum for the community members, as we move to a new forum.
I have some bash scripts that scrape the site, and convert it to multiple (2391) markdown files with a title denoted by a heading, and users posts within that topic (posts). The markdown files are in the form:
If I put these into posts, and build the site it's tantalisingly close to being useful. Barring some problems - the posts have no title/header (but do display a summary), and the search is clinically slow (several minutes for each letter typed), and eventually displays matches that are just blank boxes (but do link to matched posts).
It's not really functional in this form.
I tried adding headers to the markdown files (I am expecting that you will tell me that this is quite stupid, and not how it works, but it was my best guess on what I could find out).
These were in the form:
...but I got various yaml errors and it wouldn't build (does the config file have to be configured to read the header?).
I feel like this is a good possible fit for what I want to do, but I've stumbled into a dark hole of lack of understanding and knowledge, and there doesn't seem to be a lot of documentation on importing large numbers of files into hugo/papermod (if it's even possible).
Any suggestions, observations, or help, would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions