This repository has been archived by the owner on Mar 27, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
WIP: Use static site generator #1
Open
noobymatze
wants to merge
20
commits into
master
Choose a base branch
from
static-site-generator
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hugo is a simple static site generator. These pages are mainly about documentation and thus, are rather static in nature. Using a static site generator instead of a single page application, allows for better SEO, editing experience and results in a plethora of features, like RSS feeds out of the box.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request ports the huntsearch.org homepage to Hugo. Hugo is a popular static site generator, written in Go.
Why a static site generator?
There are several reasons for choosing a static site generator, instead of a SPA framework like Angular, especially for documentation:
Why Hugo?
There are other choices, like AsciiDoc, which has started to become popular for writing documentation, or Hakyll, which is a static site generator, written in Haskell. Ultimately, I just know Hugo and didn't want to fiddle around with compilation rules or port all files from Markdown to AsciiDoc.
Furthermore, the design should be sufficiently simple, that a little bit of custom CSS does the job.
Todos
There are several things still in progress, to get this to a usable state.