Evrard Van Espen ad55d7018d
Some checks failed
Build and deploy / Build (push) Failing after 2m12s
DONE
2025-11-20 20:06:28 +00:00
2025-11-20 20:06:28 +00:00
2025-11-20 19:50:39 +00:00
2025-11-14 14:04:40 +00:00
2025-10-30 10:03:35 +00:00
2025-10-30 11:09:38 +00:00
2025-11-18 09:40:07 +00:00
2025-11-18 09:40:07 +00:00
2025-11-20 13:22:03 +00:00
2025-10-30 10:01:10 +00:00
2025-10-30 10:01:10 +00:00
2025-11-14 13:59:36 +00:00
2025-11-18 09:40:07 +00:00
2025-11-18 09:40:27 +00:00
2025-11-14 13:59:46 +00:00

Evrard Van Espen's Blog

This is a personal blog built with Go, using the go-org library to parse Org-mode files and generate HTML content.

Features

  • Parse Org-mode files from the posts directory
  • Generate HTML pages for each post
  • Create an index page with all posts
  • Support for tags and tag pages
  • Syntax highlighting for code blocks
  • Responsive design with SCSS
  • Media handling for images and videos

Installation

  1. Clone the repository:

    git clone https://github.com/evanespen/blog.git
    cd blog
    
  2. Install dependencies:

    go mod download
    

Usage

  1. Add your posts in Org-mode format to the posts directory.

  2. Add the medias of the articles alongside with them

  3. Build the site in dev mode (auto reload):

    ./build-dev.sh
    

    Or with go run .

  4. The generated site will be in the build directory.

Development

  • The main entry point is main.go.
  • Templates are located in the templates directory.
  • SCSS file is styles/main.scss.
  • Utility functions are in utils.go.
  • Media handling is in medias.go.
  • Org-mode parsing is in parse.go.
  • HTML rendering is in render.go.
  • SCSS compilation is in styles.go.
  • Static file copying is in static.go.

TODO

  • code documentation
  • footer
  • resume page
  • contact page
  • responsive
  • RSS
  • favicon
  • search
  • sitemap.xml
  • robots.txt
  • better error handling

License

This project is licensed under the MIT License - see the LICENSE file for details.

Description
No description provided
Readme 21 MiB
Languages
Go 72.2%
SCSS 17.5%
HTML 8.7%
Dockerfile 1.1%
Shell 0.5%