These files comprise the old (now non functional) www.mozart-oz.org website. Edits here will take some time to pass through the caching layer, but will change the live site. No other uploads are required, simply change this repository.
Web hosting is provided by Github Pages. Page layout was hard-coded using Bootstrap 2.3
The git repository's master branch is converted to HTML by Github Pages in a preconfigured service fashion, built on the Jekyll static website processor. Jekyll is written in the Ruby, but all you need to update the site is English, eyes, and a keyboard.
This section describes the plain-text markup formats used in producing the site, and the simple procedures for updating the site, including convenient online editing via Github.
For small textual changes you can perform online editing through the Github website. Viewing the page of interest's source file and click "Edit". This brings up an in-browser text editor, and a preview tab for some file formats. This allows you to modify the website without needing to understand git.
The site is written in Markdown, Textile and HTML (in order of decreasing convenience). Markdown is used as much as possible for content-pages, which are expected to be updated by many users, but layouts are in HTML and are not expected to be modified very often. Some HTML content exists where it was copied directly from the Mozart 1 site. Textile might be used for new content containing complex HTML elements such as tables, but it sometimes seems simpler to use HTML.
- .md files are Markdown formatted
- .textile files use Textile, also see RedCloth docs
- .html files are served as-is, though do undergo Liquid preprocessing if the YAML frontmatter is included
If you do not have a text editor which recognises these formats you might like to try Textmate 2 for Mac OS, or the cross-platform Sublime Text 2.
Save all files as UTF-8 unicode WITHOUT BOM. Including a BOM will crash the compilation engine.
If making major changes to the site it is recommended to make them offline, on your computer, and check things work correctly and look ok before uploading to the main site.
In order to modify and view the pages on your computer you should use git as normal (clone the repository, commit local changes, then push to the github remote's master branch).
- Have ruby (1.8.7 or preferably newer) installed, ruby -v
- (sudo) gem install bundler
- (sudo) bundle install
- bundle exec jekyll serve --watch