Commit 379835dc authored by Anna Wilson's avatar Anna Wilson
Browse files

Initial commit

parents
_site
.sass-cache
.jekyll-metadata
.jekyll-cache
.DS_Store
public/
_data/events/*.csv
_data/regnum.json
\ No newline at end of file
image: ruby:2.6
variables:
JEKYLL_ENV: production
cache:
paths:
- vendor/
before_script:
- curl -o _data/regnum.json https://scripts.drachenwald.sca.org/json/regnum-officers-box.json
- bundle install --path vendor
pages:
stage: deploy
script:
- bundle exec jekyll build -d public
artifacts:
expire_in: 1 hour
paths:
- public
only:
- staging
---
title: 404
subtitle: "Page not found :("
---
<p align="center">
This wasn't our intention, we assure you! We would love to hear about the broken link so we can make sure it gets some TLC.
</p>
\ No newline at end of file
FROM ruby:2.6
VOLUME ["/build"]
WORKDIR /build
EXPOSE 4000
RUN apt-get update && \
apt-get install -y locales && \
locale-gen en_US.UTF-8 && \
localedef -i en_US -f UTF-8 en_US.UTF-8
ENV LC_ALL="C.UTF-8"
ENV LANG="en_US.UTF-8"
ENV LANGUAGE="en_US.UTF-8"
CMD bundle install && bundle exec jekyll serve --watch --host 0.0.0.0
\ No newline at end of file
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.2"
# 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", group: :jekyll_plugins
# If you have any plugins, put them here!
group :jekyll_plugins do
gem "jekyll-feed", "~> 0.15"
gem "jekyll-redirect-from"
end
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
gem "kramdown-parser-gfm"
\ No newline at end of file
GEM
remote: https://rubygems.org/
specs:
addressable (2.7.0)
public_suffix (>= 2.0.2, < 5.0)
colorator (1.1.0)
concurrent-ruby (1.1.8)
em-websocket (0.5.2)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0.6.0)
eventmachine (1.2.7)
ffi (1.15.0)
forwardable-extended (2.6.0)
http_parser.rb (0.6.0)
i18n (1.8.10)
concurrent-ruby (~> 1.0)
jekyll (4.2.0)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
i18n (~> 1.0)
jekyll-sass-converter (~> 2.0)
jekyll-watch (~> 2.0)
kramdown (~> 2.3)
kramdown-parser-gfm (~> 1.0)
liquid (~> 4.0)
mercenary (~> 0.4.0)
pathutil (~> 0.9)
rouge (~> 3.0)
safe_yaml (~> 1.0)
terminal-table (~> 2.0)
jekyll-feed (0.15.1)
jekyll (>= 3.7, < 5.0)
jekyll-redirect-from (0.16.0)
jekyll (>= 3.3, < 5.0)
jekyll-sass-converter (2.1.0)
sassc (> 2.0.1, < 3.0)
jekyll-watch (2.2.1)
listen (~> 3.0)
kramdown (2.3.1)
rexml
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
liquid (4.0.3)
listen (3.5.1)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
mercenary (0.4.0)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (4.0.6)
rb-fsevent (0.10.4)
rb-inotify (0.10.1)
ffi (~> 1.0)
rexml (3.2.5)
rouge (3.26.0)
safe_yaml (1.0.5)
sassc (2.4.0)
ffi (~> 1.9)
terminal-table (2.0.0)
unicode-display_width (~> 1.1, >= 1.1.1)
unicode-display_width (1.7.0)
PLATFORMS
ruby
DEPENDENCIES
jekyll (~> 4.2)
jekyll-feed (~> 0.15)
jekyll-redirect-from
kramdown-parser-gfm
tzinfo-data
BUNDLED WITH
1.17.2
# 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.
# 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: Principality of Insulae Draconis
email: webminister@insulaedraconis.org
description: > # this means to ignore newlines until "baseurl:"
The Middle Ages - learn history by living it.
baseurl: "" # the subpath of your site, e.g. /blog
url: "" # the base hostname & protocol for your site, e.g. http://example.com
# twitter_username: jekyllrb
# github_username: jekyll
# Build settings
markdown: kramdown
plugins:
- jekyll-feed
- jekyll-redirect-from
# Exclude from processing.
# The following items will not be processed, by default. Create a custom list
# to override the default setting.
exclude:
- Gemfile
- Gemfile.lock
- node_modules
- vendor/
# - vendor/bundle/
# - vendor/cache/
# - vendor/gems/
# - vendor/ruby/
sass:
sass_dir: assets/css
defaults:
-
scope:
path: ""
values:
layout: "page"
top:
- title: Events
submenu:
- page: Calendar
url: /events/
- page: Raglan Fair
url: /events/raglan/
- page: Coronet Tournament
url: /coronet/CoronetTourney.html
- title: Activities
url: /activities/
submenu:
- page: Activities
url: /activities/
- page: Archery
url: /activities/Archery/
- page: Armoured Combat
url: /activities/ArmouredCombat/
- page: Arts and Sciences
url: /activities/AandS/
- page: Bardic Performance and Dance
url: /activities/AandS/bardicanddancing.html
- page: Competitions and Awards
url: /activities/AandS/competitions.html
- page: Cooking and Feasting
url: /activities/AandS/cookingandfeasting.html
- page: Heraldry
url: /activities/Heraldry/
- page: Rapier fighting
url: /activities/Rapier/
- page: Scribal Arts
url: /activities/AandS/scribalarts.html
- page: The Protectors Tournaments
url: /activities/protectors/
- title: Meet their Highnesses
url: /coronet/
submenu:
- page: Prince and Princess
url: /coronet/
- page: Royal Progress
url: /coronet/#progress
- page: Coronet Tourney
url: /coronet/coronet-tourney.html
- page: Recommend someone for an Award
url: /coronet/recommend.html
- page: Previous Reigns
url: /coronet/past.html
- title: Library
url: /library/
submenu:
- page: Newcomers
url: /newcomers/
subsubmenu:
- page: Contact the Castellan
url: /newcomers/chatelaine.html
- page: Jargonbusters
url: /newcomers/jargonbuster.html
- page: "Read members' stories"
url: /newcomers/whyijoined.html
- page: What to expect at your first event
url: /newcomers/whattoexpect.html
- page: Finding a local group
url: /library/useful-resources/findingalocalgroup.html
- page: Resources of local Groups
url: /library/group-resources/
subsubmenu:
- page: Bidding for Events
url: /library/group-resources/biddingforevents.html
- page: How to start a local group
url: /library/group-resources/howtosetup.html
- page: Resources for running an Event
url: /library/Howtos/RunninganEvent.html
- page: Find a Principality Officer
url: /governance/FindanOfficer.html
- page: "You're a Shire officer, what now?"
url: /library/group-resources/newshireofficers.html
- page: Principality Law
url: /library/Publications/PrincipalityLaw.html
- page: Library
url: /library/
- page: How tos and Guides
url: /library/Howtos/
- page: The Baelfyr (newsletter)
url: /baelfyr/
- title: Contact
url: /governance/FindanOfficer.html
submenu:
- page: Contact an Officer
url: /governance/find-an-officer
- page: Find a local group
url: /library/useful-resources/findingalocalgroup
\ No newline at end of file
- title: Seneschal
titleingroups: Seneschal
slug: seneschal
emblem: "/images/officer-emblems/seneschal.gif"
- title: Exchequer
titleingroups: Exchequer
slug: exchequer
emblem: "/images/officer-emblems/exchequer.gif"
- title: Chatelaine
titleingroups: Chatelaine
slug: chatelaine
emblem: "/images/officer-emblems/chatelaine.gif"
desc: "The Castellan, also known as the Chatelaine, is responsible a team of chatelaines who are charged with assisting newcomers find their way in Insulae Draconis. They are here to help, so don't be afraid to ask!"
- title: Minister of Arts and Sciences
titleingroups: Minister of Arts and Sciences
slug: moas
emblem: "/images/officer-emblems/moas.gif"
desc: "The Minister of Arts and Sciences of Insulae Draconis oversees arts and sciences within Insulae Draconis."
- title: Rockall Herald
titleingroups: Herald
slug: herald
emblem: "/images/officer-emblems/rockall.gif"
desc: "Rockall Herald is responsible for heralding and heraldry in Insulae Draconis."
- title: Knight Marshal
titleingroups: Armoured Combat Marshal
slug: armoured-combat-marshal
emblem: "/images/officer-emblems/knightmarshal.gif"
desc: "The Knight Marshal oversees all aspects of armoured combat in Insulae Draconis."
- title: Lieutenant General of Archers
titleingroups: Archery Marshal
slug: archery-thrown-marshal
emblem: "/images/officer-emblems/lgarchers.gif"
desc: "The Lieutenant General of Archers of Insulae Draconis oversees archery activities within Insulae Draconis."
report: "https://docs.google.com/forms/d/e/1FAIpQLSf8lHRzZ0KIi8C6xaKb4mBcNFtQhdT8K0lMVq0Chy7WKOxJ1w/viewform?vc=0&c=0&w=1&fbclid=IwAR18E_S1RB6gYVT3BZLwopkNMxnyIhskKY7002c3tTynfmosX4x_4wXVlwo"
- title: Rapier Marshal
titleingroups: Fencing Marshal
slug: fencing-marshal
emblem: "/images/officer-emblems/rapiermarshal.gif"
desc: "The Rapier Marshal oversees all aspects of rapier combat in Insulae Draconis."
- title: Chronicler
titleingroups: Chronicler
slug: chronicler
emblem: "/images/officer-emblems/chronicler.gif"
- title: Signet Clerk
titleingroups: Signet Clerk
slug: signet
emblem: "/images/officer-emblems/chancery.gif"
desc: "The Signet is an officer whose responsibility is coordinating the production of those scrolls given out with awards."
- title: Web Minister
titleingroups: Web Minister
slug: webminister
emblem: "/images/officer-emblems/webminister.gif"
- title: Social Media Minister
titleingroups: Social Media Minister
slug: socialmedia
emblem: "/images/officer-emblems/socialmedia.gif"
<br />
</div>
<nav id="footer" class="navbar navbar-expand-lg bg-primary " style="color: #ffff00">
<div class="container">
<div class="row">
<div class="col align-middle">
<br />
<ul class="list-inline">
<li class="list-inline-item pe-3">
<a href="https://www.facebook.com/insulaedraconis/" class="text-reset"><i class="fab fa-facebook"></i> Facebook</a>
</li>
<li class="list-inline-item pe-3">
<a href="mailto:webminister@insulaedraconis.org" class="text-reset"><i class="fas fa-envelope"></i> Email Webminister
</a>
</li>
<li class="list-inline-item pe-3">
<a href="https://membermojo.co.uk/scauk" class="text-reset" target="_self">
<i class="fa fa-university"></i>Get or renew your membership
</a>
</li>
</ul>
<div>
&copy; 2020 SCA (Insulae Draconis). This is the recognised web site for the
Principality of Insulae Draconis in the
<a href="https://www.sca.org/" class="text-reset">Society for Creative Anachronism</a>.<br />
Copyright on all content and images remains with the creators.
</div>
<br />
</div>
</div>
</div>
</nav>
</body>
</html>
{%- assign officers = site.data.regnum | where: 'group', include.groupslug -%}
{%- assign howmany = officers | size -%}
{%- if howmany > 0 -%}
<!--sse-->
<p>
{%- for role in site.data.officetitles -%}
{%- assign o = officers | where: 'office', role.slug | last -%}
{%- if o -%}
{%- unless o.email == '' -%}
{{ role.titleingroups }}:
<b>{{ o.scaname }} </b>
{%- unless o.mundanename == '' -%}<span>({{ o.mundanename }}) </span>{%- endunless -%}
{%- unless o.pronouns == ''- %}<span class="text-muted">{{ o.pronouns }} </span>{%- endunless -%}
{%- unless o.email == '' -%}<a href="mailto:{{ o.email }}">{{ o.email }} </a>{%- endunless -%}
<br />
{%- endunless -%}
{%- endif -%}
{%- endfor -%}
</p>
<!--/sse-->
{%- endif -%}
\ No newline at end of file
<!DOCTYPE HTML>
<html>
<head>
<title>{{ page.title }}</title>
<meta charset="utf-8" />
<meta property="og:image" content="http://www.insulaedraconis.org/images/IDHome.png" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link href="/assets/css/main.css" rel="stylesheet" />
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta3/dist/js/bootstrap.bundle.min.js" integrity="sha384-JEW9xMcG8R+pH31jmWH6WWP0WintQrMb4s7ZOdauHnUtxwoG2vI5DkLtS3qm9Ekf" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.3/css/all.css" integrity="sha384-SZXxX4whJ79/gErwcOYf+zWLeJdY/qpuqC4cAa9rOGUstPomtqpuNWT9wdPEn2fk" crossorigin="anonymous">
</head>
<body class="bg-light">
<header id="header">
<div class="bg-warning">
<div class="container text-center">
<i class="fas fa-exclamation-triangle"></i>
This website is in development.
<a href="https://insulaedraconis.org/">Visit the main website.</a>
</div>
</div>
<nav id="topmenu" class="navbar navbar-expand-lg navbar-dark bg-primary">
<div class="container">
<a class="navbar-brand" style="color: #ffff00;" href="/">
<img src="/images/topmenu/heraldry.svg" width="50" /> Insulae Draconis
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#top-banner-menu" aria-controls="top-banner-menu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="top-banner-menu">
{% if site.data.nav.top[0] %}
<ul class="navbar-nav ms-auto mb-2 mb-lg-0">
{% for item in site.data.nav.top %}
{% if item.submenu[0] %}
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle {% if item.url == page.url %}active{% endif %}" style="color: #ffff00;" id="navbar-dropdown-{{item.title}}" role="button" data-bs-toggle="dropdown" aria-expanded="false" href="{{ item.url }}">{{ item.title }}</a>
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="navbar-dropdown-{{item.title}}">
{% for subitem in item.submenu %}
{% if subitem.subsubmenu[0] %}
<li>
<a class="fw-bold text-muted dropdown-item {% if subitem.url == page.url %}active{% endif %}" href="{{ subitem.url }}">{{ subitem.page }}</a>
</li>
{% for subsubitem in subitem.subsubmenu %}
<li>
<a class="dropdown-item {% if subsubitem.url == page.url %}active{% endif %}" href="{{ subsubitem.url }}">{{ subsubitem.page }}</a>
</li>
{% endfor %}
<li><hr class="dropdown-divider" />
{% else %}
<li>
<a class="dropdown-item {% if subitem.url == page.url %}active{% endif %}" href="{{ subitem.url }}">{{ subitem.page }}</a>
</li>
{% endif %}
{% endfor %}
</ul>
</li>
{% else %}
<li class="nav-item">
<a class="nav-link {% if item.url == page.url %}active{% endif %}" href="{{ item.url }}">{{ item.title }}</a>
</li>
{% endif %}
{% endfor %}
</ul>
{% endif %}
</div>
</div>
</nav>
</header>
<div class="banner" style="background-image: url('{{ page.banner | default: '/images/topmenu/default-banner.jpg' }}');">
<div class="container">
<h1 class="display-5 pt-5">{{ page.title }}</h1>
{% if page.subtitle %}
<h3>{{ page.subtitle }}</h3>
{% endif %}
<h1 class="pb-1">&nbsp;</h1>
</div>
</div>
<!-- Page Wrapper -->
<div id="page-wrapper">
<br />
{% if officer %}
{% assign role = site.data.officetitles | where:"slug", officer.office | first %}
<h3>{{ role.title }}</h3>
<p><strong>{{ officer.scaname }}</strong>
{% unless officer.mundanename == "" %}
({{ officer.mundanename }})
{% endunless %}
{% unless officer.pronouns == "" %}
<span class="text-muted">{{ officer.pronouns }}</span>
{% endunless %}<br>
<strong>Contact:</strong> {{ officer.email }}
</p>
{% if role.report %}<p><a href="{{ role.report }}">How to report</a></p>{% endif %}
{% if role.desc %}
<p>
{{ role.desc }}
</p>
{% endif %}
{% endif %}
\ No newline at end of file
<section>
{% assign officer = site.data.regnum | where:"group", "Insulae Draconis" | where:"office", "moas" | last %}
{% include officer-for-sidebar.html %}
<section>
{% assign officer = site.data.regnum | where:"group", "Insulae Draconis" | where:"office", "archery-thrown-marshal" | last %}
{% include officer-for-sidebar.html %}
<section>
{% assign officer = site.data.regnum | where:"group", "Insulae Draconis" | where:"office", "armoured-combat-marshal" | last %}
{% include officer-for-sidebar.html %}
<section>
{% assign officer = site.data.regnum | where:"group", "Insulae Draconis" | where:"office", "chatelaine" | last %}
{% include officer-for-sidebar.html %}
{% assign officer = site.data.regnum | where:"group", "Insulae Draconis" | where:"office", "chronicler" | last %}
{% include officer-for-sidebar.html %}
<section>
{% assign officer = site.data.regnum | where:"group", "Insulae Draconis" | where:"office", "seneschal" | last %}
{% include officer-for-sidebar.html %}
</section>
<hr />
<section>
{% assign officer = site.data.regnum | where:"group", "Insulae Draconis" | where:"office", "exchequer" | last %}
{% include officer-for-sidebar.html %}
<br>
</section>
\ No newline at end of file
{% assign officer = site.data.regnum | where:"group", "Insulae Draconis" | where:"office", "herald" | last %}
{% include officer-for-sidebar.html %}
Markdown is supported
0%