The website is build using Xranklin, the dev version of the next major release of Franklin Julia-powered static website generator.
Make sure to have the Xranklin package added:
julia> ]
(@v1.9) pkg> add https://github.com/tlienart/Xranklin.jl
To test the website locally (or after making a pull from Git), cd
to the local GPU4GEO repo and:
julia> ]
(@v1.9) pkg> activate .
julia> using Xranklin
julia> serve(clear=true)
If nothing shows up, open a browser and heat to http://localhost:8000/
.
Most of the publishing workflow will result in adding markdown .md
files in the /posts
folder to be displayed in the News page.
Make sure to edit the meta data accordingly, from e.g.:
+++
using Dates
title = "Placeholder Text"
date = Date(2019, 3, 9)
reading_time = "2-minute read"
tags = ["markdown", "text"]
+++
Assets (mostly png
, gif
) should be placed in /_assets/images and linked using a relative path omitting the underscore(s) (e.g., from a markdown file within the posts folder: ![my_image](../../assets/images/my_image.png)
).
- This website builds upon the coder-xranklin-demo.
- Site-wide config should be placed and handled in /config.md.
- More advanced styling can be tweaked in the _css and _layout folders.
- This memo lists some advanced feature that could apply to this website as well