_config.yml 5.69 KB
Newer Older
Anna Wilson's avatar
Anna Wilson committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
# 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: Drachenwald
email: webminister@drachenwald.sca.org
description: >- # this means to ignore newlines until "baseurl:"
  Kingdom of Drachenwald. Medieval recreation with the Society for Creative Anachronism in Europe.
20
# baseurl: "/j" # the subpath of your site, e.g. /blog
Anna Wilson's avatar
Anna Wilson committed
21
url: "http://www.drachenwald.sca.org" # the base hostname & protocol for your site, e.g. http://example.com
Anna Wilson's avatar
Anna Wilson committed
22 23 24 25
#twitter_username: jekyllrb
#github_username:  jekyll

gitlab:
26
  repository_url: https://gitlab.com/sca-drachenwald/sca-drachenwald.gitlab.io
Anna Wilson's avatar
Anna Wilson committed
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46

# Build settings
markdown: kramdown
theme: minimal-mistakes-jekyll
plugins:
  - jekyll-feed
  - jekyll-paginate-v2
  - jekyll-redirect-from
  - jekyll-sitemap

permalink: pretty

exclude:
  - Gemfile
  - Gemfile.lock
  - node_modules
  - vendor/
  - README.md
  - Dockerfile
  - docker-compose.yml
47
  - venv/
Anna Wilson's avatar
Anna Wilson committed
48
  - .cache/
Anna Wilson's avatar
Anna Wilson committed
49

Anna Wilson's avatar
Anna Wilson committed
50 51 52 53 54 55 56
# Analytics
analytics:
  provider               : google-universal # false (default), "google", "google-universal", "custom"
  google:
    tracking_id          : "UA-11879750-1"
    anonymize_ip         : # true, false (default)

Anna Wilson's avatar
Anna Wilson committed
57 58
# Site survey link
survey:
59 60
  url: "https://docs.google.com/forms/d/e/1FAIpQLSd8sUf_UWyHQJwrB3BsrI8bRMsMupSf_g09_Mskdfc7xHc8tw/viewform?usp=sf_link"
  prefill: "entry.899185538"
Anna Wilson's avatar
Anna Wilson committed
61

Anna Wilson's avatar
Anna Wilson committed
62 63 64 65 66 67 68 69 70
# Site Footer
footer:
  links:
    - label: "Twitter"
      icon: "fab fa-fw fa-twitter-square"
      url: "https://twitter.com/drachenwaldsca"
    - label: "Facebook"
      icon: "fab fa-fw fa-facebook-square"
      url: "https://facebook.com/kingdomofdrachenwald"
Anna Wilson's avatar
Anna Wilson committed
71 72 73
    - label: "Mailing list"
      icon: "fas fa-fw fa-envelope"
      url: "https://lists.drachenwald.sca.org/mailman/listinfo/dw-l"
Anna Wilson's avatar
Anna Wilson committed
74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152
    - label: "GitHub"
      icon: "fab fa-fw fa-github"
      # url:
    - label: "GitLab"
      icon: "fab fa-fw fa-gitlab"
      # url:
    - label: "Bitbucket"
      icon: "fab fa-fw fa-bitbucket"
      # url:

# 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/bundle/
#   - vendor/cache/
#   - vendor/gems/
#   - vendor/ruby/

#paginate: 3
#paginate_path: "/artsci/page:num/"

pagination:
  enabled: true
  per_page: 3
  sort_field: 'date'
  sort_reverse: true
  trail:
    before: 2
    after: 2

autopages:
  enabled: true
  
  collections:
    enabled: false

  categories:
    layouts:
      - 'autopage_cat.html'
    title: 'Latest :cat posts'
    permalink: '/posts/:cat'
  tags:
    layouts: 
      - 'autopage_tags.html'
      - 'autopage_artsci_tags.html'
    title: 'Posts tagged with :tag' # :tag is replaced by the tag name
    permalink: '/posts/tags/:tag'

responsive_image:
  template: _includes/responsive-image.html
  strip: true
  base_path: images
  output_path_format: images/resized/%{width}/%{dirname}/%{filename}-%{width}.%{extension}
  sizes:
    - width: 2400
    - width: 1200
    - width: 800
    - width: 480
    - width: 240
  extra_images:
    - images/header/*

logo: /images/drachenwald-crest.svg

defaults:
  -
    scope:
      path: ""
    values:
      layout: "single"
      sidebar:
        nav: "side"
      header:
        overlay_image: "/images/header/header.jpg"
        show_overlay_excerpt: true
153 154 155 156 157 158
  -
    scope:
      path: "activities"
    values:
      sidebar:
        nav: "side-whatwedo"
159 160 161 162 163 164
  -
    scope:
      path: "royals"
    values:
      sidebar:
        nav: "side-royals"
165 166 167 168 169 170
  -
    scope:
      path: "offices"
    values:
      sidebar:
        nav: "side-offices"
171 172 173 174 175 176
  -
    scope:
      path: "peers"
    values:
      sidebar:
        nav: "side-offices"
177
  -
178 179 180 181 182
    scope:
      path: "chartergroups"
    values:
      sidebar:
        nav: "side-offices"
Anna Wilson's avatar
Anna Wilson committed
183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204
  -
    scope:
      path: "offices/chatelaine"
    values:
      officer: "chatelaine"
  -
    scope:
      path: "offices/chronicler"
    values:
      officer: "chronicler"
  -
    scope:
      path: "offices/exchequer"
    values:
      officer: "exchequer"
  -
    scope:
      path: "offices/fencing-marshal"
    values:
      officer: "fencing-marshal"
  -
    scope:
205
      path: "offices/armoured-combat-marshal"
Anna Wilson's avatar
Anna Wilson committed
206
    values:
207
      officer: "armoured-combat-marshal"
208 209 210 211 212 213 214 215 216 217
  -
    scope:
      path: "offices/archery-thrown-marshal"
    values:
      officer: "archery-thrown-marshal"
  -
    scope:
      path: "offices/equestrian-marshal"
    values:
      officer: "equestrian-marshal"
Anna Wilson's avatar
Anna Wilson committed
218 219 220 221 222 223 224 225 226 227 228 229 230 231 232
  -
    scope:
      path: "offices/moas"
    values:
      officer: "moas"
  -
    scope:
      path: "offices/seneschal"
    values:
      officer: "seneschal"
  -
    scope:
      path: "offices/unichancellor"
    values:
      officer: "unichancellor"
233 234 235 236 237
  -
    scope:
      path: "offices/herald"
    values:
      officer: "herald"
Anna Wilson's avatar
Anna Wilson committed
238 239 240 241 242
  -
    scope:
      path: "offices/signet"
    values:
      officer: "signet"
Anna Wilson's avatar
Anna Wilson committed
243 244 245 246 247 248
  -
    scope:
      path: ""
      type: "posts"
    values:
      permalink: "/posts/:categories/:year/:month/:day/:title/"
249
      author_profile: true
250 251
      header:
        show_overlay_excerpt: false
Anna Wilson's avatar
Anna Wilson committed
252 253