Recently I found some html files are not lendered by hugo, like above.
Of course the html files in static are copied but I want to lender all html files in normal content folders when I use iframe tag. For now I avoid these by ‘renaming’: ① just save example.html as example.fig, ② <iframe scr="example.fig"> ③ It works, but unhappy …
I’m using hugo v0.136.0 and I know there is no flag exactly same to --forceSyncStatic, but I believe there are other approach, for example, hugo.toml. Is it?
With v0.123.0 and later, a page resource with a ResourceType of page is not published.
A leaf bundle with resources might look like this:
content/
├── example/
│ ├── a.md <-- resource type = page
│ ├── b.html <-- resource type = page
│ ├── c.adoc <-- resource type = page
│ ├── d.pdc <-- resource type = page
│ ├── e.rst <-- resource type = page
│ ├── f.org <-- resource type = page
│ ├── g.jpg <-- resource type = image
│ ├── h.mp4 <-- resource type = video
│ └── index.md <-- the content
└── _index.md
In the above, g.jpg and h.mp4 are published[1], while the others are not.
We don’t publish page resources with a ResourceType of page because these resources are typically used to contain content that will be included within a page (i.e., snippets).