diff --git a/.gitignore b/.gitignore index d068e59..6875e1f 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ _site Gemfile.lock node_modules +.jekyll-metadata diff --git a/Template.md b/Template.md index f94a750..f7f5289 100644 --- a/Template.md +++ b/Template.md @@ -24,7 +24,7 @@ sunkencity.md | Guide for Sunken City --> [//]: # (Image of the location taken from MHWiki [referably mousehuntgame.com links]) -Windmill's Banner +Windmill's Banner [//]: # (Rank Name) # Apprentice diff --git a/_config.yml b/_config.yml index 5a8273d..39ef9cf 100644 --- a/_config.yml +++ b/_config.yml @@ -1,6 +1,5 @@ title: Mousehunt Guide -permalink: pretty exclude: [ ".github/", ".devcontainer/", @@ -24,61 +23,47 @@ exclude: [ "Template.md" ] -include: - - _pages +collections: + pages: + output: true + permalink: /:title/ + ranks: + output: true + permalink: /:title/ + +aux_links: + "mouse.rip": + - "https://mouse.rip" + "Discord": + - "https://discordapp.com/mousehunt" -# enable or disable the site search -# supports true (default) or false -search_enabled: true +just_the_docs: + collections: + ranks: + name: Guides for Ranks + nav_fold: false + nav_order: 1 + pages: + name: Other Links + nav_fold: true + nav_order: 2 + +search_enabled: true search: - # split pages into sections that can be searched individually - # supports 1 - 6, default: 2 heading_level: 3 - # maximum amount of previews per search result - # default: 3 - previews: 3 - # maximum amount of words to display before a matched word in the preview - # default: 5 + previews: 5 preview_words_before: 5 - # maximum amount of words to display after a matched word in the preview - # default: 10 preview_words_after: 10 - # set the search token separator - # default: /[\s\-/]+/ - # example: enable support for hyphenated search words tokenizer_separator: /[\s/]+/ - # display the relative url in search results - # supports true (default) or false rel_url: true - # enable or disable the search button that appears in the bottom right corner of every page - # supports true or false (default) button: false -# aux links for the upper right navigation -aux_links: - "mouse.rip": - - "https://mouse.rip" - "Discord": - - "https://discordapp.com/mousehunt" - -# makes aux links open in a new tab. default is false aux_links_new_tab: true - -# heading anchor links appear on hover over h1-h6 tags in page content -# allowing users to deep link to a particular heading on a page. -# -# supports true (default) or false heading_anchors: true - -# back to top link back_to_top: true back_to_top_text: "back to top" -# color scheme supports "light" (default) and "dark" -color_scheme: dark - -callouts_level: quiet # or loud callouts: highlight: color: yellow diff --git a/_includes/banner.html b/_includes/banner.html new file mode 100644 index 0000000..47ac92e --- /dev/null +++ b/_includes/banner.html @@ -0,0 +1,6 @@ +
+ {{ include.alt }} +
{{ include.caption }}
+
+ + diff --git a/_includes/css/callouts.scss.liquid b/_includes/css/callouts.scss.liquid index f4b1e02..6ba5628 100644 --- a/_includes/css/callouts.scss.liquid +++ b/_includes/css/callouts.scss.liquid @@ -1,15 +1,5 @@ -{%- comment -%} - {% include css/callouts.scss.liquid color_scheme = string %} - produces SCSS for all the callouts in site.callouts. For the "dark" - color scheme, the levels of the text and background colors are reversed. -{%- endcomment -%} - -{%- assign callout_background_hue = "000" -%} -{%- assign callout_color_hue = "300" -%} -{%- if site.callouts_level == "loud" or include.color_scheme == "dark" and site.callouts_level != "quiet" -%} - {%- assign callout_background_hue = "300" -%} - {%- assign callout_color_hue = "000" -%} -{%- endif -%} +{%- assign callout_background_hue = "300" -%} +{%- assign callout_color_hue = "000" -%} div.opaque { background-color: $body-background-color; @@ -90,4 +80,4 @@ blockquote.{{ callout[0] }}-title { } } -{% endfor -%} \ No newline at end of file +{% endfor -%} diff --git a/_includes/css/main.scss.liquid b/_includes/css/main.scss.liquid index b481765..4345af0 100644 --- a/_includes/css/main.scss.liquid +++ b/_includes/css/main.scss.liquid @@ -2,4 +2,4 @@ $logo: "{{ site.logo | relative_url }}"; {% endif %} @import "./main"; -{% include css/callouts.scss.liquid color_scheme = 'dark' %} +{% include css/callouts.scss.liquid %} diff --git a/_includes/head.html b/_includes/head.html index d119676..4f2e257 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -14,7 +14,7 @@ - + diff --git a/_includes/nav.html b/_includes/nav.html index 3bde694..2b36485 100644 --- a/_includes/nav.html +++ b/_includes/nav.html @@ -68,13 +68,13 @@ {%- for node in node_group.items -%} {%- if node.parent == nil -%} {%- unless node.nav_exclude -%} -