Skip to content

Commit

Permalink
🔖 Release v1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jpanther committed Jun 4, 2023
2 parents 14ff75f + 4c30716 commit d3527e6
Show file tree
Hide file tree
Showing 15 changed files with 783 additions and 277 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v7
- uses: actions/stale@v8
with:
days-before-stale: 30
days-before-close: 14
Expand Down
18 changes: 17 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

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

### Changed
Expand Down Expand Up @@ -78,7 +93,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Fathom Analytics and Google Analytics 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.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
Expand Down
10 changes: 9 additions & 1 deletion assets/css/compiled/main.css
Original file line number Diff line number Diff line change
@@ -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 */

Expand Down Expand Up @@ -1167,6 +1167,14 @@ video {
background-color: #ff0000;
}

.link-stack-exchange {
background-color: #0095ff;
}

.link-stack-overflow {
background-color: #f48024;
}

/* -- Chroma Highlight -- */

/* Background */
Expand Down
12 changes: 9 additions & 3 deletions assets/css/main.css
Original file line number Diff line number Diff line change
@@ -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 components;
Expand All @@ -11,7 +11,7 @@

/* Links */
.link {
@apply text-white bg-primary-700 hover:brightness-90;
@apply bg-primary-700 text-white hover:brightness-90;
}

.link-amazon {
Expand Down Expand Up @@ -128,11 +128,17 @@
.link-youtube {
background-color: #ff0000;
}
.link-stack-exchange {
background-color: #0095ff;
}
.link-stack-overflow {
background-color: #f48024;
}

/* -- Chroma Highlight -- */
/* Background */
.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;
2 changes: 1 addition & 1 deletion assets/icons/gitlab.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/icons/stack-exchange.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/icons/stack-overflow.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: 2 additions & 0 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ disableKinds = ["taxonomy", "term"]
# { slack = "https://workspace.url/team/userid" },
# { snapchat = "https://snapchat.com/add/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" },
# { telegram = "https://t.me/username" },
# { tiktok = "https://tiktok.com/@username" },
Expand Down
2 changes: 2 additions & 0 deletions exampleSite/content/styles.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ These are all the built-in link styles available in Lynx. Don't forget that you
{{< link slack >}}
{{< link snapchat >}}
{{< link soundcloud >}}
{{< link stack-exchange >}}
{{< link stack-overflow >}}
{{< link steam >}}
{{< link telegram >}}
{{< link tiktok >}}
Expand Down
2 changes: 2 additions & 0 deletions i18n/en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ link:
twitter: Twitter
whatsapp: WhatsApp
youtube: YouTube
stack-exchange: Stack Exchange
stack-overflow: Stack Overflow

nav:
home: Home
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/analytics.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{ if not .Site.IsServer }}
{{ if hugo.IsProduction }}
{{ with .Site.Params.fathomAnalytics.site }}
{{ if isset $.Site.Params.fathomanalytics "domain" }}
<script defer src="https://{{ $.Site.Params.fathomanalytics.domain }}/script.js" data-site="{{ . }}"></script>
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
{{ end }}
{{ end }}
{{/* Analytics */}}
{{ partialCached "analytics.html" .Site }}
{{ partialCached "analytics.html" . }}
{{/* Extend head - eg. for custom analytics scripts, etc. */}}
{{ if templates.Exists "partials/extend-head.html" }}
{{ partialCached "extend-head.html" .Site }}
Expand Down
6 changes: 3 additions & 3 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ HUGO_THEME = "repo"
TZ = "Australia/Melbourne"

[context.production.environment]
HUGO_VERSION = "0.106.0"
HUGO_VERSION = "0.112.7"
HUGO_ENV = "production"

[context.deploy-preview]
command = "cd exampleSite && hugo --gc --minify -D -b $DEPLOY_PRIME_URL"

[context.deploy-preview.environment]
HUGO_VERSION = "0.106.0"
HUGO_VERSION = "0.112.7"

[context.branch-deploy]
command = "cd exampleSite && hugo --gc --minify -D -b $DEPLOY_PRIME_URL"

[context.branch-deploy.environment]
HUGO_VERSION = "0.106.0"
HUGO_VERSION = "0.112.7"
Loading

0 comments on commit d3527e6

Please sign in to comment.