-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set up basic Alliance template elements
- Loading branch information
Showing
11 changed files
with
260 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
_site | ||
.sass-cache | ||
.jekyll-cache | ||
.jekyll-metadata | ||
vendor | ||
Gemfile.lock |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
permalink: /404.html | ||
layout: default | ||
--- | ||
|
||
<div class="container"> | ||
<h1>404</h1> | ||
|
||
<p><strong>Page not found :(</strong></p> | ||
<p>The requested page could not be found.</p> | ||
</div> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
source "https://rubygems.org" | ||
# Hello! This is where you manage which Jekyll version is used to run. | ||
# When you want to use a different version, change it below, save the | ||
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so: | ||
# | ||
# bundle exec jekyll serve | ||
# | ||
# This will help ensure the proper Jekyll version is running. | ||
# Happy Jekylling! | ||
# gem "jekyll", "~> 4.3.3" | ||
# This is the default theme for new Jekyll sites. You may change this to anything you like. | ||
gem "jekyll-theme-minimal", "~> 0.2.0" | ||
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and | ||
# uncomment the line below. To upgrade, run `bundle update github-pages`. | ||
gem "github-pages", "~> 232", group: :jekyll_plugins | ||
# If you have any plugins, put them here! | ||
group :jekyll_plugins do | ||
gem "jekyll-remote-theme" | ||
end | ||
|
||
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem | ||
# and associated library. | ||
platforms :mingw, :x64_mingw, :mswin, :jruby do | ||
gem "tzinfo", ">= 1", "< 3" | ||
gem "tzinfo-data" | ||
end | ||
|
||
# Performance-booster for watching directories on Windows | ||
gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin] | ||
|
||
# Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer versions of the gem | ||
# do not have a Java counterpart. | ||
gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# Welcome to Jekyll! | ||
# | ||
# This config file is meant for settings that affect your whole blog, values | ||
# which you are expected to set up once and rarely edit after that. If you find | ||
# yourself editing this file very often, consider using Jekyll's data files | ||
# feature for the data you need to update frequently. | ||
# | ||
# For technical reasons, this file is *NOT* reloaded automatically when you use | ||
# 'bundle exec jekyll serve'. If you change this file, please restart the server process. | ||
# | ||
# If you need help with YAML syntax, here are some quick references for you: | ||
# https://learn-the-web.algonquindesign.ca/topics/markdown-yaml-cheat-sheet/#yaml | ||
# https://learnxinyminutes.com/docs/yaml/ | ||
# | ||
# Site settings | ||
# These are used to personalize your new site. If you look in the HTML files, | ||
# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on. | ||
# You can create any custom variable you would like, and they will be accessible | ||
# in the templates via {{ site.myvariable }}. | ||
|
||
title: Course Title | ||
email: tech@orbiscascade.org | ||
description: >- # this means to ignore newlines until "baseurl:" | ||
Course description, in _config.yml | ||
baseurl: "" # GitHub repository path, e.g., /systems-librarianship | ||
url: "https://github.orbiscascade.org" # the base hostname & protocol for your site, e.g. http://example.com | ||
logo: "/assets/img/orbis_cascade_logo.png" | ||
|
||
# Build settings | ||
remote_theme: pages-themes/minimal@v0.2.0 | ||
plugins: | ||
- jekyll-remote-theme | ||
|
||
# Include non-standard directories | ||
include: ['_pages'] | ||
|
||
# Exclude from processing. | ||
# The following items will not be processed, by default. | ||
# Any item listed under the `exclude:` key here will be automatically added to | ||
# the internal "default list". | ||
# | ||
# Excluded items can be processed by explicitly listing the directories or | ||
# their entries' file path in the `include:` list. | ||
# | ||
# exclude: | ||
# - .sass-cache/ | ||
# - .jekyll-cache/ | ||
# - gemfiles/ | ||
# - Gemfile | ||
# - Gemfile.lock | ||
# - node_modules/ | ||
# - vendor/bundle/ | ||
# - vendor/cache/ | ||
# - vendor/gems/ | ||
# - vendor/ruby/ |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
<!DOCTYPE html> | ||
<html lang="{{ site.lang | default: "en-US" }}"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
|
||
{% seo %} | ||
<link rel="stylesheet" href="{{ "/assets/css/style.css?v=" | append: site.github.build_revision | relative_url }}"> | ||
<!--[if lt IE 9]> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js"></script> | ||
<![endif]--> | ||
{% include head-custom.html %} | ||
</head> | ||
<body> | ||
<div class="wrapper"> | ||
<div id="side"> | ||
<header> | ||
{% if site.logo %} | ||
<a href="{{ "/" | absolute_url }}" id="logo"> | ||
<img src="{{site.logo | relative_url}}" alt="Logo" /> | ||
</a> | ||
{% endif %} | ||
<h1><a href="{{ "/" | absolute_url }}">{{ site.title | default: site.github.repository_name }}</a></h1> | ||
<p>{{ site.description | default: site.github.project_tagline }}</p> | ||
</header> | ||
<div id="menu"> | ||
<ul> | ||
{% assign sorted_pages = site.pages | sort: "order" %} | ||
{% for page in sorted_pages %} | ||
{% if page.path contains "_pages/" %} | ||
<li><a href="{{ page.url }}">{{ page.title }}</a></li> | ||
{% endif %} | ||
{% endfor %} <!-- page --> | ||
</ul> | ||
</div> | ||
<footer> | ||
{% if site.github.is_project_page %} | ||
<p>This project is maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a></p> | ||
{% endif %} | ||
<p><small>Hosted on GitHub Pages<br />Minimal theme by <a href="https://github.com/orderedlist">orderedlist</a></small></p> | ||
</footer> | ||
</div> | ||
<section> | ||
{{ content }} | ||
</section> | ||
</div> | ||
<script src="{{ "/assets/js/scale.fix.js" | relative_url }}"></script> | ||
</body> | ||
</html> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
layout: default | ||
title: Page Title | ||
permalink: /page | ||
order: 1 | ||
--- | ||
|
||
# {{ page.title }} | ||
|
||
This is a basic page template. Set the title, permalink, and order in the frontmatter, above. | ||
|
||
[Next page](/page2) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
layout: default | ||
title: Second Page | ||
permalink: /page2 | ||
order: 2 | ||
--- | ||
|
||
# {{ page.title }} | ||
|
||
This is an example of a second page in the menu. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
--- | ||
--- | ||
|
||
@import "{{ site.theme }}"; | ||
|
||
body { | ||
color: #333; | ||
font-size: 1rem; | ||
} | ||
|
||
a:hover, a:focus, a:active { | ||
font-weight: inherit; | ||
text-decoration: underline; | ||
} | ||
|
||
h1 { | ||
font-size: 200%; | ||
} | ||
|
||
h2 { | ||
font-size: 150%; | ||
} | ||
|
||
h3 { | ||
font-size: 130%; | ||
} | ||
|
||
small { | ||
font-size: 90%; | ||
} | ||
|
||
.wrapper { | ||
width: 1160px; | ||
} | ||
|
||
#side { | ||
position: fixed; | ||
width: 260px; | ||
} | ||
|
||
a#logo { | ||
display: inline-block; | ||
margin-bottom: 1rem; | ||
} | ||
|
||
header { | ||
float: none; | ||
width: 100%; | ||
position: relative; | ||
} | ||
|
||
section { | ||
float: none; | ||
margin-left: 290px; | ||
width: auto; | ||
} | ||
|
||
footer { | ||
float: none; | ||
width: 100%; | ||
position: relative; | ||
bottom: auto; | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
layout: default | ||
title: Home | ||
--- | ||
|
||
# {{ page.title }} | ||
|
||
This is the homepage of the course. | ||
|
||
## Adding Pages | ||
|
||
Add and edit pages within the /pages directory. [Example](/page) | ||
|
||
Set the titles, permalinks, and order in the frontmatter. (Between the lines of three dashes at the top.) | ||
|
||
All pages will appear in the menu to the left. For example, the page with an order of 1 will appear first in the list. | ||
|
||
## Markdown | ||
|
||
All pages are written in Markdown. See [Basic Syntax](https://www.markdownguide.org/basic-syntax/) |