One plan for pushing language resources to the web en-mass before a full django application is available is to use Hugo and its XML input process to parse OALC/OAI-PMH files (generated with an OAI-PMH bash script) and then convert bibtex entries to xml (using Jabref or commandline) or JSON. The content issue to overcome is that pages in Hugo have to have front matter. The XML and JSON are both content and front matter (or visible front matter). I think I need to generate an .md file for each entry meaning XML data is not really that useful. But there may be hope
Tag Archives: hugo
OLAC documentation
OLAC documentation is going in this theme: https://themes.gohugo.io/themes/hugo-theme-relearn/
Customizing Hugo Wowchemy
The following linked article shows how to make posts appear in isotope format. This can be useful in other contexts too:
https://github.com/wowchemy/wowchemy-hugo-themes/issues/808#issuecomment-751313461
And this blog post for some other very helpful tips:
https://nickballou.com/blog/custom-wowchemy/
Hugo Shortcode list
The list of Hugo Shortcodes on Github is endless... almost endless.
Here are some of the more interesting ones:
Maps with GPX Tracks
* https://github.com/altrdev/hugo-leaflet
* https://github.com/martinschneider/hugo-gpx-shortcode
Archives
* https://github.com/davidsneighbour/hugo-shortcodes
Gallery
- https://github.com/whimSYZ/hugo-gallery-shortcode
- https://github.com/Bishma/hugo-shortcodes/tree/main/image-squash
- https://matze.rocks/images/
- https://github.com/mfg92/hugo-shortcode-gallery
- Photos on a Map: https://tmuguet.gitlab.io/hugo-split-gallery/posts/grand-veymont/
- https://gitlab.com/tmuguet/hugo-split-gallery
Callout:
* https://github.com/mr-islam/hugo-callout
React App and Chart.js
* https://github.com/romankurnovskii/awesome-hugo-shortcodes
Plotly:
https://metalblueberry.github.io/post/howto/2019-11-23_add_plots_with_hugo_shortcodes/
EXIF:
* https://github.com/shombando/shom.dev/commit/7837de9a07fb6bebbd0ba1d4a689cf4cb020a4ad#diff-e09652119eab2b17c2119eefe3e1b9c388520440620609a8d6118cc099930635
* https://github.com/shombando/shom.dev/tree/7837de9a07fb6bebbd0ba1d4a689cf4cb020a4ad
* https://shom.dev/posts/20220128_hugo-photos-with-exif-data/
* https://github.com/Wivik/hugo-shortcodes
Google Contact Form:
* https://github.com/pkgstore-old-01/hugo-ui-shortcodes/blob/main/layouts/shortcodes/form-contact.google.html
Render PDF to the browser:
* https://github.com/sytranvn/hugo-pdf
Analytics:
* https://github.com/holehan/hugo-component-matomo
Podcast feed:
* https://github.com/valeriogalano/podcast-feed-hugo
atom feed:
* https://github.com/jhauraw/hugo-atom-xml-template
Convert to Hugo
* https://github.com/hzmangel/wp2hugo
Sections
* https://cloudcannon.com/blog/the-ultimate-guide-to-hugo-sections/
Hugo and XML
I did not know that Hugo could query XML...
I discovered this.... this is in fact really exciting news.
Three tools for study:
- https://gohugo.io/functions/transform.unmarshal/#xml-data
- https://github.com/gohugoio/hugoDocs/issues/1622
- https://discourse.gohugo.io/t/parsing-xml-in-data-with-hugos-new-xml-support-attributes/36654
Some Hugo things to follow up on…
https://github.com/Shen-Yu/hugo-chart
https://www.awesome-hugo.dev/
https://github.com/HughP/hugo-embed-pdf-shortcode
https://github.com/HughP/hugo-cite
https://www.vojtech.net/posts/hugo-footnotes-popup#fnref:1
https://github.com/HughP/hugobot -- this one looked like a static OAI harvester.
https://github.com/Chrede88/wowchemy-shortcode-figArray/blob/main/layouts/shortcodes/github-Chrede88-figArray.html
https://github.com/Chrede88/wowchemy-shortcode-figArray
https://github.com/wowchemy/wowchemy-hugo-themes/blob/main/modules/wowchemy/layouts/shortcodes/table.html
Part of my reference materials on how I got my fonts to work
https://github.com/wowchemy/wowchemy-hugo-themes/issues/1061
https://scripts.sil.org/ttw/fonts2go.cgi
Hugo Image Gallery
https://christianspecht.de/2020/08/10/creating-an-image-gallery-with-hugo-and-lightbox2/
https://github.com/christianspecht/code-examples/blob/55f6bfbbc5f5dd2e09639161f295e7c8ae17390d/hugo-gallery-example/layouts/shortcodes/gallery.html
https://gitlab.com/tmuguet/hugo-split-gallery/-/tree/main/
https://gitlab.com/tmuguet/hugo-split-gallery/-/tree/main/exampleSite
I wonder if I et a GeoJson file of mexico if that would be good on which to display my mexico photos
https://github.com/charlieegan3/photos/
https://github.com/bep/gallerydeluxe
https://blog.cavelab.dev/2021/04/photo-gallery-posts/
Hugo-git Mobile
What does it take to get a hugo editor in Ios?
What if gitJournal was extended to view and see, hugo structures, and to connect with OS level APIs for media?
cross that with: https://workingcopyapp.com/
HugoWriter
Also for things in a taxonomy, load those into a memory bank.
https://karbonbased.io/posts/2018/11/publishing-with-ipad/
http://evanbrown.io/post/hugo-on-the-go/
https://github.com/GitJournal
SVG Fonts – the learning
SVG Font creation and usage
Today I have been working on an online CV. I needed a button for downloading a PDF version of a PDF. I wanted it to fit in with the Font Awesome and Academicons that my theme uses.
- Not all SVG files are created equally. - The first file I bought did not work with the font editor. But SVGs from the nounproject did.
- There is an online SVG font editor that worked really well for me.
WOFF usage
Another issue for me was the text font. I needed to display some combining diacritics with a clear font.
- There are some really good resources for adding CSS code for font faces...
- I had to learn a little bit about web fonts.
- I wanted to use SIL's CharisSIL font but it is not available via Google Fonts as a web font (but other SIL fonts are: Andika, Gentium Basic, and Gentium Book Basic). So I had to use SIL's down-loadable version and host it locally.
- FontSquirrel is really a great way to look at the base characters in a font. But it does not show renditions of glyphs comprised of bases and combining diacritics.