143 Commits

Author SHA1 Message Date
James Panther
0dd9772171 🔖 Release v1.3.1
Some checks failed
Test Build / Build Example Site (push) Failing after 7s
2023-09-10 11:02:11 +10:00
James Panther
68184bc728 🔨 Preparing release v1.3.1 2023-09-10 11:02:04 +10:00
James Panther
5e77ae81b0 📝 Update changelog 2023-09-10 10:58:35 +10:00
James Panther
7179daef26 👷 Bump Hugo version in Netlify config 2023-09-10 10:56:36 +10:00
James Panther
c3a3db2775 🔀 Merge pull request #90 from jpanther/dependabot/npm_and_yarn/tailwindcss/typography-0.5.10
📌 Bump @tailwindcss/typography from 0.5.9 to 0.5.10
2023-09-10 10:53:15 +10:00
dependabot[bot]
9bc4e7118a 💄 Rebuild CSS 2023-09-10 00:49:48 +00:00
dependabot[bot]
247784aefb 📌 Bump @tailwindcss/typography from 0.5.9 to 0.5.10
Bumps [@tailwindcss/typography](https://github.com/tailwindcss/typography) from 0.5.9 to 0.5.10.
- [Release notes](https://github.com/tailwindcss/typography/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss-typography/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindcss/typography/compare/v0.5.9...v0.5.10)

---
updated-dependencies:
- dependency-name: "@tailwindcss/typography"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-10 00:49:24 +00:00
James Panther
23afe56054 🔀 Merge pull request #89 from jpanther/dependabot/npm_and_yarn/prettier-plugin-tailwindcss-0.5.4
📌 Bump prettier-plugin-tailwindcss from 0.5.3 to 0.5.4
2023-09-10 10:48:36 +10:00
dependabot[bot]
9d7c2f4f8c 📌 Bump prettier-plugin-tailwindcss from 0.5.3 to 0.5.4
Bumps [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) from 0.5.3 to 0.5.4.
- [Release notes](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.5.3...v0.5.4)

---
updated-dependencies:
- dependency-name: prettier-plugin-tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-10 00:44:40 +00:00
James Panther
7e80068ab7 🔀 Merge pull request #88 from hugo-sid/patch-1
👷 Specify `HUGO_VERSION` environment variable once in `netlify.toml`
2023-09-10 10:44:13 +10:00
James Panther
78a86d2923 Merge pull request #87 from jpanther/dependabot/npm_and_yarn/prettier-3.0.3
📌 Bump prettier from 3.0.2 to 3.0.3
2023-09-10 10:42:51 +10:00
James Panther
7e00d41956 Merge pull request #91 from jpanther/dependabot/github_actions/actions/checkout-4
👷 Bump actions/checkout from 3 to 4
2023-09-10 10:42:33 +10:00
dependabot[bot]
a44b4f938e 👷 Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-09 23:00:57 +00:00
Sid
c015a25f3a 👷 Specify HUGO_VERSION environment variable once in netlify.toml
If an environment variable (`HUGO_VERSION` in this case) has the same value for all contexts (production, deploy-preview & branch-deploy), then there is no need to specify it for each context.

Specifying it once under [build.environment] should be enough.

From https://docs.netlify.com/configure-builds/file-based-configuration/#deploy-contexts :

"any property of a context-aware key, such as [build] or [[plugins]], will be applied to all contexts unless the same property key is present in a more specific context."
2023-08-31 11:30:51 +05:30
dependabot[bot]
47acd444fc 📌 Bump prettier from 3.0.2 to 3.0.3
Bumps [prettier](https://github.com/prettier/prettier) from 3.0.2 to 3.0.3.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-29 23:14:55 +00:00
James Panther
e04209d6e8 🔀 Merge pull request #85 from jpanther/dependabot/npm_and_yarn/prettier-plugin-tailwindcss-0.5.3
📌 Bump prettier-plugin-tailwindcss from 0.5.2 to 0.5.3
2023-08-16 18:27:52 +10:00
dependabot[bot]
45b14f569c 📌 Bump prettier-plugin-tailwindcss from 0.5.2 to 0.5.3
Bumps [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) from 0.5.2 to 0.5.3.
- [Release notes](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.5.2...v0.5.3)

---
updated-dependencies:
- dependency-name: prettier-plugin-tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-16 08:26:36 +00:00
James Panther
964ffe5511 🔀 Merge pull request #84 from jpanther/dependabot/npm_and_yarn/prettier-3.0.2
📌 Bump prettier from 3.0.1 to 3.0.2
2023-08-16 18:25:20 +10:00
dependabot[bot]
468dafe218 📌 Bump prettier from 3.0.1 to 3.0.2
Bumps [prettier](https://github.com/prettier/prettier) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.0.1...3.0.2)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-15 23:54:18 +00:00
James Panther
c9435df7c9 🔀 Merge pull request #83 from jpanther/dependabot/npm_and_yarn/prettier-plugin-tailwindcss-0.5.2
📌 Bump prettier-plugin-tailwindcss from 0.3.0 to 0.5.2
2023-08-15 10:55:41 +10:00
dependabot[bot]
85b766b071 📌 Bump prettier-plugin-tailwindcss from 0.3.0 to 0.5.2
Bumps [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) from 0.3.0 to 0.5.2.
- [Release notes](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.3.0...v0.5.2)

---
updated-dependencies:
- dependency-name: prettier-plugin-tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-14 07:09:05 +00:00
James Panther
d9f375c437 🔀 Merge pull request #77 from jpanther/dependabot/npm_and_yarn/tailwindcss-3.3.3
📌 Bump tailwindcss from 3.3.2 to 3.3.3
2023-08-14 17:08:21 +10:00
dependabot[bot]
578fb0f52e 💄 Rebuild CSS 2023-08-14 06:56:02 +00:00
dependabot[bot]
3d704884f6 📌 Bump tailwindcss from 3.3.2 to 3.3.3
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.3.2 to 3.3.3.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/v3.3.3/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.3.2...v3.3.3)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-14 06:55:44 +00:00
James Panther
e6f17a6803 🔀 Merge pull request #82 from jpanther/dependabot/npm_and_yarn/prettier-and-prettier-plugin-go-template-3.0.1
📌 Bump prettier and prettier-plugin-go-template
2023-08-14 16:54:53 +10:00
dependabot[bot]
3af2303a40 💄 Rebuild CSS 2023-08-03 23:51:58 +00:00
dependabot[bot]
38efcda952 📌 Bump prettier and prettier-plugin-go-template
Bumps [prettier](https://github.com/prettier/prettier) and [prettier-plugin-go-template](https://github.com/NiklasPor/prettier-plugin-go-template). These dependencies needed to be updated together.

Updates `prettier` from 2.8.8 to 3.0.1
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.8.8...3.0.1)

Updates `prettier-plugin-go-template` from 0.0.13 to 0.0.15
- [Changelog](https://github.com/NiklasPor/prettier-plugin-go-template/blob/master/CHANGELOG.md)
- [Commits](https://github.com/NiklasPor/prettier-plugin-go-template/commits)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-major
- dependency-name: prettier-plugin-go-template
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-03 23:51:38 +00:00
James Panther
d3527e6a96 🔖 Release v1.3.0
Some checks failed
Test Build / Build Example Site (push) Failing after 10s
2023-06-04 11:05:14 +10:00
James Panther
4c30716cec 🔨 Preparing release v1.3.0 2023-06-04 11:05:11 +10:00
James Panther
0922877fc6 📝 Update changelog 2023-06-04 11:03:45 +10:00
James Panther
87874b3954 🍱 Fix missing tags from Stack-* SVG assets 2023-06-04 11:02:55 +10:00
James Panther
e258beb522 🍱 Update GitLab logo
Closes: #53
2023-06-04 11:02:21 +10:00
James Panther
25fb355ff7 🐛 Fix build error 2023-06-04 10:56:42 +10:00
James Panther
8653a4d170 👷 Update Netlify Hugo version 2023-06-04 10:53:03 +10:00
James Panther
e2a46a025e 📝 Update docs and css 2023-06-04 10:52:32 +10:00
James Panther
a5317a5c27 🔀 Merge pull request #52 from pesader/add-stack-links
 add support for stack overflow and stack exchange
2023-06-04 10:46:07 +10:00
James Panther
06ee62646a Merge branch 'dev' of https://github.com/jpanther/lynx into dev 2023-06-04 10:44:45 +10:00
James Panther
323e97502c 🐛 Change analytics to use .IsProduction
Fixes: #73
2023-06-04 10:44:42 +10:00
James Panther
d019329eb1 📝 Update changelog 2023-06-04 10:42:57 +10:00
James Panther
6e372a80b3 🔀 Merge pull request #74 from jpanther/dependabot/npm_and_yarn/tailwindcss-3.3.2
📌 Bump tailwindcss from 3.2.4 to 3.3.2
2023-06-04 10:40:49 +10:00
dependabot[bot]
32d8911741 💄 Rebuild CSS 2023-05-29 00:08:03 +00:00
dependabot[bot]
50a23d089d 📌 Bump tailwindcss from 3.2.4 to 3.3.2
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.2.4 to 3.3.2.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.2.4...v3.3.2)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-29 00:07:45 +00:00
James Panther
e224abe574 🔀 Merge pull request #68 from jpanther/dependabot/npm_and_yarn/prettier-2.8.8
📌 Bump prettier from 2.8.7 to 2.8.8
2023-05-29 10:06:42 +10:00
dependabot[bot]
9bd19b9f6a 📌 Bump prettier from 2.8.7 to 2.8.8
Bumps [prettier](https://github.com/prettier/prettier) from 2.8.7 to 2.8.8.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.8.7...2.8.8)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-28 23:56:39 +00:00
James Panther
1ae34754c0 🔀 Merge pull request #71 from jpanther/dependabot/npm_and_yarn/prettier-plugin-tailwindcss-0.3.0
📌 Bump prettier-plugin-tailwindcss from 0.2.6 to 0.3.0
2023-05-29 09:51:19 +10:00
dependabot[bot]
cd3a9fc9c8 📌 Bump prettier-plugin-tailwindcss from 0.2.6 to 0.3.0
Bumps [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) from 0.2.6 to 0.3.0.
- [Release notes](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.2.6...v0.3.0)

---
updated-dependencies:
- dependency-name: prettier-plugin-tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-16 00:03:48 +00:00
James Panther
95908d3c89 🔀 Merge pull request #62 from jpanther/dependabot/npm_and_yarn/prettier-plugin-tailwindcss-0.2.6
📌 Bump prettier-plugin-tailwindcss from 0.2.5 to 0.2.6
2023-04-01 14:36:51 +11:00
pesader
133072abdb 🩹: ensure icons have fill="currentColor" property 2023-03-30 00:50:05 -03:00
dependabot[bot]
fa7fe1cdae 📌 Bump prettier-plugin-tailwindcss from 0.2.5 to 0.2.6
Bumps [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) from 0.2.5 to 0.2.6.
- [Release notes](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.2.5...v0.2.6)

---
updated-dependencies:
- dependency-name: prettier-plugin-tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-29 23:01:53 +00:00
James Panther
99fca1e88c 🔀 Merge pull request #61 from jpanther/dependabot/npm_and_yarn/prettier-2.8.7
📌 Bump prettier from 2.8.4 to 2.8.7
2023-03-29 12:36:53 +11:00
James Panther
324e42d10b 🔀 Merge pull request #60 from jpanther/dependabot/github_actions/actions/stale-8
👷 Bump actions/stale from 7 to 8
2023-03-27 22:38:32 +11:00
dependabot[bot]
bb3c3185a0 📌 Bump prettier from 2.8.4 to 2.8.7
Bumps [prettier](https://github.com/prettier/prettier) from 2.8.4 to 2.8.7.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.8.4...2.8.7)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-26 23:12:37 +00:00
dependabot[bot]
3db16563b0 👷 Bump actions/stale from 7 to 8
Bumps [actions/stale](https://github.com/actions/stale) from 7 to 8.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v7...v8)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-25 22:57:32 +00:00
James Panther
b1fbb2bd12 🔀 Merge pull request #57 from jpanther/dependabot/npm_and_yarn/prettier-plugin-tailwindcss-0.2.5
📌 Bump prettier-plugin-tailwindcss from 0.2.4 to 0.2.5
2023-03-23 09:21:09 +11:00
dependabot[bot]
7ed4b91583 📌 Bump prettier-plugin-tailwindcss from 0.2.4 to 0.2.5
Bumps [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) from 0.2.4 to 0.2.5.
- [Release notes](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.2.4...v0.2.5)

---
updated-dependencies:
- dependency-name: prettier-plugin-tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-19 22:59:40 +00:00
James Panther
742480b3b7 🔀 Merge pull request #54 from jpanther/dependabot/npm_and_yarn/prettier-plugin-tailwindcss-0.2.4
📌 Bump prettier-plugin-tailwindcss from 0.2.2 to 0.2.4
2023-03-03 10:23:42 +11:00
dependabot[bot]
dbebe3275d 📌 Bump prettier-plugin-tailwindcss from 0.2.2 to 0.2.4
Bumps [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) from 0.2.2 to 0.2.4.
- [Release notes](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.2.2...v0.2.4)

---
updated-dependencies:
- dependency-name: prettier-plugin-tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-02 23:02:53 +00:00
pesader
ba4dda2696 add support for stack overflow and stack exchange 2023-02-21 12:26:59 -03:00
James Panther
b37e426285 🔀 Merge pull request #47 from jpanther/dependabot/npm_and_yarn/prettier-2.8.4
📌 Bump prettier from 2.8.3 to 2.8.4
2023-02-11 10:31:33 +11:00
dependabot[bot]
49095fc8d2 📌 Bump prettier from 2.8.3 to 2.8.4
Bumps [prettier](https://github.com/prettier/prettier) from 2.8.3 to 2.8.4.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.8.3...2.8.4)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-08 22:06:04 +00:00
James Panther
c303a8313b 🔀 Merge pull request #43 from jpanther/dependabot/npm_and_yarn/prettier-plugin-tailwindcss-0.2.2
📌 Bump prettier-plugin-tailwindcss from 0.2.1 to 0.2.2
2023-01-26 09:58:58 +11:00
dependabot[bot]
6c7f2d4aa8 📌 Bump prettier-plugin-tailwindcss from 0.2.1 to 0.2.2
Bumps [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) from 0.2.1 to 0.2.2.
- [Release notes](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.2.1...v0.2.2)

---
updated-dependencies:
- dependency-name: prettier-plugin-tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-24 22:07:19 +00:00
James Panther
14ff75f663 🔖 Release v1.2.4
Some checks failed
Test Build / Build Example Site (push) Failing after 6s
2023-01-18 10:03:17 +11:00
James Panther
91aaffc9ea 🔨 Preparing release v1.2.4 2023-01-18 10:03:13 +11:00
James Panther
4554c562dc Merge branch 'dev' of https://github.com/jpanther/lynx into dev 2023-01-18 09:56:51 +11:00
James Panther
b7f35dd503 📝 Update changelog 2023-01-18 09:51:06 +11:00
James Panther
8feb868688 🔀 Merge pull request #41 from jpanther/dependabot/npm_and_yarn/tailwindcss/typography-0.5.9
📌 Bump @tailwindcss/typography from 0.5.8 to 0.5.9
2023-01-18 09:37:13 +11:00
dependabot[bot]
7ecfb843bc 💄 Rebuild CSS 2023-01-17 22:36:31 +00:00
dependabot[bot]
a72972fbf7 📌 Bump @tailwindcss/typography from 0.5.8 to 0.5.9
Bumps [@tailwindcss/typography](https://github.com/tailwindcss/typography) from 0.5.8 to 0.5.9.
- [Release notes](https://github.com/tailwindcss/typography/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss-typography/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindcss/typography/compare/v0.5.8...v0.5.9)

---
updated-dependencies:
- dependency-name: "@tailwindcss/typography"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-17 22:36:11 +00:00
James Panther
a14eedfe1f 🔀 Merge pull request #42 from jpanther/dependabot/npm_and_yarn/prettier-2.8.3
📌 Bump prettier from 2.8.2 to 2.8.3
2023-01-16 09:10:59 +11:00
dependabot[bot]
5bf72e5f14 📌 Bump prettier from 2.8.2 to 2.8.3
Bumps [prettier](https://github.com/prettier/prettier) from 2.8.2 to 2.8.3.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.8.2...2.8.3)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-15 22:03:56 +00:00
James Panther
5aa33a10e9 🔖 Release v1.2.3
Some checks failed
Test Build / Build Example Site (push) Failing after 7s
2023-01-09 15:12:36 +11:00
James Panther
a72e7cbd51 🔨 Preparing release v1.2.3 2023-01-09 15:12:34 +11:00
James Panther
4bd8643269 📝 Update changelog 2023-01-09 15:11:27 +11:00
James Panther
63323bdd31 🔀 Merge pull request #40 from jpanther/dependabot/npm_and_yarn/prettier-2.8.2
📌 Bump prettier from 2.8.0 to 2.8.2
2023-01-09 14:51:09 +11:00
James Panther
9b4ae21c90 🔀 Merge pull request #36 from CallumKerrEdwards/dev
Updating Mastodon Color
2023-01-09 14:50:48 +11:00
dependabot[bot]
3e6bd4b125 📌 Bump prettier from 2.8.0 to 2.8.2
Bumps [prettier](https://github.com/prettier/prettier) from 2.8.0 to 2.8.2.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.8.0...2.8.2)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-09 03:49:40 +00:00
James Panther
6c3d1b0b9d 🔀 Merge pull request #37 from jpanther/dependabot/github_actions/actions/stale-7
👷 Bump actions/stale from 6 to 7
2023-01-09 14:49:26 +11:00
James Panther
6b9769b7b7 🔀 Merge pull request #34 from jpanther/dependabot/npm_and_yarn/prettier-plugin-tailwindcss-0.2.1
📌 Bump prettier-plugin-tailwindcss from 0.2.0 to 0.2.1
2023-01-09 14:48:36 +11:00
dependabot[bot]
70842ef60c 👷 Bump actions/stale from 6 to 7
Bumps [actions/stale](https://github.com/actions/stale) from 6 to 7.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-24 22:01:54 +00:00
Callum Kerr-Edwards
875c8451a5 Updating Mastodon Compiled color 2022-12-21 10:59:00 +00:00
Callum Kerr-Edwards
3bddff301c Updating Mastodon Colour 2022-12-21 10:49:17 +00:00
dependabot[bot]
03f7920c60 📌 Bump prettier-plugin-tailwindcss from 0.2.0 to 0.2.1
Bumps [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) from 0.2.0 to 0.2.1.
- [Release notes](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.2.0...v0.2.1)

---
updated-dependencies:
- dependency-name: prettier-plugin-tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-11 22:01:40 +00:00
James Panther
720524f2e9 🔀 Merge pull request #32 from jpanther/dependabot/npm_and_yarn/prettier-plugin-tailwindcss-0.2.0
📌 Bump prettier-plugin-tailwindcss from 0.1.13 to 0.2.0
2022-12-03 11:04:42 +11:00
dependabot[bot]
0c38b7ba96 📌 Bump prettier-plugin-tailwindcss from 0.1.13 to 0.2.0
Bumps [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) from 0.1.13 to 0.2.0.
- [Release notes](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/releases)
- [Commits](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.1.13...v0.2.0)

---
updated-dependencies:
- dependency-name: prettier-plugin-tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-27 22:07:46 +00:00
James Panther
61778ee5d6 🔀 Merge pull request #31 from jpanther/dependabot/npm_and_yarn/prettier-2.8.0
📌 Bump prettier from 2.7.1 to 2.8.0
2022-11-24 09:18:36 +11:00
dependabot[bot]
8112f84e46 📌 Bump prettier from 2.7.1 to 2.8.0
Bumps [prettier](https://github.com/prettier/prettier) from 2.7.1 to 2.8.0.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.7.1...2.8.0)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-23 22:07:13 +00:00
James Panther
0180ec02a6 🔖 Release v1.2.2
Some checks failed
Test Build / Build Example Site (push) Failing after 6s
2022-11-22 11:27:17 +11:00
James Panther
cd9d762338 🔨 Preparing release v1.2.2 2022-11-22 11:27:14 +11:00
James Panther
84ea1005bb 👷 Update Netlify Hugo version 2022-11-22 11:26:04 +11:00
James Panther
d6d6a744d4 📝 Update changelog 2022-11-22 11:24:55 +11:00
James Panther
3a7c4de9f4 🔀 Merge pull request #27 from jpanther/dependabot/npm_and_yarn/tailwindcss/typography-0.5.8
📌 Bump @tailwindcss/typography from 0.5.7 to 0.5.8
2022-11-22 11:23:09 +11:00
dependabot[bot]
972c2cde4c 💄 Rebuild CSS 2022-11-22 00:21:59 +00:00
dependabot[bot]
0fe70db7b3 📌 Bump @tailwindcss/typography from 0.5.7 to 0.5.8
Bumps [@tailwindcss/typography](https://github.com/tailwindcss/typography) from 0.5.7 to 0.5.8.
- [Release notes](https://github.com/tailwindcss/typography/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss-typography/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindcss/typography/compare/v0.5.7...v0.5.8)

---
updated-dependencies:
- dependency-name: "@tailwindcss/typography"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-22 00:21:39 +00:00
James Panther
287c33fc9e 🔀 Merge pull request #30 from jpanther/dependabot/npm_and_yarn/tailwindcss-3.2.4
📌 Bump tailwindcss from 3.1.8 to 3.2.4
2022-11-22 11:19:47 +11:00
dependabot[bot]
8644f2aa90 💄 Rebuild CSS 2022-11-22 00:17:05 +00:00
dependabot[bot]
af4c151b3d 📌 Bump tailwindcss from 3.1.8 to 3.2.4
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.1.8 to 3.2.4.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.1.8...v3.2.4)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-22 00:16:50 +00:00
James Panther
08d94c6ca1 👷 Add build theme workflow 2022-11-22 11:12:06 +11:00
James Panther
d9f6d2777e 🔀 Merge pull request #24 from jpanther/dependabot/github_actions/actions/stale-6
👷 Bump actions/stale from 5 to 6
2022-10-11 09:02:37 +11:00
dependabot[bot]
0f4c8c2d7d 👷 Bump actions/stale from 5 to 6
Bumps [actions/stale](https://github.com/actions/stale) from 5 to 6.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-24 23:12:21 +00:00
James Panther
9b87348dd2 🔀 Merge pull request #23 from jpanther:dependabot/npm_and_yarn/tailwindcss/typography-0.5.7
📌 Bump @tailwindcss/typography from 0.5.4 to 0.5.7
2022-09-07 12:58:30 +10:00
James Panther
8358095b5b 📝 Update changelog 2022-09-07 12:57:15 +10:00
dependabot[bot]
4f7f693bd2 📌 Bump @tailwindcss/typography from 0.5.4 to 0.5.7
Bumps [@tailwindcss/typography](https://github.com/tailwindcss/typography) from 0.5.4 to 0.5.7.
- [Release notes](https://github.com/tailwindcss/typography/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss-typography/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindcss/typography/compare/v0.5.4...v0.5.7)

---
updated-dependencies:
- dependency-name: "@tailwindcss/typography"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-05 11:25:11 +00:00
James Panther
24552a7df2 🔖 Release v1.2.1
Some checks failed
Test Build / Build Example Site (push) Failing after 8s
2022-08-19 09:19:05 +10:00
James Panther
6f18c1fd49 🔨 Preparing release v1.2.1 2022-08-19 09:19:03 +10:00
James Panther
c3f89bd75c 🎨 Standardise CSS class order 2022-08-19 09:17:55 +10:00
James Panther
71765a44fe Add TailwindCSS Prettier plugin 2022-08-19 09:17:32 +10:00
James Panther
dcba2153b1 🐛 Fix home URL if site deployed in sub-directory 2022-08-19 09:14:42 +10:00
James Panther
6642b0c150 🔀 Merge pull request #16 from jpanther:dependabot/npm_and_yarn/tailwindcss/typography-0.5.4
📌 Bump @tailwindcss/typography from 0.5.2 to 0.5.4
2022-08-19 09:11:31 +10:00
James Panther
158dc18e28 📝 Update changelog 2022-08-19 09:10:47 +10:00
James Panther
7fcbf963db 💄 Rebuild CSS 2022-08-19 09:09:48 +10:00
dependabot[bot]
355c1e4745 📌 Bump @tailwindcss/typography from 0.5.2 to 0.5.4
Bumps [@tailwindcss/typography](https://github.com/tailwindcss/typography) from 0.5.2 to 0.5.4.
- [Release notes](https://github.com/tailwindcss/typography/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss-typography/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindcss/typography/compare/v0.5.2...v0.5.4)

---
updated-dependencies:
- dependency-name: "@tailwindcss/typography"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-18 23:06:13 +00:00
James Panther
f262d4e77e 🔀 Merge pull request #18 from jpanther:dependabot/npm_and_yarn/tailwindcss-3.1.8
📌 Bump tailwindcss from 3.1.4 to 3.1.8
2022-08-19 09:05:28 +10:00
James Panther
8e0b79c4aa 📝 Update changelog 2022-08-19 09:04:15 +10:00
James Panther
50a821adce 💄 Rebuild CSS 2022-08-19 09:02:41 +10:00
dependabot[bot]
d579ba0a0c 📌 Bump tailwindcss from 3.1.4 to 3.1.8
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.1.4 to 3.1.8.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.1.4...v3.1.8)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-07 23:28:32 +00:00
James Panther
01d6147607 🔀 Merge pull request #12 from jpanther:dependabot/npm_and_yarn/tailwindcss-3.1.4
📌 Bump tailwindcss from 3.1.3 to 3.1.4
2022-06-22 13:59:13 +10:00
James Panther
8402ff0093 📝 Update changelog 2022-06-22 13:57:29 +10:00
James Panther
69f5b16a34 💄 Rebuild CSS 2022-06-22 13:56:33 +10:00
dependabot[bot]
7d6781a739 📌 Bump tailwindcss from 3.1.3 to 3.1.4
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.1.3 to 3.1.4.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.1.3...v3.1.4)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-22 00:17:30 +00:00
James Panther
2dc3128a6d 🔖 Release v1.2.0
Some checks failed
Test Build / Build Example Site (push) Failing after 7s
2022-06-17 12:04:55 +10:00
James Panther
70cc9585e6 🔨 Preparing release v1.2.0 2022-06-17 12:04:53 +10:00
James Panther
c1acb95450 ️ Improve contrast of Twitter link 2022-06-17 12:01:12 +10:00
James Panther
e2dd72d0be Add headline parameter and image resizing 2022-06-17 11:56:39 +10:00
James Panther
5ae1a23727 Bundle all CSS into a single file 2022-06-17 11:26:11 +10:00
James Panther
25e68ccb23 ♻️ Change Tailwind Typography to use variables 2022-06-17 11:16:04 +10:00
James Panther
7c6bc92ff1 ️ Adjust text contrast to improve accessibility 2022-06-17 11:07:41 +10:00
James Panther
814c7774bc 👷 Add Lighthouse configuration 2022-06-17 11:03:06 +10:00
James Panther
f726d8eaa3 🙈 Simplify gitignore 2022-06-17 11:02:42 +10:00
James Panther
bdf096231d 👷 Add Netlify config 2022-06-17 10:46:01 +10:00
James Panther
f660cc80ae 📝 Update readme 2022-06-17 10:36:59 +10:00
James Panther
08dc7ded65 👷 Add pull request template 2022-06-17 10:35:11 +10:00
James Panther
74d106d5cc 🔧 Update Prettier configuration 2022-06-17 10:34:57 +10:00
James Panther
7b4322a48f 👷 Add Dependabot 2022-06-17 10:24:59 +10:00
James Panther
a8066e7a18 👷 Update GitHub workflows 2022-06-17 10:24:44 +10:00
James Panther
a620f187e0 ⬆️ Upgrade to Tailwind v3.1.3 2022-06-17 10:20:22 +10:00
James Panther
95983148cb 📌 Bump Prettier dependencies 2022-06-17 10:11:17 +10:00
James Panther
6715750437 📝 Update changelog 2022-06-17 10:08:14 +10:00
James Panther
08485972c3 🔀 Merge pull request #8 from stphnwlsh/dev
Add alternative text to author image
2022-06-17 10:04:37 +10:00
Stephen Walsh
6c5b16ea2f Revert adding alternative configuration 2022-06-16 12:04:21 +10:00
Stephen Walsh
b0e151acb3 Revert using the alternative setting to use name instead 2022-06-16 12:03:17 +10:00
Stephen Walsh
80b8e7bd8e Add alternative text 2022-02-14 12:39:47 +10:00
Stephen Walsh
f1b5bebff9 Add alt text to image 2022-02-14 12:38:15 +10:00
33 changed files with 1780 additions and 2646 deletions

26
.github/dependabot.yml vendored Normal file
View File

@@ -0,0 +1,26 @@
# GitHub Dependabot
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "daily"
time: "09:00"
timezone: "Australia/Melbourne"
commit-message:
prefix: "📌"
labels:
- "dependencies"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
day: "sunday"
time: "09:00"
timezone: "Australia/Melbourne"
commit-message:
prefix: "👷"
labels:
- "dependencies"

2
.github/pull_request_template.md vendored Normal file
View File

@@ -0,0 +1,2 @@
<!-- IMPORTANT! Before submitting, ensure you have followed the Contributing guidelines. -->
<!-- https://github.com/jpanther/lynx/blob/dev/CONTRIBUTING.md -->

25
.github/workflows/build-theme.yml vendored Normal file
View File

@@ -0,0 +1,25 @@
name: Build Theme
on: [pull_request_target]
jobs:
build:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: "${{ github.head_ref }}"
- name: Install dependencies and Build Theme
uses: actions/setup-node@v3
- run: npm install
- run: npm run build
- name: Commit CSS changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
branch: "${{ github.head_ref }}"
push_options: "--dry-run"
file_pattern: "assets/css/compiled/main.css"
commit_message: "💄 Rebuild CSS"
- run: git push

View File

@@ -7,12 +7,13 @@ on:
jobs: jobs:
build-deploy: build-deploy:
name: Build and Deploy
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
concurrency: concurrency:
group: ${{ github.workflow }}-${{ github.ref }} group: ${{ github.workflow }}-${{ github.ref }}
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v4
with: with:
submodules: true submodules: true
fetch-depth: 0 fetch-depth: 0

View File

@@ -4,6 +4,7 @@ on: [pull_request_target]
jobs: jobs:
label: label:
name: Label
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions: permissions:
contents: read contents: read
@@ -11,7 +12,7 @@ jobs:
steps: steps:
- name: Label - name: Label
uses: actions/labeler@v3 uses: actions/labeler@v4
with: with:
repo-token: "${{ secrets.GITHUB_TOKEN }}" repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: .github/labeller.yml configuration-path: .github/labeller.yml

30
.github/workflows/stale.yml vendored Normal file
View File

@@ -0,0 +1,30 @@
name: "Close stale issues and PRs"
on:
schedule:
- cron: "30 1 * * *"
jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v8
with:
days-before-stale: 30
days-before-close: 14
stale-issue-label: "stale"
stale-pr-label: "stale"
stale-issue-message: >
This issue has been automatically marked as stale because it has not had any recent activity.
If you are still experiencing this issue, please review the issue history and add a reply with any requested and/or additional information in order to keep the issue open.
This issue will automactically close in 14 days if no further activity occurs.
stale-pr-message: >
This pull request has been automatically marked as stale because it has not had any recent activity.
Please review the PR history and add a reply with any requested information. If no information has been requested, it may be that this contribution does not fit with the project objectives, or does not adhere to the [contributing guidelines](https://github.com/jpanther/lynx/blob/dev/CONTRIBUTING.md). If this is in error, please add a reply with further details.
This PR will automactically close in 14 days if no further activity occurs.

View File

@@ -1,15 +1,16 @@
name: Test Build name: Test Build
on: [push, pull_request] on: [push]
jobs: jobs:
build: build:
name: Build Example Site
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
concurrency: concurrency:
group: ${{ github.workflow }}-${{ github.ref }} group: ${{ github.workflow }}-${{ github.ref }}
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v4
with: with:
submodules: true submodules: true
fetch-depth: 0 fetch-depth: 0

144
.gitignore vendored
View File

@@ -1,145 +1,23 @@
# 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.*
### Node Patch ###
# Serverless Webpack directories
.webpack/
# 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/
.hugo_build.lock
# Executable may be added to repository # Executable may be added to repository
hugo.exe hugo.exe
hugo.darwin hugo.darwin
hugo.linux hugo.linux
# End of https://www.toptal.com/developers/gitignore/api/hugo # Temporary lock file while building
.hugo_build.lock
### Congo ###
# Lighthouse generated output
.lighthouseci
# Project specific files
TODO

View File

@@ -1,4 +1,5 @@
{ {
"goTemplateBracketSpacing": true,
"htmlWhitespaceSensitivity": "css", "htmlWhitespaceSensitivity": "css",
"printWidth": 100, "printWidth": 100,
"singleQuote": false, "singleQuote": false,

View File

@@ -7,6 +7,73 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased] ## [Unreleased]
## [1.3.1] - 2023-09-10
### Changed
- Upgrade to Tailwind v3.3.3 ([#77](https://github.com/jpanther/lynx/pull/77))
- Upgrade to Typography v0.5.10 ([#90](https://github.com/jpanther/lynx/pull/90))
## [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
- Upgrade to Typography v0.5.9 ([#41](https://github.com/jpanther/lynx/pull/41))
## [1.2.3] - 2023-01-09
### Changed
- Updated Mastodon link colour in line with branding changes ([#36](https://github.com/jpanther/lynx/pull/36))
## [1.2.2] - 2022-11-22
### Changed
- Upgrade to Tailwind v3.2.4 ([#30](https://github.com/jpanther/lynx/pull/30))
- Upgrade to Typography v0.5.8 ([#23](https://github.com/jpanther/lynx/pull/23), [#27](https://github.com/jpanther/lynx/pull/27))
## [1.2.1] - 2022-08-19
### Changed
- Upgrade to Tailwind v3.1.8 ([#12](https://github.com/jpanther/lynx/pull/12), [#18](https://github.com/jpanther/lynx/pull/18))
- Upgrade to Typography v0.5.4 ([#16](https://github.com/jpanther/lynx/pull/16))
### Fixed
- Home link not pointing to correct URL when site deployed in a sub-directory
## [1.2.0] - 2022-06-17
### Added
- Support for new author `headline` parameter
- Automatic author image resizing when image is provided as a Hugo asset
- Alt text to author image ([#8](https://github.com/jpanther/lynx/pull/8))
- Expanded Emoji support in page titles
### Changed
- Upgrade to Tailwind v3.1.3 and Typography v0.5.2
- Adjusted contrast of certain text to improve accessibility
- All CSS is now bundled into a single file for better performance
## [1.1.0] - 2021-11-06 ## [1.1.0] - 2021-11-06
### Added ### Added
@@ -33,6 +100,13 @@ 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.1.0...HEAD [Unreleased]: https://github.com/jpanther/lynx/compare/v1.3.1...HEAD
[1.3.1]: https://github.com/jpanther/lynx/compare/v1.3.0...v1.3.1
[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
[1.2.1]: https://github.com/jpanther/lynx/compare/v1.2.0...v1.2.1
[1.2.0]: https://github.com/jpanther/lynx/compare/v1.1.0...v1.2.0
[1.1.0]: https://github.com/jpanther/lynx/compare/v1.0.0...v1.1.0 [1.1.0]: https://github.com/jpanther/lynx/compare/v1.0.0...v1.1.0
[1.0.0]: https://github.com/jpanther/lynx/releases/tags/v1.0.0 [1.0.0]: https://github.com/jpanther/lynx/releases/tags/v1.0.0

View File

@@ -10,8 +10,7 @@ Lynx is designed to be a simple links page powered by [Hugo](https://gohugo.io).
## Features ## Features
- Built with Tailwind CSS JIT for minified stylesheets without any excess code - Fully responsive layout built with Tailwind CSS 3.0
- Fully responsive layout
- Dark mode (auto-switching based upon browser) - Dark mode (auto-switching based upon browser)
- SVG icons from FontAwesome 5 - SVG icons from FontAwesome 5
- HTML and Emoji support - HTML and Emoji support

File diff suppressed because it is too large Load Diff

View File

@@ -1,4 +1,4 @@
/*! Lynx v1.1.0 | MIT License | https://github.com/jpanther/lynx */ /*! Lynx v1.3.1 | 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 {
@@ -69,7 +69,7 @@
background-color: #0077b5; background-color: #0077b5;
} }
.link-mastodon { .link-mastodon {
background-color: #338cd4; background-color: #6364ff;
} }
.link-medium { .link-medium {
background-color: #00ab6c; background-color: #00ab6c;
@@ -119,7 +119,7 @@
background-color: #9146ff; background-color: #9146ff;
} }
.link-twitter { .link-twitter {
background-color: #1da1f2; background-color: rgb(63, 136, 222);
} }
.link-whatsapp { .link-whatsapp {
background-color: #45d82c; background-color: #45d82c;
@@ -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

@@ -10,6 +10,7 @@ disableKinds = ["taxonomy", "term"]
[author] [author]
# name = "Your name here" # name = "Your name here"
# headline = "An awesome person"
# image = "img/author.jpg" # path relative to static directory # image = "img/author.jpg" # path relative to static directory
links = [ links = [
@@ -41,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

Before

Width:  |  Height:  |  Size: 42 KiB

After

Width:  |  Height:  |  Size: 42 KiB

View File

@@ -6,6 +6,7 @@ disableKinds = ["taxonomy", "term"]
[author] [author]
name = "Lynx" name = "Lynx"
headline = "A simple links theme for Hugo built with Tailwind CSS"
image = "author.jpg" image = "author.jpg"
links = [ links = [
{ link = { href = "https://github.com/jpanther/lynx/blob/stable/README.md", text = "View the readme", icon = "github" } }, { link = { href = "https://github.com/jpanther/lynx/blob/stable/README.md", text = "View the readme", icon = "github" } },

View File

@@ -2,4 +2,4 @@
description: "This is a demo of the Lynx theme for Hugo." description: "This is a demo of the Lynx theme for Hugo."
--- ---
A simple links theme for Hugo built with Tailwind CSS. View the readme or check out all the link styles available using the links below.

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

@@ -2,7 +2,7 @@
<html lang="{{ with .Site.LanguageCode }}{{ . }}{{ else }}en{{ end }}"> <html lang="{{ with .Site.LanguageCode }}{{ . }}{{ else }}en{{ end }}">
{{- partial "head.html" . -}} {{- partial "head.html" . -}}
<body <body
class="flex flex-col h-screen px-6 m-auto text-lg leading-7 bg-neutral text-neutral-900 sm:px-14 md:px-24 lg:px-32 dark:bg-neutral-800 dark:text-white max-w-7xl" class="flex flex-col h-screen px-6 m-auto text-lg leading-7 bg-neutral max-w-7xl text-neutral-900 dark:bg-neutral-800 dark:text-white sm:px-14 md:px-24 lg:px-32"
> >
<main class="flex-grow">{{- block "main" . }}{{- end }}</main> <main class="flex-grow">{{- block "main" . }}{{- end }}</main>
{{- partial "footer.html" . -}} {{- partial "footer.html" . -}}

View File

@@ -1,14 +1,14 @@
{{ define "main" }} {{ define "main" }}
<article class="flex flex-col items-center justify-center mt-10"> <article class="flex flex-col items-center justify-center mt-10">
<nav class="place-self-start"> <nav class="place-self-start">
<a href="{{ "/" | relURL }}" class="text-neutral-500">&larr; {{ i18n "nav.home" }}</a> <a href="{{ "" | relURL }}" class="text-neutral-500">&larr; {{ i18n "nav.home" }}</a>
</nav> </nav>
<header> <header>
<h1 class="mt-2 mb-6 text-4xl font-extrabold text-center text-neutral-800 dark:text-white"> <h1 class="mt-2 mb-6 text-4xl font-extrabold text-center text-neutral-800 dark:text-white">
{{ .Title | emojify }} {{ .Title | emojify }}
</h1> </h1>
</header> </header>
<section class="prose dark:prose-light"> <section class="prose dark:prose-invert">
{{ .Content | emojify }} {{ .Content | emojify }}
</section> </section>
</article> </article>

View File

@@ -2,13 +2,34 @@
<article class="flex flex-col items-center justify-center h-full mt-10 text-center"> <article class="flex flex-col items-center justify-center h-full mt-10 text-center">
<header class="flex flex-col items-center mb-3"> <header class="flex flex-col items-center mb-3">
{{ with .Site.Author.image }} {{ with .Site.Author.image }}
<img class="mb-2 rounded-full w-36 h-36" src="{{ . | relURL }}" /> {{ $src := . }}
{{ $resource := "" }}
{{ if $.Page.Resources.GetMatch $src }}
{{ $resource = $.Page.Resources.GetMatch $src }}
{{ else if resources.GetMatch $src }}
{{ $resource = resources.Get $src }}
{{ end }}
{{ with $resource }}
{{ $src = (.Fill "288x288").RelPermalink }}
{{ end }}
<img
class="mb-2 rounded-full h-36 w-36"
width="144"
height="144"
alt="{{ $.Site.Author.name | default "Author" }}"
src="{{ $src }}"
/>
{{ end }} {{ end }}
<h1 class="text-4xl font-extrabold dark:text-white"> <h1 class="text-4xl font-extrabold dark:text-white">
{{ .Params.title | default .Site.Author.name | default .Site.Title | emojify }} {{ .Params.title | default .Site.Author.name | default .Site.Title | emojify }}
</h1> </h1>
{{ with .Site.Author.headline }}
<h2 class="text-xl text-neutral-500 dark:text-neutral-400">
{{ . | markdownify | emojify }}
</h2>
{{ end }}
{{ with .Content }} {{ with .Content }}
<section class="pt-5 prose dark:prose-light">{{ . | emojify }}</section> <section class="pt-5 prose dark:prose-invert">{{ . | emojify }}</section>
{{ end }} {{ end }}
</header> </header>
{{ with .Site.Author.links }} {{ with .Site.Author.links }}
@@ -28,7 +49,7 @@
{{ with $data.title }}{{ $title = . }}{{ end }} {{ with $data.title }}{{ $title = . }}{{ end }}
{{ end }} {{ end }}
<a <a
class="link link-{{ $type }} sm:px-24 min-w-full py-2 mb-3 text-lg rounded" class="link link-{{ $type }} mb-3 min-w-full rounded py-2 text-lg sm:px-24"
href="{{ $href }}" href="{{ $href }}"
target="{{ $target }}" target="{{ $target }}"
{{ with $title }}title="{{ . }}"{{ end }} {{ with $title }}title="{{ . }}"{{ end }}

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

@@ -1,7 +1,7 @@
<footer class="py-10"> <footer class="py-10">
<div class="text-center"> <div class="text-center">
{{/* Copyright */}} {{/* Copyright */}}
<p class="text-sm text-neutral-400 dark:text-neutral-500"> <p class="text-sm text-neutral-500 dark:text-neutral-400">
{{- with .Site.Copyright }} {{- with .Site.Copyright }}
{{ . | emojify | markdownify }} {{ . | emojify | markdownify }}
{{- else }} {{- else }}
@@ -12,11 +12,11 @@
</p> </p>
{{/* Theme attribution */}} {{/* Theme attribution */}}
{{ if .Site.Params.attribution | default true }} {{ if .Site.Params.attribution | default true }}
<p class="text-xs text-neutral-300 dark:text-neutral-600"> <p class="text-xs text-neutral-500 dark:text-neutral-400">
{{ $hugo := printf `<a class="hover:underline hover:underline-primary-300 hover:text-primary-400" {{ $hugo := printf `<a class="hover:underline hover:decoration-primary-400 hover:text-primary-500"
href="https://gohugo.io/" target="_blank" rel="noopener noreferrer">Hugo</a>` href="https://gohugo.io/" target="_blank" rel="noopener noreferrer">Hugo</a>`
}} }}
{{ $lynx := printf `<a class="hover:underline hover:underline-primary-300 hover:text-primary-400" href="https://git.io/hugo-lynx" target="_blank" rel="noopener noreferrer">Lynx</a>` }} {{ $lynx := printf `<a class="hover:underline hover:decoration-primary-400 hover:text-primary-500" href="https://git.io/hugo-lynx" target="_blank" rel="noopener noreferrer">Lynx</a>` }}
{{ i18n "footer.powered_by" (dict "Hugo" $hugo "Lynx" $lynx) | safeHTML }} {{ i18n "footer.powered_by" (dict "Hugo" $hugo "Lynx" $lynx) | safeHTML }}
</p> </p>
{{ end }} {{ end }}

View File

@@ -10,8 +10,8 @@
<title>{{ .Site.Title }}</title> <title>{{ .Site.Title }}</title>
<meta name="title" content="{{ .Site.Title }}" /> <meta name="title" content="{{ .Site.Title }}" />
{{- 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 -}}
@@ -32,25 +32,21 @@
{{ 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 | safeHTML }}
{{ end -}} {{ end -}}
{{/* Styles */}} {{/* Asset bundles */}}
{{ $mainCSS := resources.Get "css/compiled/main.css" }} {{ $assets := newScratch }}
{{ $mainStyles := $mainCSS | resources.Minify | resources.Fingerprint "sha512" }} {{ $cssMain := resources.Get "css/compiled/main.css" }}
{{ $assets.Add "css" (slice $cssMain) }}
{{ $cssCustom := resources.Get "css/custom.css" }}
{{ if $cssCustom }}
{{ $assets.Add "css" (slice $cssCustom) }}
{{ end }}
{{ $bundleCSS := $assets.Get "css" | resources.Concat "css/main.bundle.css" | resources.Minify | resources.Fingerprint "sha512" }}
<link <link
type="text/css" type="text/css"
rel="stylesheet" rel="stylesheet"
href="{{ $mainStyles.RelPermalink }}" href="{{ $bundleCSS.RelPermalink }}"
integrity="{{ $mainStyles.Data.Integrity }}" integrity="{{ $bundleCSS.Data.Integrity }}"
/> />
{{ $customCSS := resources.Get "css/custom.css" }}
{{ if $customCSS }}
{{ $customStyles := $customCSS | resources.Minify | resources.Fingerprint "sha512" }}
<link
type="text/css"
rel="stylesheet"
href="{{ $customStyles.RelPermalink }}"
integrity="{{ $customStyles.Data.Integrity }}"
/>
{{ end }}
{{/* Icons */}} {{/* Icons */}}
{{ if templates.Exists "partials/favicons.html" }} {{ if templates.Exists "partials/favicons.html" }}
{{ partialCached "favicons.html" .Site }} {{ partialCached "favicons.html" .Site }}
@@ -88,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 }}

15
lighthouserc.js Normal file
View File

@@ -0,0 +1,15 @@
module.exports = {
ci: {
collect: {
startServerCommand: "npm run example -- --disableLiveReload --minify",
startServerReadyPattern: "Web Server is available",
url: ["http://localhost:8008/lynx/"],
settings: {
skipAudits: ["uses-text-compression", "uses-long-cache-ttl"],
},
},
upload: {
target: "temporary-public-storage",
},
},
};

18
netlify.toml Normal file
View File

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

2319
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,11 +1,12 @@
{ {
"name": "hugo-lynx-theme", "name": "hugo-lynx-theme",
"version": "1.1.0", "version": "1.3.1",
"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",
"build": "NODE_ENV=production ./node_modules/tailwindcss/lib/cli.js -i ./assets/css/main.css -o ./assets/css/compiled/main.css --jit", "build": "NODE_ENV=production ./node_modules/tailwindcss/lib/cli.js -i ./assets/css/main.css -o ./assets/css/compiled/main.css --jit",
"example": "hugo server --source exampleSite --themesDir ../.. --buildDrafts -b http://localhost/lynx/ -p 8008" "example": "hugo server --source exampleSite --themesDir ../.. --buildDrafts -b http://localhost/lynx/ -p 8008",
"lighthouse": "lhci autorun"
}, },
"repository": { "repository": {
"type": "git", "type": "git",
@@ -24,9 +25,10 @@
}, },
"homepage": "https://github.com/jpanther/lynx#readme", "homepage": "https://github.com/jpanther/lynx#readme",
"devDependencies": { "devDependencies": {
"@tailwindcss/typography": "^0.4.1", "@tailwindcss/typography": "^0.5.10",
"prettier": "^2.4.1", "prettier": "^3.0.3",
"prettier-plugin-go-template": "^0.0.11", "prettier-plugin-go-template": "^0.0.15",
"tailwindcss": "^2.2.19" "prettier-plugin-tailwindcss": "^0.5.4",
"tailwindcss": "^3.3.3"
} }
} }

View File

@@ -1,15 +1,12 @@
const colors = require("tailwindcss/colors"); const colors = require("tailwindcss/colors");
module.exports = { module.exports = {
mode: "jit", content: [
purge: { "./layouts/**/*.html",
content: [ "./content/**/*.{html,md}",
"./layouts/**/*.html", "./themes/lynx/layouts/**/*.html",
"./content/**/*.{html,md}", "./themes/lynx/content/**/*.{html,md}",
"./themes/lynx/layouts/**/*.html", ],
"./themes/lynx/content/**/*.{html,md}",
],
},
darkMode: "media", darkMode: "media",
theme: { theme: {
colors: { colors: {
@@ -20,164 +17,84 @@ module.exports = {
extend: { extend: {
typography: (theme) => ({ typography: (theme) => ({
DEFAULT: { DEFAULT: {
css: [ css: {
{ "--tw-prose-body": theme("colors.neutral.700"),
color: theme("colors.neutral.700"), "--tw-prose-headings": theme("colors.neutral.800"),
a: { "--tw-prose-lead": theme("colors.neutral.500"),
color: theme("colors.primary.700"), "--tw-prose-links": theme("colors.primary.700"),
textDecoration: "underline", "--tw-prose-bold": theme("colors.neutral.900"),
textDecorationColor: theme("colors.primary.300"), "--tw-prose-counters": theme("colors.neutral.800"),
fontWeight: "500", "--tw-prose-bullets": theme("colors.neutral.500"),
"&:hover": { "--tw-prose-hr": theme("colors.neutral.200"),
backgroundColor: theme("colors.primary.600"), "--tw-prose-quotes": theme("colors.neutral.700"),
borderRadius: "0.09rem", "--tw-prose-quote-borders": theme("colors.primary.200"),
color: theme("colors.white"), "--tw-prose-captions": theme("colors.neutral.500"),
textDecoration: "none", "--tw-prose-code": theme("colors.primary.700"),
}, "--tw-prose-pre-code": theme("colors.neutral.700"),
}, "--tw-prose-pre-bg": theme("colors.neutral.50"),
strong: { "--tw-prose-th-borders": theme("colors.neutral.500"),
color: theme("colors.neutral.900"), "--tw-prose-td-borders": theme("colors.neutral.300"),
}, "--tw-prose-invert-body": theme("colors.neutral.300"),
"ol > li::before": { "--tw-prose-invert-headings": theme("colors.neutral.50"),
color: theme("colors.neutral.800"), "--tw-prose-invert-lead": theme("colors.neutral.500"),
}, "--tw-prose-invert-links": theme("colors.primary.400"),
"ul > li::before": { "--tw-prose-invert-bold": theme("colors.neutral.DEFAULT"),
backgroundColor: theme("colors.neutral.500"), "--tw-prose-invert-counters": theme("colors.neutral.400"),
}, "--tw-prose-invert-bullets": theme("colors.neutral.600"),
hr: { "--tw-prose-invert-hr": theme("colors.neutral.500"),
borderColor: theme("colors.neutral.200"), "--tw-prose-invert-quotes": theme("colors.neutral.200"),
}, "--tw-prose-invert-quote-borders": theme("colors.primary.900"),
blockquote: { "--tw-prose-invert-captions": theme("colors.neutral.400"),
color: theme("colors.neutral.800"), "--tw-prose-invert-code": theme("colors.primary.400"),
borderLeftColor: theme("colors.primary.200"), "--tw-prose-invert-pre-code": theme("colors.neutral.200"),
}, "--tw-prose-invert-pre-bg": theme("colors.neutral.700"),
h1: { "--tw-prose-invert-th-borders": theme("colors.neutral.500"),
color: theme("colors.neutral.800"), "--tw-prose-invert-td-borders": theme("colors.neutral.700"),
position: "relative", a: {
}, textDecoration: "underline",
h2: { textDecorationColor: theme("colors.primary.300"),
color: theme("colors.neutral.800"), fontWeight: "500",
position: "relative", "&:hover": {
}, color: theme("colors.neutral.DEFAULT"),
h3: { textDecoration: "none",
color: theme("colors.neutral.800"), backgroundColor: theme("colors.primary.600"),
position: "relative", borderRadius: "0.09rem",
},
h4: {
color: theme("colors.neutral.800"),
position: "relative",
},
code: {
color: theme("colors.primary.800"),
},
"pre code": {
color: theme("colors.neutral.700"),
},
pre: {
color: theme("colors.neutral.700"),
backgroundColor: theme("colors.neutral.50"),
},
"pre code": {
color: theme("colors.neutral.700"),
},
thead: {
color: theme("colors.neutral.800"),
borderBottomColor: theme("colors.neutral.500"),
},
"tbody tr": {
borderBottomColor: theme("colors.neutral.300"),
},
kbd: {
backgroundColor: theme("colors.neutral.200"),
padding: "0.1rem 0.4rem",
borderRadius: "0.25rem",
fontSize: "0.9rem",
fontWeight: "600",
},
mark: {
backgroundColor: theme("colors.primary.200"),
padding: "0.1rem 0.2rem",
borderRadius: "0.12rem",
}, },
}, },
], "a code": {
color: "var(--tw-prose-code)",
},
kbd: {
backgroundColor: theme("colors.neutral.200"),
padding: "0.1rem 0.4rem",
borderRadius: "0.25rem",
fontSize: "0.9rem",
fontWeight: "600",
},
mark: {
color: theme("colors.neutral.800"),
backgroundColor: theme("colors.primary.200"),
padding: "0.1rem 0.2rem",
borderRadius: "0.12rem",
},
},
}, },
light: { invert: {
css: [ css: {
{ a: {
color: theme("colors.neutral.400"), textDecorationColor: theme("colors.neutral.600"),
a: {
color: theme("colors.primary.400"),
textDecorationColor: theme("colors.neutral.500"),
},
strong: {
color: theme("colors.white"),
},
"ol > li::before": {
color: theme("colors.neutral.400"),
},
"ul > li::before": {
backgroundColor: theme("colors.neutral.600"),
},
hr: {
borderColor: theme("colors.neutral.500"),
},
blockquote: {
color: theme("colors.neutral.200"),
borderLeftColor: theme("colors.primary.900"),
},
h1: {
color: theme("colors.white"),
},
h2: {
color: theme("colors.white"),
},
h3: {
color: theme("colors.white"),
},
h4: {
color: theme("colors.white"),
},
"figure figcaption": {
color: theme("colors.neutral.400"),
},
code: {
color: theme("colors.primary.500"),
},
"a code": {
color: theme("colors.white"),
},
pre: {
color: theme("colors.neutral.200"),
backgroundColor: theme("colors.neutral.700"),
},
"pre code": {
color: theme("colors.neutral.200"),
},
thead: {
color: theme("colors.white"),
borderBottomColor: theme("colors.neutral.500"),
},
"tbody tr": {
borderBottomColor: theme("colors.neutral.700"),
},
kbd: {
backgroundColor: theme("colors.neutral.700"),
color: theme("colors.neutral.300"),
},
mark: {
backgroundColor: theme("colors.primary.400"),
},
}, },
], kbd: {
color: theme("colors.neutral.200"),
backgroundColor: theme("colors.neutral.700"),
},
mark: {
backgroundColor: theme("colors.primary.400"),
},
},
}, },
}), }),
}, },
}, },
variants: {
extend: {
typography: ["dark"],
},
},
plugins: [require("@tailwindcss/typography")], plugins: [require("@tailwindcss/typography")],
}; };