rbind / njtierney.com

Nick Tierney's website
http://www.njtierney.com/
8 stars 4 forks source link

create a custom layout for talks #27

Open njtierney opened 5 years ago

njtierney commented 5 years ago

see @maelle 's for some inspiration ✨ https://github.com/maelle/simplymaelle/pull/20

maelle commented 5 years ago

Yay! Looking forward to seeing all your public speaking in one place!

From your talk in Korea you had a great selfie with the audience, will it be on the talk page? :wink:

njtierney commented 5 years ago

That would be really neat! I'll try and build in a nice photo thumbnail thingy.

njtierney commented 5 years ago

Just a note here about the templates, from this blogpost:

say you have a "services" content type (/content/services/) and you want the single page to use a different template. You can create /layouts/services/single.html and it will override the default template

So this means I'll have a layouts/talks/single.html page.

maelle commented 5 years ago

Alison has a nice photo thumbnail thingy: https://alison.rbind.io/talks/

maelle commented 5 years ago

And here's the reference reg "lookup order" for templates https://gohugo.io/templates/lookup-order/ :-)

njtierney commented 4 years ago

Thanks! :)

I'm starting to wonder if I should just use someone else's theme now ... but I guess part of my initial use of xmin was to (eventually) teach myself about hugo, so maybe it'll be worth it!

maelle commented 4 years ago

Hehe I've been thinking about that too, maybe switching to academic one day but yes in any case, 1) learning about Hugo is great 2) if we're storing stuff in structured (meta)data and in Markdown files or .Rmarkdown https://bookdown.org/yihui/blogdown/output-format.html (not only Rmd and html) switching will not be horrible.

My favorite Hugo docs page https://gohugo.io/templates/template-debugging/