This repo contains the source code of the maoudia.com website. It is built using Hugo + Billeberry theme and hosted on CloudFlare Pages + GitHub Pages.
-
Hugo (0.100.x)
-
Ruby (2.7.x)
-
NodeJS (16.15.x)
-
Asciidoctor with required extensions:
gem install asciidoctor asciidoctor-html5s asciidoctor-rouge
Note
|
To manually upload index.json content to Algolia search index, see Billeberry Algolia-Search.
|
git clone https://github.com/maoudia/www.maoudia.com.git
git submodule update --init --recursive
Update submodules from remote
git submodule update --recursive --remote
Launch a local Hugo server including live reload:
Development
hugo server --debug --buildDrafts --buildExpired --buildFuture --templateMetrics --templateMetricsHints --verbose
Build PWA service worker
npm install && cd scripts && ./sw.sh
Generate SRI
openssl dgst -sha384 -binary path/to/your/file | openssl base64 -A
Please use Unix `LF` line breaks on targeted file to avoid finger-printing issues.