patrick@bookra:/dev/pts/1>~/Projects/dnb-hugo
[09:24:39][patrick@bookra] ~/Projects/dnb-hugo (+1|%0|!16877|0)
❯ curl -sO https://s.natalian.org/2020-12-06/tips-listing-missing.zip
patrick@bookra:/dev/pts/1>~/Projects/dnb-hugo
[20:03:11][patrick@bookra] ~/Projects/dnb-hugo (+1|%0|!16878|0)
❯ unzip tips-listing-missing.zip
Archive: tips-listing-missing.zip
inflating: Makefile
creating: public/
inflating: public/index.html
creating: resources/
creating: resources/_gen/
creating: resources/_gen/assets/
creating: resources/_gen/images/
inflating: config.toml
creating: themes/
creating: data/
creating: static/
creating: archetypes/
inflating: archetypes/default.md
creating: content/
creating: content/tips/
extracting: content/tips/_index.md
creating: content/tips/bar/
inflating: content/tips/bar/test2.md
creating: content/tips/foo/
inflating: content/tips/foo/test1.md
inflating: content/index.md
creating: layouts/
creating: layouts/_default/
inflating: layouts/_default/list.html
extracting: layouts/_default/single.html
patrick@bookra:/dev/pts/1>~/Projects/dnb-hugo
[20:03:18][patrick@bookra] ~/Projects/dnb-hugo (+1|%0|!16879|0)
❯ hugo
Start building sites …
| EN
-------------------+-----
Pages | 10
Paginator pages | 0
Non-page files | 0
Static files | 0
Processed images | 0
Aliases | 0
Sitemaps | 1
Cleaned | 0
Total in 144 ms
patrick@bookra:/dev/pts/1>~/Projects/dnb-hugo
[20:03:22][patrick@bookra] ~/Projects/dnb-hugo (+1|%0|!16849|0)
❯ ls -al public/
total 28
drwxr-xr-x 4 patrick patrick 4096 Dec 6 20:03 .
drwxrwxr-x 28 patrick patrick 4096 Dec 6 20:03 ..
drwxrwxr-x 2 patrick patrick 4096 Dec 6 20:03 categories
-rw-rw-r-- 1 patrick patrick 98 Dec 6 20:03 index.html
-rw-rw-r-- 1 patrick patrick 707 Dec 6 20:03 index.xml
-rw-rw-r-- 1 patrick patrick 438 Dec 6 20:03 sitemap.xml
drwxrwxr-x 2 patrick patrick 4096 Dec 6 20:03 tags
patrick@bookra:/dev/pts/1>~/Projects/dnb-hugo
[20:03:45][patrick@bookra] ~/Projects/dnb-hugo (+1|%0|!16850|0)
❯
I can do CLI too
It creates categories and tag pages, but not the tips section and not the posts in tips itself. So something else might be weirdly set up. Let’s wait until someone else has a look (pinging @jmooring who has eagle eyes for these kinds of things).
This works. If not, run hugo and not hugo --lotsofparameters
And it says 5 pages because overview pages (for instance for the tags) will also count. It did in both cases (wrong index.md file name and proper file name) tell me it created 10 pages. Weird indeed.
However I humbly request that you refrain from posting external videos with recorded replies as these may be removed in the future and forum topics will end up being incoherent with part of the discussion missing.
Thanks.
P.S. I’ll have a look at that ZIP file and let you know once I see what’s going on.