chore: update template, typos in docs (#1386)

This commit is contained in:
Jef LeCompte
2020-12-15 00:23:04 -05:00
committed by GitHub
parent 316b3bbb81
commit d592cd5d77
4 changed files with 35 additions and 3 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ name: "\U0001F41B Bug report"
about: Report a bug for this project
title: ''
labels: ''
assignees: jef
assignees: ''
---
+30
View File
@@ -0,0 +1,30 @@
{% extends "base.html" %}
{% block extrahead %}
{% set title = config.site_name %}
{% if page and page.meta and page.meta.title %}
{% set title = title ~ " - " ~ page.meta.title %}
{% elif page and page.title and not page.is_homepage %}
{% set title = title ~ " - " ~ page.title | striptags %}
{% endif %}
{% set image = config.site_url ~ 'assets/images/banner.png' %}
<!-- Open Graph -->
<meta property="og:type" content="website" />
<meta property="og:title" content="{{ title }}" />
<meta property="og:description" content="{{ config.site_description }}" />
<meta property="og:url" content="{{ page.canonical_url }}" />
<meta property="og:image" content="{{ image }}" />
<meta property="og:image:type" content="image/png" />
<meta property="og:image:width" content="1280" />
<meta property="og:image:height" content="640" />
<!-- Twitter -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@hijxf" />
<meta name="twitter:creator" content="@hijxf" />
<meta name="twitter:title" content="{{ title }}" />
<meta name="twitter:description" content="{{ config.site_description }}" />
<meta name="twitter:image" content="{{ image }}" />
{% endblock %}
+1 -1
View File
@@ -36,7 +36,7 @@ You can test your notification configuration by running `npm run test:notificati
| `DISCORD_WEB_HOOK` | Discord Web Hook URL. Can be comma separated. Use whole webhook URL |
???+ note
All ground can be comma separated. `DISCORD_NOTIFY_GROUP` is always used if set.
All groups can be comma separated. `DISCORD_NOTIFY_GROUP` is always used if set.
- If you're using a role, please use `<@&2834729847239842>`
- If you're using a user, please use `<@2834729847239842>`
+3 -1
View File
@@ -13,12 +13,13 @@ copyright: Copyright &copy; 2016 - 2020 Jef LeCompte
# Configuration
theme:
custom_dir: docs/overrides
favicon: https://raw.githubusercontent.com/jef/streetmerchant/main/docs/assets/images/streetmerchant-logo.png
features:
- search.suggest
font:
text: Noto Sans
code: JetBrains Mono
code: Space Mono
icon:
repo: octicons/octoface-24
logo: assets/images/streetmerchant-logo.png
@@ -83,6 +84,7 @@ nav:
- Application: reference/application.md
- Filter: reference/filter.md
- Notification: reference/notification.md
- Proxy: reference/proxy.md
- Help:
- General: help/general.md
- Troubleshoot: help/troubleshoot.md