Skip to content

Personal website built with Hakyll + Pandoc and Tailwind CSS.

Notifications You must be signed in to change notification settings

ldgrp/ldgrp.github.io

Repository files navigation

Deploy Hakyll with GitHub Pages

My personal website built with Hakyll + Pandoc and TailwindCSS. Hosted on Github Pages.

Requirements

  • GHC 9.2.4
  • Cabal 3.6.2.0
  • npm 8.10.0

Build

cabal clean
cabal update
# Build the site package
cabal build
# Run the Hakyll site build
cabal exec site build 
# Alternatively use watch to automatically rebuild on change
# cabal exec site watch
# Build CSS with Tailwind CLI
npm run build 
# Alternatively use watch to automatically rebuild on change
# npm run watch

Windows: withFile: invalid argument (invalid character)

Fix: Change PowerShell's default encoding to UTF-8

$outputencoding=[console]::outputencoding=[console]::inputencoding=[text.encoding]::utf8