The new version of DAI website, now statically generated.
If you know how to use git, I recommend to install hugo
and deal with everything locally.
You can use hugo new content/posts/post-title.md
or hugo new content/dai-seminars/seminar-title.md
to generate the file, then edit its content and submit a pull-request.
This will automate a number of changes and will allow you to preview the changes running hugo serve
.
If you don't know how to use git, you can use github web interface to add or upload files and can proceed as described below.
- Create a new file with
.md
extension into thecontent/posts
folter - Copy the content of
archetypes/posts.md
into the file - Edit the content: you need to edit the
title
,date
(in the form "2016-06-02 10:38:48"),categories
fields and replace the<!-- ... -->
part with the post body - Submit the change as a pull-request
- Create a new file with
.md
extension into thecontent/dai-seminars
folter - Copy the content of
archetypes/dai-seminars.md
into the file - Edit the content following the instructions in the file
- Submit the change as a pull-request
To clone this repository locally you should use
git clone --recursive https://github.com/dai-dinamici/dai-dinamici.github.io.git
If you forget the --recursive
flag, you need to clone the submodules by hand. This can be done with
git submodule update --init