Skip to content

Calvin-Abstraction/Calvin-Abstraction.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

114 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Calvin Abstraction Website

A Hugo implementation of the Calvin Abstraction Website. https://abs.calvin.edu/ is a proxy to https://calvin-abstraction.github.io/.

Getting Started: Updating Website Content

If you plan to update the website content, it is not required to setup a development environment. Rather, you can directly edit the files ending in .md from within Github and benefit from the continuous deployment. In addition, the GitHub interface allows you to create new files just ensure to suffix .md so Hugo knows it's markdown to parse.

Getting Started: Setting up a Local Environment

If you are interested in changing the theme or checking under the hood of the website, follow these instructions.

Prerequisites

Before working on the website, you will need:

  • Hugo Installed and git (to install a Hugo submodule theme).
  • Know basic git commands: clone, staging/commiting, managing/pushing to remotes.

Instructions

A.

  1. Clone repo and ensure the theme installs
git clone --recurse-submodules [email protected]:Calvin-Abstraction/Calvin-Abstraction.github.io.git

If already cloned,

git submodule update --init --recursive
  1. Run the Hugo server
hugo server -D

Create New Page

To create a normal "webpage", add the name of the page in the content/ directory. Ex:

cat > content/[insert-new-page-name].md
+++
title = "[insert-new-page-name]"
type = "page"
+++

Use Ctrl-D to stop writing to the file.

Creating New Blog Post

To create a blog post with some metadata generated (such as the current timestamp), run:

hugo new posts/my-new-post.md

About

Abstraction (abs) website with GitHub pages

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages