A scalajs-react and bootstrap v4 based blog template.
- JDK 8
- SBT
- Ammonite 0.8.5
TBD...
config/config.json_project/src- ...
Create a new post by executing the Publish.sc script in the _build directory:
cd _build
amm Publish.sc "Some crafty title"By executing the NewArticle.sc script, you will be presented with a simple Swing dialogue. Here you can enter relevant metadata and attach an image if you wish. The image will be copied into the _posts directory together with the generated markdown file.
cd _build
amm NewArticle.scWhen you're done editing your markdown formatted post, it needs to be converted to an HTML file to be visible on your site. To convert your posts to HTML run the Publish.sc script without any arguments.
cd _build
amm Publish.scThe generated HTML files can be found in the posts directory.
cd _project
sbt fullOptJS