marlinstrub / marlinstrub.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Marlin’s personal website

This repository contains the source code for my personal website, which is served at https://www.marlinstrub.com.

Instructions

Development

The site can be served locally via Emacs using simple-httpd. I have tested this with the following straight recipe:

(use-package simple-httpd
  :straight (simple-httpd :host github :repo "skeeto/emacs-web-server"))

First run build.sh and then M-x httpd-serve-directory. Navigate to the public folder when asked for a directory to serve. By default, this will serve the directory at http://localhost:8080/.

Publication

This repository contains the file .github/workflows/publish.yml, which instructs GitHub to generate the site using build.sh whenever a commit is pushed to the main branch. This script will place the generated files in a directory called public and copy the files in this directory to a branch called gh-pages. This branch is then hosted by GitHub.

Acknowledgements

The css stylesheet is a modified version of Nicolas Rougier’s GTD.css. The approach for generating the website with Emacs and hosting it on GitHub pages was inspired by David Wilson’s linked tutorials. The icons on the news site are modified versions of Temuujin SH distributed by svgrepo.com.

About

License:MIT License


Languages

Language:CSS 83.0%Language:Emacs Lisp 16.5%Language:Shell 0.5%