Skip to content

krksgbr/krks.info

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

https://krks.info

My personal webpage made with nix and hakyll.

Development

A development environment is provided through nix-shell.

Things made available in the development environment:

  • ghc
  • cabal
  • hakyll
  • netlify-cli
  • a script to resize images
  • some aliases to interact with hakyll

Special commands available in nix-shell

prepareImages process images found at content/raw-images. save different sizes (for src-set) to content/images

watch Recompile when sources change and run development server

build Build the site

rebuild Remove _cache and _site and build site

deploy Deploy site to netlify

Netlify secrets

The following netlify-specific variables need to be exported before invoking nix-shell

  • NETLIFY_AUTH_TOKEN (can be obtained here)
  • NETLIFY_SITE_ID (can be found here)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published