Bits and pieces about photography, computers and ships.
- SCSS 38.5%
- JavaScript 30.6%
- HTML 24.9%
- Shell 6%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| default | ||
| .gitignore | ||
| .gitlab-ci.yml | ||
| build.sh | ||
| package.json | ||
| README.md | ||
| yarn.lock | ||
Bundling of static assets for the blog
The bundler.sh script goes through every folder and creates a entry for that in the dist output.
default contains the required templates for bokstaever to run. Namely:
base.htmlBase template for the siteìndex.htmlIndex sitepage.htmlTemplate for pages (content without a release date) supplied via the databasepost.htmlTemplate for posts (as in blog posts) supplied via the database
Pages can be configured via a page.env file with the following options:
| Option | Description |
|---|---|
entrypoint |
Template that should be loaded. |
slug |
url slug for the page, e.g. example.com/slug |
headline |
Title for the menu |
menu |
if true the entry is shown in the menu |
All pages are assembled into a fixture which can be loaded into bokstaever.
The images on the index page are resized via the resize.sh script.
Following file formats are bundled:
.vue.scss.js.svg.png.jpg.mp4.ogg