🔖 Release v1.6.3

pull/155/head v1.6.3
James Panther 2022-01-19 13:44:22 +11:00
commit c49a1b18d6
No known key found for this signature in database
GPG Key ID: D36F789E45745D17
17 changed files with 67 additions and 172 deletions

View File

@ -25,7 +25,7 @@ jobs:
- name: Build - name: Build
working-directory: ./exampleSite working-directory: ./exampleSite
run: hugo --minify --themesDir ../.. --baseURL https://jpanther.github.io/congo/ run: hugo --minify --themesDir ../.. --buildDrafts --baseURL https://jpanther.github.io/congo/
- name: Deploy - name: Deploy
uses: peaceiris/actions-gh-pages@v3 uses: peaceiris/actions-gh-pages@v3

138
.gitignore vendored
View File

@ -1,136 +1,11 @@
# Created by https://www.toptal.com/developers/gitignore/api/node,
# Edit at https://www.toptal.com/developers/gitignore?templates=node,
### Node ### ### Node ###
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
.pnpm-debug.log*
# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
*.lcov
# nyc test coverage
.nyc_output
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# Bower dependency directory (https://bower.io/)
bower_components
# node-waf configuration
.lock-wscript
# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release
# Dependency directories # Dependency directories
node_modules/ node_modules/
jspm_packages/
# Snowpack dependency directory (https://snowpack.dev/)
web_modules/
# TypeScript cache
*.tsbuildinfo
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# dotenv environment variables file
.env
.env.test
.env.production
# parcel-bundler cache (https://parceljs.org/)
.cache
.parcel-cache
# Next.js build output
.next
out
# Nuxt.js build / generate output
.nuxt
dist
# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and not Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public
# vuepress build output
.vuepress/dist
# Serverless directories
.serverless/
# FuseBox cache
.fusebox/
# DynamoDB Local files
.dynamodb/
# TernJS port file
.tern-port
# Stores VSCode versions used for testing VSCode extensions
.vscode-test
# yarn v2
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*
# End of https://www.toptal.com/developers/gitignore/api/node,
# Created by https://www.toptal.com/developers/gitignore/api/hugo
# Edit at https://www.toptal.com/developers/gitignore?templates=hugo
### Hugo ### ### Hugo ###
# Generated files by hugo # Generated files by hugo
/public/ **/public/
/resources/_gen/ **/resources/_gen/
# Executable may be added to repository # Executable may be added to repository
hugo.exe hugo.exe
@ -140,8 +15,9 @@ hugo.linux
# Temporary lock file while building # Temporary lock file while building
.hugo_build.lock .hugo_build.lock
# End of https://www.toptal.com/developers/gitignore/api/hugo ### Congo ###
# Lighthouse generated output
exampleSite/public/
TODO
.lighthouseci .lighthouseci
# Project specific files
TODO

View File

