Template used for pages on fwdekker.com https://static.fwdekker.com/lib/template/
Go to file
Florine W. Dekker 858e577422
Ensure correct margins in cards
2022-11-20 16:28:39 +01:00
src Ensure correct margins in cards 2022-11-20 16:28:39 +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 Rewrite `template.js` to TypeScript 2022-11-20 16:21:38 +01:00
LICENSE Update dependencies 2022-02-17 16:00:42 +01:00
README.md Rewrite `template.js` to TypeScript 2022-11-20 16:21:38 +01:00
package-lock.json Experimentally sort-of migrate to pico.css 2022-11-19 01:31:37 +01:00
package.json Rewrite `template.js` to TypeScript 2022-11-20 16:21:38 +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. nav, 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 can be used stand-alone. If template.js is used, modules should be loaded after template.js. 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