Template used for pages on fwdekker.com https://static.fwdekker.com/lib/template/
Go to file
Florine W. Dekker 11f66473f3
Add external link icon
Fixes #22.
2022-11-19 00:03:47 +01:00
src Add external link icon 2022-11-19 00:03:47 +01: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 Add separate classes for template elements 2022-11-18 23:43:41 +01:00
package-lock.json Add separate classes for template elements 2022-11-18 23:43:41 +01:00
package.json Add separate classes for template elements 2022-11-18 23:43:41 +01: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 deployment
$> npm run deploy
# Run the `deploy` task and automatically rerun it whenever files are changed
$> npm run deploy:server