Skip to content

Commit

Permalink
! Fix liquid warnings and jekyll build warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Spuds committed Jan 13, 2024
1 parent cee75ba commit 16de4fe
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 9 deletions.
9 changes: 6 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
source 'https://rubygems.org'
gem 'github-pages'
gem 'rake'
gem 'html-proofer'

gem "github-pages", group: :jekyll_plugins
group :jekyll_plugins do
gem "jemoji"
gem "jekyll-gist"
end
23 changes: 19 additions & 4 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@

# Name of your site (this will show up at the top of your page and in the RSS feed)
name: ElkArte Addons
title: ElkArte Addons

# Short description (goes below the title; it will also be used in the RSS feed)
description: Addons to extend / enhance the functionality of your forum.

# baseurl will often be '', but for a project page on gh-pages, it needs to
# be the project name.
# baseurl: 'https://addons.elkarte.net'
baseurl: 'https://elkarte.github.io/addons/'
baseurl: 'https://elkarte.github.io/addons'

# This can be '' to hide the Github nav button
github: 'elkarte/addons'
Expand All @@ -18,22 +19,36 @@ github: 'elkarte/addons'
gaaccount: ''

# Gems
gems: [jekyll-paginate]
plugins:
- jemoji
- jekyll-gist

# Set this to your disqus shortname to enable comments. Note that the 'comments'
# setting below must also be true. Individual posts can override 'comments' to
# disable on a post-by-post basis
disqus: ''
comments: false

compress_html:
clippings: all
ignore:
envs: development

# Our permalinks will be addon category / addon name.html
permalink: /:categories/:title.html
paginate: 5
paginate: 8

highlighter: rouge
# Conversion
markdown: kramdown
highlighter: rouge

# Markdown Processing
kramdown:
input: GFM
hard_wrap: false
auto_ids: true
footnote_nr: 1
entity_output: as_char
toc_levels: 1..6

exclude: [vendor]
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"license" : {% if post.license %}"{{ post.license }}"{% else %}""{% endif %},
"server" : [
{
"url" : "{{ site:baseurl }}{{ post.url }}",
"url" : "{{ site.baseurl }}{{ post.url }}",
"download" : "{{ post.download }}",
"bugs" : {% if post.bugs %}"{{ post.bugs }}"{% else %}""{% endif %},
"support" : {% if post.support %}"{{ post.support }}"{% else %}""{% endif %}
Expand Down
2 changes: 1 addition & 1 deletion search.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"title" : "{{ post.title | strip_html | split: " " | join: ", " }}",
"category" : "{{ post.category }}",
"short" : "{{ post.short | strip_html | split: " " | join: ", " }}",
"url" : "{{ site:baseurl post.url }}",
"url" : "{{ site.baseurl }}{{ post.url }}",
"date" : "{{ post.date | strip_html }}"
} {% unless forloop.last %},{% endunless %}
{% endfor %}
Expand Down

0 comments on commit 16de4fe

Please sign in to comment.