title | author | date | output |
---|---|---|---|
README |
TJF |
2018 |
html_document |
This is a collection of messages I've written. The messages are written in Markdown using RStudio, archived on GitHub, and hosted on Netlify.
- Create a new MarkDown doc in
/home/tim/Keep/www/etij.net/tim/Messages/content/posts
(can duplicate an existing one) - Issue command
hugo server -F
from/home/tim/Keep/www/etij.net/tim/Messages
(as it containsconfig.toml
; "F" flag builds future-dated posts) - Navigate to http://localhost:1313/ with a browser
- Edit the doc and see what it looks like in the browser.
To publish the result, commit, push to GitHub, then browse to Netlify:
git add *
git commit -m "..."
git push
- Browse to https://tjfinney-messages.netlify.com/.
Use the full path to an image if using Preview. E.g. ![An old synagogue in Capernaum](/home/tjf2n/Keep/www/etij.net/Tim/Messages/static/images/Capernaum.jpg)
. A short path is used in production. E.g. ![An old synagogue in Capernaum](/images/Capernaum.jpg)
.
To get references to work, click "Preview" in RStudio then push to Github.