🔖 Release v1.3.0
Some checks failed
Test Build / Build Example Site (push) Failing after 10s

This commit is contained in:
James Panther 2023-06-04 11:05:14 +10:00
commit d3527e6a96
No known key found for this signature in database
GPG Key ID: D36F789E45745D17
15 changed files with 783 additions and 277 deletions

View File

@ -10,7 +10,7 @@ jobs:
issues: write issues: write
pull-requests: write pull-requests: write
steps: steps:
- uses: actions/stale@v7 - uses: actions/stale@v8
with: with:
days-before-stale: 30 days-before-stale: 30
days-before-close: 14 days-before-close: 14

View File

@ -7,6 +7,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased] ## [Unreleased]
## [1.3.0] - 2023-06-04
### Added
- Support for Stack Exchange and Stack Overflow ([#52](https://github.com/jpanther/lynx/pull/52))
### Changed
- Updated GitLab icon
- Upgrade to Tailwind v3.3.2 ([#74](https://github.com/jpanther/lynx/pull/74))
### Fixed
- Error building site when using Hugo v0.112.0 or later ([#73](https://github.com/jpanther/lynx/issues/73))
## [1.2.4] - 2023-01-18 ## [1.2.4] - 2023-01-18
### Changed ### Changed
@ -78,7 +93,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Fathom Analytics and Google Analytics support - Fathom Analytics and Google Analytics support
- Favicons support - Favicons support
[Unreleased]: https://github.com/jpanther/lynx/compare/v1.2.4...HEAD [Unreleased]: https://github.com/jpanther/lynx/compare/v1.3.0...HEAD
[1.3.0]: https://github.com/jpanther/lynx/compare/v1.2.4...v1.3.0
[1.2.4]: https://github.com/jpanther/lynx/compare/v1.2.3...v1.2.4 [1.2.4]: https://github.com/jpanther/lynx/compare/v1.2.3...v1.2.4
[1.2.3]: https://github.com/jpanther/lynx/compare/v1.2.2...v1.2.3 [1.2.3]: https://github.com/jpanther/lynx/compare/v1.2.2...v1.2.3
[1.2.2]: https://github.com/jpanther/lynx/compare/v1.2.1...v1.2.2 [1.2.2]: https://github.com/jpanther/lynx/compare/v1.2.1...v1.2.2

View File

@ -1,4 +1,4 @@
/*! Lynx v1.2.4 | MIT License | https://github.com/jpanther/lynx */ /*! Lynx v1.3.0 | MIT License | https://github.com/jpanther/lynx */
/*! tailwindcss v3.2.4 | MIT License | https://tailwindcss.com */ /*! tailwindcss v3.2.4 | MIT License | https://tailwindcss.com */
@ -1167,6 +1167,14 @@ video {
background-color: #ff0000; background-color: #ff0000;
} }
.link-stack-exchange {
background-color: #0095ff;
}
.link-stack-overflow {
background-color: #f48024;
}
/* -- Chroma Highlight -- */ /* -- Chroma Highlight -- */
/* Background */ /* Background */

View File

@ -1,4 +1,4 @@
/*! Lynx v1.2.4 | MIT License | https://github.com/jpanther/lynx */ /*! Lynx v1.3.0 | MIT License | https://github.com/jpanther/lynx */
@tailwind base; @tailwind base;
@tailwind components; @tailwind components;
@ -11,7 +11,7 @@
/* Links */ /* Links */
.link { .link {
@apply text-white bg-primary-700 hover:brightness-90; @apply bg-primary-700 text-white hover:brightness-90;
} }
.link-amazon { .link-amazon {
@ -128,11 +128,17 @@
.link-youtube { .link-youtube {
background-color: #ff0000; background-color: #ff0000;
} }
.link-stack-exchange {
background-color: #0095ff;
}
.link-stack-overflow {
background-color: #f48024;
}
/* -- Chroma Highlight -- */ /* -- Chroma Highlight -- */
/* Background */ /* Background */
.prose .chroma { .prose .chroma {
@apply rounded-md text-neutral-700 bg-neutral-50 dark:bg-neutral-700 dark:text-neutral-200; @apply rounded-md bg-neutral-50 text-neutral-700 dark:bg-neutral-700 dark:text-neutral-200;
} }
@tailwind utilities; @tailwind utilities;

View File

@ -1 +1 @@
<svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="gitlab" class="svg-inline--fa fa-gitlab fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M105.2 24.9c-3.1-8.9-15.7-8.9-18.9 0L29.8 199.7h132c-.1 0-56.6-174.8-56.6-174.8zM.9 287.7c-2.6 8 .3 16.9 7.1 22l247.9 184-226.2-294zm160.8-88l94.3 294 94.3-294zm349.4 88l-28.8-88-226.3 294 247.9-184c6.9-5.1 9.7-14 7.2-22zM425.7 24.9c-3.1-8.9-15.7-8.9-18.9 0l-56.6 174.8h132z"></path></svg> <svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="gitlab" class="svg-inline--fa fa-gitlab fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M503.5 204.6L502.8 202.8L433.1 21.02C431.7 17.45 429.2 14.43 425.9 12.38C423.5 10.83 420.8 9.865 417.9 9.57C415 9.275 412.2 9.653 409.5 10.68C406.8 11.7 404.4 13.34 402.4 15.46C400.5 17.58 399.1 20.13 398.3 22.9L351.3 166.9H160.8L113.7 22.9C112.9 20.13 111.5 17.59 109.6 15.47C107.6 13.35 105.2 11.72 102.5 10.7C99.86 9.675 96.98 9.295 94.12 9.587C91.26 9.878 88.51 10.83 86.08 12.38C82.84 14.43 80.33 17.45 78.92 21.02L9.267 202.8L8.543 204.6C-1.484 230.8-2.72 259.6 5.023 286.6C12.77 313.5 29.07 337.3 51.47 354.2L51.74 354.4L52.33 354.8L158.3 434.3L210.9 474L242.9 498.2C246.6 500.1 251.2 502.5 255.9 502.5C260.6 502.5 265.2 500.1 268.9 498.2L300.9 474L353.5 434.3L460.2 354.4L460.5 354.1C482.9 337.2 499.2 313.5 506.1 286.6C514.7 259.6 513.5 230.8 503.5 204.6z"></path></svg>

Before

Width:  |  Height:  |  Size: 506 B

After

Width:  |  Height:  |  Size: 997 B

View File

@ -0,0 +1 @@
<svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="stack-exchange" class="svg-inline--fa fa-stack-exchange fa-w-20" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M17.7 332.3h412.7v22c0 37.7-29.3 68-65.3 68h-19L259.3 512v-89.7H83c-36 0-65.3-30.3-65.3-68v-22zm0-23.6h412.7v-85H17.7v85zm0-109.4h412.7v-85H17.7v85zM365 0H83C47 0 17.7 30.3 17.7 67.7V90h412.7V67.7C430.3 30.3 401 0 365 0z"/></svg>

After

Width:  |  Height:  |  Size: 463 B

View File

@ -0,0 +1 @@
<svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="stack-overflow" class="svg-inline--fa fa-stack-overflow fa-w-20" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><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"/></svg>

After

Width:  |  Height:  |  Size: 462 B

View File

@ -42,6 +42,8 @@ disableKinds = ["taxonomy", "term"]
# { 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" },
# { stack-exchange = "https://stackexchange.com/users/userid/username" },
# { stack-overflow = "https://stackoverflow.com/users/userid/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

@ -35,6 +35,8 @@ These are all the built-in link styles available in Lynx. Don't forget that you
{{< link slack >}} {{< link slack >}}
{{< link snapchat >}} {{< link snapchat >}}
{{< link soundcloud >}} {{< link soundcloud >}}
{{< link stack-exchange >}}
{{< link stack-overflow >}}
{{< link steam >}} {{< link steam >}}
{{< link telegram >}} {{< link telegram >}}
{{< link tiktok >}} {{< link tiktok >}}

View File

@ -37,6 +37,8 @@ link:
twitter: Twitter twitter: Twitter
whatsapp: WhatsApp whatsapp: WhatsApp
youtube: YouTube youtube: YouTube
stack-exchange: Stack Exchange
stack-overflow: Stack Overflow
nav: nav:
home: Home home: Home

View File

@ -1,4 +1,4 @@
{{ if not .Site.IsServer }} {{ if hugo.IsProduction }}
{{ with .Site.Params.fathomAnalytics.site }} {{ with .Site.Params.fathomAnalytics.site }}
{{ if isset $.Site.Params.fathomanalytics "domain" }} {{ if isset $.Site.Params.fathomanalytics "domain" }}
<script defer src="https://{{ $.Site.Params.fathomanalytics.domain }}/script.js" data-site="{{ . }}"></script> <script defer src="https://{{ $.Site.Params.fathomanalytics.domain }}/script.js" data-site="{{ . }}"></script>

View File

@ -84,7 +84,7 @@
{{ end }} {{ end }}
{{ end }} {{ end }}
{{/* Analytics */}} {{/* Analytics */}}
{{ partialCached "analytics.html" .Site }} {{ partialCached "analytics.html" . }}
{{/* Extend head - eg. for custom analytics scripts, etc. */}} {{/* Extend head - eg. for custom analytics scripts, etc. */}}
{{ if templates.Exists "partials/extend-head.html" }} {{ if templates.Exists "partials/extend-head.html" }}
{{ partialCached "extend-head.html" .Site }} {{ partialCached "extend-head.html" .Site }}

View File

@ -8,17 +8,17 @@ HUGO_THEME = "repo"
TZ = "Australia/Melbourne" TZ = "Australia/Melbourne"
[context.production.environment] [context.production.environment]
HUGO_VERSION = "0.106.0" HUGO_VERSION = "0.112.7"
HUGO_ENV = "production" HUGO_ENV = "production"
[context.deploy-preview] [context.deploy-preview]
command = "cd exampleSite && hugo --gc --minify -D -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.106.0" HUGO_VERSION = "0.112.7"
[context.branch-deploy] [context.branch-deploy]
command = "cd exampleSite && hugo --gc --minify -D -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.106.0" HUGO_VERSION = "0.112.7"

990
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{ {
"name": "hugo-lynx-theme", "name": "hugo-lynx-theme",
"version": "1.2.4", "version": "1.3.0",
"description": "Lynx theme for Hugo", "description": "Lynx theme for Hugo",
"scripts": { "scripts": {
"dev": "NODE_ENV=development ./node_modules/tailwindcss/lib/cli.js -i ./assets/css/main.css -o ./assets/css/compiled/main.css --jit -w", "dev": "NODE_ENV=development ./node_modules/tailwindcss/lib/cli.js -i ./assets/css/main.css -o ./assets/css/compiled/main.css --jit -w",
@ -26,9 +26,9 @@
"homepage": "https://github.com/jpanther/lynx#readme", "homepage": "https://github.com/jpanther/lynx#readme",
"devDependencies": { "devDependencies": {
"@tailwindcss/typography": "^0.5.9", "@tailwindcss/typography": "^0.5.9",
"prettier": "^2.8.3", "prettier": "^2.8.8",
"prettier-plugin-go-template": "^0.0.13", "prettier-plugin-go-template": "^0.0.13",
"prettier-plugin-tailwindcss": "^0.2.1", "prettier-plugin-tailwindcss": "^0.3.0",
"tailwindcss": "^3.2.4" "tailwindcss": "^3.3.2"
} }
} }