Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

agness/course-website-template

Repository files navigation

Template for a course website

Getting started

Local development

Start the local server by running the following command:

nginx -c /path/to/course-website-template/nginx.conf

Deployment

Run ./deploy.sh from the repository root. This assumes a fully configured somewhere host in your .ssh/config file. An example configuration would be:

Host somewhere
  Hostname design.hogwarts.edu
  User <<<your id>>>
  ForwardAgent yes

Background

This is meant to be a static HTML site. We wanted no build system. But we also wanted DRY includes. Our solution is Server Side Includes, which look like this:

<!--#include virtual="header.html" -->
<h1> Some HTML</h1>
<!--#include virtual="footer.html" -->

Note no space after the opening comment <!-- is allowed. Name all files that will use include statements *.shtml.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published