Static side generator source for public website nachtdesheiligtums.de (in development).
Rohbau is a starting pack for static websites with some sane, opinionated defaults.
It is based on Jekyll, Bulma CSS and Netlify CMS.
gem install jekyll bundler
_config.yml
to configure your sitemake serve
http://localhost:8310/
(port can be configured in _config.dev.yml
)_config.yml
source/admin/config.yml
to customize content types (see Getting started)Optimizers are not strictly required but nice tools to keep file sizes small and validate output.
wget https://mozjpeg.codelove.de/bin/mozjpeg_3.1_amd64.deb
dpkg -i libmozjpeg_3.1_amd64.deb
npm install -g svgo
sudo apt install tidy
brew install tidy-html5
make build
- build site into build directory (_build
)make optimize
- run optimizers (HTML, XML, JPG, SVG)make validate
- run validations (default: linkchecker)Folder structure:
_config.yml
- site settings (Jekyll configuration)_config.<ENV>.yml
- environment-specific site settings (Jekyll configuration)Gemfile
- contains Ruby gems used by Jekyll.gitlab-cy.yml
- CI configuration for Gitlab CI_build
- build destinationbin/
- tools for development, building, deploysource/
- site root folder (Jekyll source
)
_data
- Jekyll data files_includes
- Jekyll includes_layouts
- Jekyll page layouts_locales
- I18N data for Jekyll plugin_pages
- collection for standard pages (like sitemap, imprint)_plugins
- Jekyll plugins (default: simple L10N plugin)_posts
- Blog postssass
- Style sheetsadmin
- Netlify CMSassets
- static images, javascript, css etc.flickr_album
and flickr_photo
tags can be used to insert images from Flickr. The only argument is the album or photo ID which can be extracted from the URL on the flickr website.
{% flickr_album 72157623090077850 %}
or:
{% flickr_photo 12342345455 %}