ivoa / ivoa-web

ivoa.net website static web pages
Creative Commons Attribution Share Alike 4.0 International
3 stars 2 forks source link

Initial porting of existing pages #5

Closed KlaasYK closed 5 months ago

KlaasYK commented 7 months ago

Existing pages can be put under the content/pages/<category> directory. Linking on the main page is done in the content/_index.html using a {{<ref "pages/about/what_is_vo">}} instead of a real URI.

JeremyMcCormick commented 6 months ago

Is the date: field in the markdown files filled in manually?

Possible solution here:

https://bookdown.org/yihui/rmarkdown-cookbook/update-date.html

If so, is this something that should be automated so it doesn't need to be done by hand every time someone modifies a page?

JeremyMcCormick commented 6 months ago

This looks good to me, @KlaasYK.

I'll approve if you actually want to merge it, unless this was supposed to be left up as an example.

KlaasYK commented 6 months ago

@JeremyMcCormick the date is not updated automatically. I think there are options for that in Hugo based on the git date: https://gohugo.io/methods/page/gitinfo/

@molinaro-m I will see if I can replace the iorem ipsum with something more "real" and also include links/images :)

JeremyMcCormick commented 6 months ago

@JeremyMcCormick the date is not updated automatically. I think there are options for that in Hugo based on the git date: https://gohugo.io/methods/page/gitinfo/

Thanks, this looks like exactly what we want - I'll try to play with it locally and when I have a chance.