Hugo TODO
See original GitHub issue- make sure our folder structure is the proper one for what we want to achieve. Also see if we can make folder nesting level smaller, maybe by using permalinks or something. For content and static.
- can we generate SRI hashes for existent files on the fly? For bootstrap.min.css, bootstrap.*.js, popper.js/1.14.7/umd/popper.min.js. This would simplify things as we could remove the release-sri script
- get image width/height with Hugo when possible (examples images, homepage)
maybe use Hugo Extended version for docs’ CSS?This is now done- bep’s suggestion:
Re.
{{< partial "callout-warning-color-assistive-technologies.md" >}}The partial above uses the
partialfunc to load, parse and execute templates. This has its limitations and is possibly ineffective. I would recommend that you store your callouts (and other content files you want to include) in a so-called headless bundle – and load them via.GetPage. This way you can use markdown + shortcodes etc. - bep’s suggestion:
Ref.
{{ block "header" . }}in yoursingle.htmltemplate. Blocks only make sense inside base template(s) (i.e.baseof.html), which I cannot see. I would highly recommend that you restructure your templates to use them. It removes some repetition. - Fix https://github.com/twbs/bootstrap/blob/6335fbe224f28d2ce65c628756a84113ea65643f/site/layouts/_default/docs.html#L27
- Add a body class like
layout-{{layout}} page-{{kind}}-{{title}}{{ with .Params.body_class }} {{ . }}{{ end }}
Issue Analytics
- State:
- Created 5 years ago
- Comments:26 (19 by maintainers)
Top Results From Across the Web
Hugo | Calendar, meeting notes & tasks all in one place
Make your meetings more productive. Manage your calendar, notes, and tasks in one place. 30000+ teams & pros stay organized, prepared & aligned...
Read more >Hugo M Toro, MD, PA: Board Certified Internal Medicine Katy ...
Trusted Board Certified Internal Medicine serving Katy, TX. Contact us at 281-398-8008 or visit us at 21660 Kingsland Blvd, Suite 300, Katy, TX...
Read more >Hugo TODO · Issue #231 · twbs/blog - GitHub
TODO : social: add back og:site_name=Bootstrap Blog? vnu: ignore the duplicate IDs errors report the issue upstream in Hugo canonical URL is ...
Read more >Add visual reminder on pages with "todo" shortcode - HUGO
I stole that for my hugo documentation site & extended it because I found very useful to have a visual reminder on the...
Read more >hugo - Lo hago todo por ti - Apps on Google Play
What do you want today? With hugo you receive everything you need wherever you are. Order food from your favorite restaurants, drinks, transportation, ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Re sha384 – see https://github.com/gohugoio/hugo/issues/5815 – I will get that in the (big!) release on Monday.
With map files etc. in play, I think a “regular leaf bundle” will do the work, as map etc. files will just be copied to destination.
Curious why you’re running
Fingerprinttwice? Also, I thinkresources.Getis looking for your CSS file relative to the assets directory, so you may need to change your path. I’m happy to pull the repo down and fool around with it if that would be helpful.