Template used for pages on fwdekker.com https://static.fwdekker.com/lib/template/
Go to file
Florine W. Dekker c44e97cdbd
Add basic TOC code
2022-09-19 16:18:17 +02:00
src Add basic TOC code 2022-09-19 16:18:17 +02:00
.editorconfig Set up basic template 2020-05-02 23:02:42 +02:00
.gitattributes Set up basic template 2020-05-02 23:02:42 +02:00
.gitignore Fix footer overlap 2020-05-03 18:58:08 +02:00
Gruntfile.js Additionally export storage.js from Minesweeper 2022-03-26 19:33:42 +01:00
LICENSE Update dependencies 2022-02-17 16:00:42 +01:00
README.md Slightly expand README 2022-09-19 16:03:39 +02:00
package-lock.json Add basic TOC code 2022-09-19 16:18:17 +02:00
package.json Add basic TOC code 2022-09-19 16:18:17 +02:00
tsconfig.json Additionally export storage.js from Minesweeper 2022-03-26 19:33:42 +01:00

README.md

FWDekker Template

The base template for pages on fwdekker.com.

This module contains templating functions (e.g. header, footer), CSS libraries, and some common utility methods that are used on nearly all pages anyway.

The main functionality is provided in template.js and template.css. There also exist optional modules for easily reusing common code. Modules should be loaded after template.js and template.css. Currently, the only module is storage.js for interfacing with local storage.

Development

Requirements

Setting up

# Install dependencies (only needed once)
$> npm ci

Building

# Build the template in `dist/` for development
$> npm run dev
# Run the `dev` task and automatically rerun it whenever files are changed
$> npm run dev:server
# Build the template in `dist/` for deployment
$> npm run deploy