Giter Site home page Giter Site logo

gjoncas.github.io's Introduction

Theme Credits

The design for this theme comes from CleanMagicMedium-Jekyll by Lucas Gatsas.
The code I started from is by Katy Chuang, who adapted CleanMagic for Hakyll.
Code by other CleanMagic-hakyll users was also helpful: Benedikt Mayer & Ismail Mustafa.

I've added support for LaTeX thanks to Ng Wei En's blog, implemented with KaTeX.
I've also added an RSS feed thanks to this tutorial, using xoltar's site as a baseline.

I'd love to integrate more elaborate features as I get better with Hakyll.
For now, it seems the best place to find tutorials is here. For help, see here.
I still really want to add in-line code with Haskell's diagrams and/or TikZ.

Building with Stack

A quick recap of how to construct the blog on my computer using the command line:

cd C:\Users\Graham\Documents\GitHub\gjoncas.github.io
stack build
stack exec CleanMagic-hakyll build  #or rebuild if you made changes to site.hs

Then, for a preview of the site (exit on cmd by pressing ctrl+C twice):

stack exec CleanMagic-hakyll watch

Then access the site here:

http://127.0.0.1:8000

Editing vs. Publishing

It's slightly convoluted to go from editing to publishing and vice versa. I'm writing this so I don't forget.

About.md, Project.markdown, Research.markdown and index.html need to be in the main directory when editing.
When posting, put them in pages and replace them with files from _site (About, blog, index, Projects, Research).
When editing, delete html versions of posts; when posting, copy the html posts from _site into the posts folder.

There's probably a more efficient way to do this, but I'm just playing by ear here.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.