cssandstuff / hugo-theme-winning

MIT License
50 stars 13 forks source link

Missing content #9

Open nam1962 opened 4 years ago

nam1962 commented 4 years ago

Hi, thank you for this very clean template.

Small problem : content doesn't appear completely, seems to be due to markdown renderer change after 0.60.

aa-private commented 4 years ago

Ok I fixed it. In your config.toml add:

[markup.goldmark.renderer]
unsafe= true
nam1962 commented 4 years ago

Thank you ! I get the content now, bu have alerts :

[meuh@ordi1 hugoBasicExample]$ HUGO_THEME=winning hugo server
Building sites … WARN 2020/08/24 11:33:05 Page.Hugo is deprecated and will be removed in a future release. Use the global hugo function.
WARN 2020/08/24 11:33:05 Page.RSSLink is deprecated and will be removed in a future release. Use the Output Format's link, e.g. something like: 
    {{ with .OutputFormats.Get "RSS" }}{{ .RelPermalink }}{{ end }}
WARN 2020/08/24 11:33:05 found no layout file for "HTML" for kind "section": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/08/24 11:33:05 found no layout file for "HTML" for kind "term": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/08/24 11:33:05 found no layout file for "HTML" for kind "taxonomy": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/08/24 11:33:05 found no layout file for "HTML" for kind "taxonomy": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/08/24 11:33:05 found no layout file for "HTML" for kind "term": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/08/24 11:33:05 found no layout file for "HTML" for kind "term": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/08/24 11:33:05 found no layout file for "HTML" for kind "taxonomy": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/08/24 11:33:05 found no layout file for "HTML" for kind "term": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/08/24 11:33:05 found no layout file for "HTML" for kind "term": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/08/24 11:33:05 found no layout file for "HTML" for kind "term": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/08/24 11:33:05 found no layout file for "HTML" for kind "term": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/08/24 11:33:05 found no layout file for "HTML" for kind "term": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/08/24 11:33:05 found no layout file for "HTML" for kind "term": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/08/24 11:33:05 found no layout file for "HTML" for kind "term": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/08/24 11:33:05 found no layout file for "HTML" for kind "term": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/08/24 11:33:05 found no layout file for "HTML" for kind "term": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.

                   | EN  
-------------------+-----
  Pages            | 27  
  Paginator pages  |  0  
  Non-page files   |  0  
  Static files     |  7  
  Processed images |  0  
  Aliases          |  9  
  Sitemaps         |  1  
  Cleaned          |  0  

Built in 74 ms
Watching for changes in /home/sum/hugoBasicExample/{content,layouts,static,themes}
Watching for config changes in /home/sum/hugoBasicExample/config.toml
Environment: "development"
Serving pages from memory
Running in Fast Render Mode. For full rebuilds on change: hugo server --disableFastRender
Web Server is available at http://localhost:1313/ (bind address 127.0.0.1)
Press Ctrl+C to stop

Trying to download the pdf issues a 404