The Stockholm AI website.
To serve the website without the nginx server
jekyll serve
localhost:4000
in your web browserIt is tested to work with jekyll 3.8.5
To serve the website as it is being deployed live, including the nginx server
./local_start.sh
localhost
in your web browserpwd
by runningchcon -Rt svirt_sandbox_file_t `pwd`
If you would like to contribute with content or issues into this repo. Please take a look at our issue page.
We use Jekyll as our rendering tool. Quick introduction:
Example: "Changing the calendar html element to use ical
calendar.html <-- provides the /route of calendar
_layouts/calendar.html <-- gives the "layout of the calendar element
_includes/calendar.html <-- layout takes from _includes directory with the "meet" @jim
_data/*.yml <-- for each page you have access to variables. Example {{ site.organization.title }}
For more details, read documentation
To see the jekyll value of a variable:
{{ variable | inspect }}
./start.sh
convert first-last.jpg -resize 220x220 first-last.jpg
convert photo.jpg -resize 800 photo.jpg
and hold your thumbs that the height will be relatively sane.
ls img/category | xargs file
https://fedoraproject.org/wiki/Montserrat_Fonts
sudo dnf install julietaula-montserrat-fonts
Bold with letter spacing of font_size/12
.
The proportions between letter spacing 11.78
and font size 7.4191
.
pip install yaml requests
python deadlinks.py
_config.yml
[DEPRICATED]NOTE: not applicable for start.sh, only jekyll serve
Changes to _config.yml
does not propagate automatically with jekyll serve
, instead put changing data under _data
and keep the truly static stuff in _config.yml
.
This also has the side-effect that if the _config.yml
is missing when you start the jekyll build --watch
it will just act like it's laking any data and kindly compile everything with missing data (hence the [[ -f _config ]]
check in the start script.
This code derives from y7kim/agency-jekyll-theme and is still distributed via Apache License Version 2.0 (See LICENSE for further information).
To view the changes made from the derived content:
git diff a6ddd100833e7e9f8aa786fec110d97260b76b55 master