Skip to content

Commit

Permalink
🔖 Release v1.6.3
Browse files Browse the repository at this point in the history
  • Loading branch information
jpanther committed Jan 19, 2022
2 parents 47d6183 + 2918d16 commit c49a1b1
Show file tree
Hide file tree
Showing 17 changed files with 66 additions and 171 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:

- name: Build
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
uses: peaceiris/actions-gh-pages@v3
Expand Down
136 changes: 6 additions & 130 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -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 ###
# 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
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 ###
# Generated files by hugo
/public/
/resources/_gen/
**/public/
**/resources/_gen/

# Executable may be added to repository
hugo.exe
Expand All @@ -140,8 +15,9 @@ hugo.linux
# Temporary lock file while building
.hugo_build.lock

# End of https://www.toptal.com/developers/gitignore/api/hugo
### Congo ###
# Lighthouse generated output
.lighthouseci

exampleSite/public/
# Project specific files
TODO
.lighthouseci
18 changes: 17 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,21 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## [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

### Changed
Expand Down Expand Up @@ -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
- 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.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
Expand Down
2 changes: 1 addition & 1 deletion assets/css/compiled/main.css
Original file line number Diff line number Diff line change
@@ -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 */

Expand Down
2 changes: 1 addition & 1 deletion assets/css/main.css
Original file line number Diff line number Diff line change
@@ -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 components;
Expand Down
1 change: 1 addition & 0 deletions assets/icons/stackoverflow.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion assets/lib/katex/katex.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/lib/katex/katex.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/lib/mermaid/mermaid.min.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions config/_default/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ summaryLength = 0
# { slack = "https://workspace.url/team/userid" },
# { snapchat = "https://snapchat.com/add/username" },
# { soundcloud = "https://soundcloud.com/username" },
# { stackoverflow = "https://stackoverflow.com/users/6digit/username" },
# { steam = "https://steamcommunity.com/profiles/userid" },
# { telegram = "https://t.me/username" },
# { tiktok = "https://tiktok.com/@username" },
Expand Down
4 changes: 2 additions & 2 deletions exampleSite/content/samples/emoji.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
title: "Emoji"
title: "Emoji :parachute:"
date: 2019-03-05
description: "Guide to Emoji usage in Congo"
summary: "📖🏞️🧗🏽🪂🐉🧙🏽‍♂️🧚🏽👸"
summary: "📖🏞️🧗🏽🐉🧙🏽‍♂️🧚🏽👸"
tags: ["emoji", "sample"]
---

Expand Down
1 change: 1 addition & 0 deletions exampleSite/content/samples/icons.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ The full list of built-in icons and their corresponding names can referenced bel
| slack | {{< icon slack >}} |
| snapchat | {{< icon snapchat >}} |
| soundcloud | {{< icon soundcloud >}} |
| stackoverflow | {{< icon stackoverflow >}} |
| steam | {{< icon steam >}} |
| sun | {{< icon sun >}} |
| telegram | {{< icon telegram >}} |
Expand Down
4 changes: 2 additions & 2 deletions layouts/partials/article-link.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ <h3 class="flex items-center mt-6 text-xl font-semibold">
href="{{ . }}"
target="_blank"
rel="external"
>{{ $.Title }}</a
>{{ $.Title | emojify }}</a
>
<span
class="-mt-2 text-xs cursor-default text-neutral-400 dark:text-neutral-500"
Expand All @@ -18,7 +18,7 @@ <h3 class="flex items-center mt-6 text-xl font-semibold">
<a
class="hover:underline hover:underline-primary-500 hover:underline-offset-small text-neutral-800 dark:text-neutral"
href="{{ .RelPermalink }}"
>{{ .Title }}</a
>{{ .Title | emojify }}</a
>
{{ end }}
{{ if and .Draft .Site.Params.article.showDraftLabel }}
Expand Down
10 changes: 5 additions & 5 deletions layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
{{/* Title */}}
{{ if .IsHome -}}
<title>{{ .Site.Title }}</title>
<meta name="title" content="{{ .Site.Title }}" />
<title>{{ .Site.Title | emojify }}</title>
<meta name="title" content="{{ .Site.Title | emojify }}" />
{{- else -}}
<title>{{ .Title }} &middot; {{ .Site.Title }}</title>
<meta name="title" content="{{ .Title }} &middot; {{ .Site.Title }}" />
<title>{{ .Title | emojify }} &middot; {{ .Site.Title | emojify }}</title>
<meta name="title" content="{{ .Title | emojify }} &middot; {{ .Site.Title | emojify }}" />
{{- end }}
{{/* Metadata */}}
{{ with .Params.Description -}}
Expand All @@ -30,7 +30,7 @@
{{ end }}
<link rel="canonical" href="{{ .Permalink }}" />
{{ 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 -}}
{{/* Styles */}}
{{ $schemeCSS := resources.Get (printf "css/schemes/%s.css" (.Site.Params.colorScheme | default "congo")) }}
Expand Down
12 changes: 6 additions & 6 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build]
command = "cd exampleSite && hugo --gc --minify -b $URL"
command = "cd exampleSite && hugo --gc --minify -D -b $URL"
publish = "exampleSite/public"

[build.environment]
Expand All @@ -8,17 +8,17 @@ HUGO_THEME = "repo"
TZ = "Australia/Melbourne"

[context.production.environment]
HUGO_VERSION = "0.91.0"
HUGO_VERSION = "0.92.0"
HUGO_ENV = "production"

[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]
HUGO_VERSION = "0.91.0"
HUGO_VERSION = "0.92.0"

[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]
HUGO_VERSION = "0.91.0"
HUGO_VERSION = "0.92.0"
32 changes: 16 additions & 16 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit c49a1b1

Please sign in to comment.