Skip to content

Latest commit

 

History

History
53 lines (36 loc) · 1.72 KB

website-memo.md

File metadata and controls

53 lines (36 loc) · 1.72 KB

website-memo

The website is build using Xranklin, the dev version of the next major release of Franklin Julia-powered static website generator.

How-to

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/.

Publishing workflow

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)).

Misc

  • 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