diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..918de83 --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +_site +.sass-cache +.jekyll-cache +.jekyll-metadata +vendor +Gemfile.lock diff --git a/404.html b/404.html new file mode 100644 index 0000000..9d77563 --- /dev/null +++ b/404.html @@ -0,0 +1,11 @@ +--- +permalink: /404.html +layout: default +--- + +
+

404

+ +

Page not found :(

+

The requested page could not be found.

+
diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..161f667 --- /dev/null +++ b/Gemfile @@ -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] diff --git a/_config.yml b/_config.yml new file mode 100644 index 0000000..6e077b0 --- /dev/null +++ b/_config.yml @@ -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/ diff --git a/_layouts/default.html b/_layouts/default.html new file mode 100644 index 0000000..03a6f52 --- /dev/null +++ b/_layouts/default.html @@ -0,0 +1,50 @@ + + + + + + + +{% seo %} + + + {% include head-custom.html %} + + +
+
+
+ {% if site.logo %} + + {% endif %} +

{{ site.title | default: site.github.repository_name }}

+

{{ site.description | default: site.github.project_tagline }}

+
+ + +
+
+ {{ content }} +
+
+ + + diff --git a/_pages/page.md b/_pages/page.md new file mode 100644 index 0000000..134806a --- /dev/null +++ b/_pages/page.md @@ -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) \ No newline at end of file diff --git a/_pages/page2.md b/_pages/page2.md new file mode 100644 index 0000000..169bed6 --- /dev/null +++ b/_pages/page2.md @@ -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. \ No newline at end of file diff --git a/assets/css/style.scss b/assets/css/style.scss new file mode 100644 index 0000000..4d43c92 --- /dev/null +++ b/assets/css/style.scss @@ -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; +} \ No newline at end of file diff --git a/assets/img/orbis_cascade_logo.png b/assets/img/orbis_cascade_logo.png new file mode 100644 index 0000000..8f1aaeb Binary files /dev/null and b/assets/img/orbis_cascade_logo.png differ diff --git a/favicon.ico b/favicon.ico new file mode 100644 index 0000000..2f3caa2 Binary files /dev/null and b/favicon.ico differ diff --git a/index.md b/index.md new file mode 100644 index 0000000..062fccc --- /dev/null +++ b/index.md @@ -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/) \ No newline at end of file