Skip to content

Load dogwood theme as submodule #18

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed .DS_Store
Binary file not shown.
4 changes: 3 additions & 1 deletion .github/workflows/jekyll.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup Ruby
uses: ruby/setup-ruby@8575951200e472d5f2d95c625da0c7bec8217c42 # v1.161.0
with:
Expand All @@ -41,7 +43,7 @@ jobs:
cache-version: 0 # Increment this number if you need to re-download cached gems
- name: Setup Pages
id: pages
uses: actions/configure-pages@v5
uses: actions/configure-pages@v4
- name: Build with Jekyll
# Outputs to the './_site' directory by default
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "dogwood"]
path = dogwood
url = [email protected]:osmus/dogwood.git
1 change: 0 additions & 1 deletion .ruby-version

This file was deleted.

21 changes: 14 additions & 7 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
# frozen_string_literal: true

source "https://rubygems.org"

# these gems aren't published so we need to tell ruby where they're located
gem "absolute-urls", path: "_plugins/absolute-urls"
gem "post-aliases", path: "_plugins/post-aliases"
gem "unwrap-img", path: "_plugins/unwrap-img"
gem "rake"

gem "jekyll", "~> 4.3.3"

group :jekyll_plugins do
gem "jekyll-feed", "~> 0.12"
end

# theme
gem "osmus-dogwood", path: "dogwood"

gemspec
# theme plugins
gem "absolute-urls", path: "./dogwood/_plugins/absolute-urls"
gem "post-aliases", path: "./dogwood/_plugins/post-aliases"
gem "unwrap-img", path: "./dogwood/_plugins/unwrap-img"
28 changes: 8 additions & 20 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@ permalink: /:title/
# Include "future" posts so that upcoming events will display. Posts cannot be scheduled to automatically
# publish at a certain time with Jekyll alone.
logo: /img/MM_white_typography.svg
# logo_mono: /img/logo-mono.svg
logo_mono: /img/MM_white_typography.svg
future: true
# timezone: America/New_York
# github: osmus/dogwood
# mastodon: https://en.osm.town/@OpenStreetMapUS
mastodon: false
twitter: TheMissingMaps
youtube_page: c/themissingmaps
facebook: TheMissingMaps
Expand All @@ -25,23 +24,12 @@ links:
- link: /events
label: Missing Maps Events
a_class: button bordered

# Build settings
theme: osmus-dogwood
plugins:
- jekyll-archives
- jekyll-include-cache
jekyll-archives:
enabled:
- tags
- month
- year
layouts:
tag: archives/posts-tag
year: archives/posts-year
month: archives/month
permalinks:
tag: '/tags/:name/'
month: '/:year/:month/'
year: '/:year/'
date_format: "%b %e, %Y"
- jekyll-feed

collections:
feeds:
output: true
Expand Down Expand Up @@ -81,4 +69,4 @@ defaults:
values:
permalink: /blog/:year/:month/:title/
category: "Blog"
layout: "post"
layout: "post"
2 changes: 0 additions & 2 deletions _config_production.yml

This file was deleted.

3 changes: 0 additions & 3 deletions _includes/analytics.html

This file was deleted.

19 changes: 0 additions & 19 deletions _includes/body_classes.html

This file was deleted.

36 changes: 0 additions & 36 deletions _includes/breadcrumbs.html

This file was deleted.

21 changes: 0 additions & 21 deletions _includes/cover.html

This file was deleted.

3 changes: 0 additions & 3 deletions _includes/custom-scripts.html

This file was deleted.

81 changes: 0 additions & 81 deletions _includes/footer.html

This file was deleted.

4 changes: 0 additions & 4 deletions _includes/head.html

This file was deleted.

9 changes: 0 additions & 9 deletions _includes/inline_avatar.html

This file was deleted.

Loading