@ -6,6 +6,21 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
## [Unreleased] ## [Unreleased]
## [1.6.3] - 2022-01-19
### Added
- Icon for Stack Overflow ([#82](https://github.com/jpanther/congo/pull/82))
### Changed
- Upgrade to Mermaid v8.13.9
- Upgrade to KaTeX v0.15.2
### Fixed
- Emoji characters in article titles not appearing on list pages and in HTML metadata ([#84](https://github.com/jpanther/congo/pull/82))
## [1.6.2] - 2022-01-07 ## [1.6.2] - 2022-01-07
### Changed ### Changed
@ -221,7 +236,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- Advanced customisation using simple Tailwind colour definitions and styles - Advanced customisation using simple Tailwind colour definitions and styles
- Fully documented - Fully documented
[unreleased]: https://github.com/jpanther/congo/compare/v1.6.2...HEAD [unreleased]: https://github.com/jpanther/congo/compare/v1.6.3...HEAD
[1.6.3]: https://github.com/jpanther/congo/compare/v1.6.2...v1.6.3
[1.6.2]: https://github.com/jpanther/congo/compare/v1.6.1...v1.6.2 [1.6.2]: https://github.com/jpanther/congo/compare/v1.6.1...v1.6.2
[1.6.1]: https://github.com/jpanther/congo/compare/v1.6.0...v1.6.1 [1.6.1]: https://github.com/jpanther/congo/compare/v1.6.0...v1.6.1
[1.6.0]: https://github.com/jpanther/congo/compare/v1.5.3...v1.6.0 [1.6.0]: https://github.com/jpanther/congo/compare/v1.5.3...v1.6.0

View File

@ -1,4 +1,4 @@
/*! Congo v1.6.2 | MIT License | https://github.com/jpanther/congo */ /*! Congo v1.6.3 | MIT License | https://github.com/jpanther/congo */
/*! tailwindcss v2.2.19 | MIT License | https://tailwindcss.com */ /*! tailwindcss v2.2.19 | MIT License | https://tailwindcss.com */

View File

@ -1,4 +1,4 @@
/*! Congo v1.6.2 | MIT License | https://github.com/jpanther/congo */ /*! Congo v1.6.3 | MIT License | https://github.com/jpanther/congo */
@tailwind base; @tailwind base;
@tailwind components; @tailwind components;

View File

@ -0,0 +1 @@
<svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="stack-overflow" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512" class="svg-inline--fa fa-stack-overflow fa-w-12 fa-5x"><path fill="currentColor" d="M290.7 311L95 269.7 86.8 309l195.7 41zm51-87L188.2 95.7l-25.5 30.8 153.5 128.3zm-31.2 39.7L129.2 179l-16.7 36.5L293.7 300zM262 32l-32 24 119.3 160.3 32-24zm20.5 328h-200v39.7h200zm39.7 80H42.7V320h-40v160h359.5V320h-40z" class=""></path></svg>

After

Width:  |  Height:  |  Size: 482 B

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -48,6 +48,7 @@ summaryLength = 0
# { slack = "https://workspace.url/team/userid" }, # { slack = "https://workspace.url/team/userid" },
# { snapchat = "https://snapchat.com/add/username" }, # { snapchat = "https://snapchat.com/add/username" },
# { soundcloud = "https://soundcloud.com/username" }, # { soundcloud = "https://soundcloud.com/username" },
# { stackoverflow = "https://stackoverflow.com/users/6digit/username" },
# { steam = "https://steamcommunity.com/profiles/userid" }, # { steam = "https://steamcommunity.com/profiles/userid" },
# { telegram = "https://t.me/username" }, # { telegram = "https://t.me/username" },
# { tiktok = "https://tiktok.com/@username" }, # { tiktok = "https://tiktok.com/@username" },

View File

@ -1,8 +1,8 @@
--- ---
title: "Emoji" title: "Emoji :parachute:"
date: 2019-03-05 date: 2019-03-05
description: "Guide to Emoji usage in Congo" description: "Guide to Emoji usage in Congo"
summary: "📖🏞️🧗🏽🪂🐉🧙🏽‍♂️🧚🏽👸" summary: "📖🏞️🧗🏽🐉🧙🏽‍♂️🧚🏽👸"
tags: ["emoji", "sample"] tags: ["emoji", "sample"]
--- ---

View File

@ -48,6 +48,7 @@ The full list of built-in icons and their corresponding names can referenced bel
| slack | {{< icon slack >}} | | slack | {{< icon slack >}} |
| snapchat | {{< icon snapchat >}} | | snapchat | {{< icon snapchat >}} |
| soundcloud | {{< icon soundcloud >}} | | soundcloud | {{< icon soundcloud >}} |
| stackoverflow | {{< icon stackoverflow >}} |
| steam | {{< icon steam >}} | | steam | {{< icon steam >}} |
| sun | {{< icon sun >}} | | sun | {{< icon sun >}} |
| telegram | {{< icon telegram >}} | | telegram | {{< icon telegram >}} |

View File

@ -6,7 +6,7 @@
href="{{ . }}" href="{{ . }}"
target="_blank" target="_blank"
rel="external" rel="external"
>{{ $.Title }}</a >{{ $.Title | emojify }}</a
> >
<span <span
class="-mt-2 text-xs cursor-default text-neutral-400 dark:text-neutral-500" class="-mt-2 text-xs cursor-default text-neutral-400 dark:text-neutral-500"
@ -18,7 +18,7 @@
<a <a
class="hover:underline hover:underline-primary-500 hover:underline-offset-small text-neutral-800 dark:text-neutral" class="hover:underline hover:underline-primary-500 hover:underline-offset-small text-neutral-800 dark:text-neutral"
href="{{ .RelPermalink }}" href="{{ .RelPermalink }}"
>{{ .Title }}</a >{{ .Title | emojify }}</a
> >
{{ end }} {{ end }}
{{ if and .Draft .Site.Params.article.showDraftLabel }} {{ if and .Draft .Site.Params.article.showDraftLabel }}

View File

@ -7,11 +7,11 @@
<meta http-equiv="X-UA-Compatible" content="ie=edge" /> <meta http-equiv="X-UA-Compatible" content="ie=edge" />
{{/* Title */}} {{/* Title */}}
{{ if .IsHome -}} {{ if .IsHome -}}
<title>{{ .Site.Title }}</title> <title>{{ .Site.Title | emojify }}</title>
<meta name="title" content="{{ .Site.Title }}" /> <meta name="title" content="{{ .Site.Title | emojify }}" />
{{- else -}} {{- else -}}
<title>{{ .Title }} &middot; {{ .Site.Title }}</title> <title>{{ .Title | emojify }} &middot; {{ .Site.Title | emojify }}</title>
<meta name="title" content="{{ .Title }} &middot; {{ .Site.Title }}" /> <meta name="title" content="{{ .Title | emojify }} &middot; {{ .Site.Title | emojify }}" />
{{- end }} {{- end }}
{{/* Metadata */}} {{/* Metadata */}}
{{ with .Params.Description -}} {{ with .Params.Description -}}
@ -30,7 +30,7 @@
{{ end }} {{ end }}
<link rel="canonical" href="{{ .Permalink }}" /> <link rel="canonical" href="{{ .Permalink }}" />
{{ range .AlternativeOutputFormats -}} {{ range .AlternativeOutputFormats -}}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }} {{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .RelPermalink ($.Site.Title | emojify) | safeHTML }}
{{ end -}} {{ end -}}
{{/* Styles */}} {{/* Styles */}}
{{ $schemeCSS := resources.Get (printf "css/schemes/%s.css" (.Site.Params.colorScheme | default "congo")) }} {{ $schemeCSS := resources.Get (printf "css/schemes/%s.css" (.Site.Params.colorScheme | default "congo")) }}

View File

@ -1,5 +1,5 @@
[build] [build]
command = "cd exampleSite && hugo --gc --minify -b $URL" command = "cd exampleSite && hugo --gc --minify -D -b $URL"
publish = "exampleSite/public" publish = "exampleSite/public"
[build.environment] [build.environment]
@ -8,17 +8,17 @@ HUGO_THEME = "repo"
TZ = "Australia/Melbourne" TZ = "Australia/Melbourne"
[context.production.environment] [context.production.environment]
HUGO_VERSION = "0.91.0" HUGO_VERSION = "0.92.0"
HUGO_ENV = "production" HUGO_ENV = "production"
[context.deploy-preview] [context.deploy-preview]
command = "cd exampleSite && hugo --gc --minify -b $DEPLOY_PRIME_URL" command = "cd exampleSite && hugo --gc --minify -D -b $DEPLOY_PRIME_URL"
[context.deploy-preview.environment] [context.deploy-preview.environment]
HUGO_VERSION = "0.91.0" HUGO_VERSION = "0.92.0"
[context.branch-deploy] [context.branch-deploy]
command = "cd exampleSite && hugo --gc --minify -b $DEPLOY_PRIME_URL" command = "cd exampleSite && hugo --gc --minify -D -b $DEPLOY_PRIME_URL"
[context.branch-deploy.environment] [context.branch-deploy.environment]
HUGO_VERSION = "0.91.0" HUGO_VERSION = "0.92.0"

32
package-lock.json generated
View File

@ -1,19 +1,19 @@
{ {
"name": "hugo-congo-theme", "name": "hugo-congo-theme",
"version": "1.6.1", "version": "1.6.2",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "hugo-congo-theme", "name": "hugo-congo-theme",
"version": "1.6.1", "version": "1.6.2",
"hasInstallScript": true, "hasInstallScript": true,
"license": "MIT", "license": "MIT",
"devDependencies": { "devDependencies": {
"@tailwindcss/typography": "^0.4.1", "@tailwindcss/typography": "^0.4.1",
"chart.js": "^3.6.0", "chart.js": "^3.6.0",
"katex": "^0.15.1", "katex": "^0.15.2",
"mermaid": "^8.13.3", "mermaid": "^8.13.9",
"prettier": "^2.3.2", "prettier": "^2.3.2",
"prettier-plugin-go-template": "^0.0.11", "prettier-plugin-go-template": "^0.0.11",
"rimraf": "^3.0.2", "rimraf": "^3.0.2",
@ -1717,9 +1717,9 @@
} }
}, },
"node_modules/katex": { "node_modules/katex": {
"version": "0.15.1", "version": "0.15.2",
"resolved": "https://registry.npmjs.org/katex/-/katex-0.15.1.tgz", "resolved": "https://registry.npmjs.org/katex/-/katex-0.15.2.tgz",
"integrity": "sha512-KIk+gizli0gl1XaJlCYS8/donGMbzXYTka6BbH3AgvDJTOwyDY4hJ+YmzJ1F0y/3XzX5B9ED8AqB2Hmn2AZ0uA==", "integrity": "sha512-FfZ/f6f8bQdLmJ3McXDNTkKenQkoXkItpW0I9bsG2wgb+8JAY5bwpXFtI8ZVrg5hc1wo1X/UIhdkVMpok46tEQ==",
"dev": true, "dev": true,
"funding": [ "funding": [
"https://opencollective.com/katex", "https://opencollective.com/katex",
@ -1799,9 +1799,9 @@
} }
}, },
"node_modules/mermaid": { "node_modules/mermaid": {
"version": "8.13.8", "version": "8.13.9",
"resolved": "https://registry.npmjs.org/mermaid/-/mermaid-8.13.8.tgz", "resolved": "https://registry.npmjs.org/mermaid/-/mermaid-8.13.9.tgz",
"integrity": "sha512-Z5v31rvo8P7BPTiGicdJl9BbzyUe9s5sXILK8sM1g7ijkagpfFjPtXZVsq5P1WlN8m/fUp2PPNXVF9SqeTM91w==", "integrity": "sha512-kMH676xEomSe/gzxMpDx91L+z9L+9iB3lvtPFA8aeOPRNNrfd3ZDvDCGFnuqQaJvPRCxs3Me2JDaVVNOZjojrg==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"@braintree/sanitize-url": "^3.1.0", "@braintree/sanitize-url": "^3.1.0",
@ -3894,9 +3894,9 @@
} }
}, },
"katex": { "katex": {
"version": "0.15.1", "version": "0.15.2",
"resolved": "https://registry.npmjs.org/katex/-/katex-0.15.1.tgz", "resolved": "https://registry.npmjs.org/katex/-/katex-0.15.2.tgz",
"integrity": "sha512-KIk+gizli0gl1XaJlCYS8/donGMbzXYTka6BbH3AgvDJTOwyDY4hJ+YmzJ1F0y/3XzX5B9ED8AqB2Hmn2AZ0uA==", "integrity": "sha512-FfZ/f6f8bQdLmJ3McXDNTkKenQkoXkItpW0I9bsG2wgb+8JAY5bwpXFtI8ZVrg5hc1wo1X/UIhdkVMpok46tEQ==",
"dev": true, "dev": true,
"requires": { "requires": {
"commander": "^8.0.0" "commander": "^8.0.0"
@ -3963,9 +3963,9 @@
"dev": true "dev": true
}, },
"mermaid": { "mermaid": {
"version": "8.13.8", "version": "8.13.9",
"resolved": "https://registry.npmjs.org/mermaid/-/mermaid-8.13.8.tgz", "resolved": "https://registry.npmjs.org/mermaid/-/mermaid-8.13.9.tgz",
"integrity": "sha512-Z5v31rvo8P7BPTiGicdJl9BbzyUe9s5sXILK8sM1g7ijkagpfFjPtXZVsq5P1WlN8m/fUp2PPNXVF9SqeTM91w==", "integrity": "sha512-kMH676xEomSe/gzxMpDx91L+z9L+9iB3lvtPFA8aeOPRNNrfd3ZDvDCGFnuqQaJvPRCxs3Me2JDaVVNOZjojrg==",
"dev": true, "dev": true,
"requires": { "requires": {
"@braintree/sanitize-url": "^3.1.0", "@braintree/sanitize-url": "^3.1.0",

View File

@ -1,6 +1,6 @@
{ {
"name": "hugo-congo-theme", "name": "hugo-congo-theme",
"version": "1.6.2", "version": "1.6.3",
"description": "Congo theme for Hugo", "description": "Congo theme for Hugo",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
@ -31,8 +31,8 @@
"devDependencies": { "devDependencies": {
"@tailwindcss/typography": "^0.4.1", "@tailwindcss/typography": "^0.4.1",
"chart.js": "^3.6.0", "chart.js": "^3.6.0",
"katex": "^0.15.1", "katex": "^0.15.2",
"mermaid": "^8.13.8", "mermaid": "^8.13.9",
"prettier": "^2.3.2", "prettier": "^2.3.2",
"prettier-plugin-go-template": "^0.0.11", "prettier-plugin-go-template": "^0.0.11",
"rimraf": "^3.0.2", "rimraf": "^3.0.2",