Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 1.66 KB

readme.org

File metadata and controls

24 lines (14 loc) · 1.66 KB

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.