Compare commits

...

53 Commits
v1.3.1 ... main

Author SHA1 Message Date
2760519a04 去掉脚本 2025-01-20 22:25:47 +08:00
3b2ef81b82 init
Some checks failed
Test Build / Build Example Site (push) Failing after 1m36s
2025-01-20 22:23:00 +08:00
James Panther
87e68e24da
✏️ Fix typo in changelog 2024-05-01 15:21:06 +10:00
James Panther
b41cafb2b2
🔨 Preparing release v1.4.0 2024-05-01 15:19:59 +10:00
James Panther
4b3038bb49
🎨 Code cleanup 2024-05-01 15:17:15 +10:00
James Panther
0561b834c8
🔧 Update Prettier config 2024-05-01 15:12:27 +10:00
James Panther
072eddd9ec
🔀 Merge pull request #131 from jpanther/dependabot/npm_and_yarn/prettier-3.2.5
📌 Bump prettier from 3.1.0 to 3.2.5
2024-05-01 15:05:29 +10:00
dependabot[bot]
eafbbd70d8
📌 Bump prettier from 3.1.0 to 3.2.5
Bumps [prettier](https://github.com/prettier/prettier) from 3.1.0 to 3.2.5.
- [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.1.0...3.2.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-01 05:04:44 +00:00
James Panther
97a2ba8bc8
Add Bandcamp support 2024-05-01 14:47:06 +10:00
James Panther
b496ce078c
Add Bluesky support 2024-05-01 14:33:11 +10:00
James Panther
1388acbb76
👷 Update Labeller action config 2024-05-01 14:26:05 +10:00
James Panther
73bc689987
🔀 Merge pull request #138 from jpanther/dependabot/npm_and_yarn/tailwindcss-3.4.3
📌 Bump tailwindcss from 3.3.5 to 3.4.3
2024-05-01 14:22:30 +10:00
dependabot[bot]
d8703fa6bf 💄 Rebuild CSS 2024-05-01 04:20:58 +00:00
dependabot[bot]
73531a9dfa
📌 Bump tailwindcss from 3.3.5 to 3.4.3
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.3.5 to 3.4.3.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/v3.4.3/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.3.5...v3.4.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-01 04:20:40 +00:00
James Panther
c39f42346d
🔀 Merge pull request #137 from jpanther/dependabot/npm_and_yarn/tailwindcss/typography-0.5.11
📌 Bump @tailwindcss/typography from 0.5.10 to 0.5.11
2024-05-01 14:19:51 +10:00
James Panther
ddfa138ce3
Merge pull request #143 from jpanther/dependabot/npm_and_yarn/prettier-plugin-tailwindcss-0.5.14
📌 Bump prettier-plugin-tailwindcss from 0.5.7 to 0.5.14
2024-04-17 15:13:17 +10:00
James Panther
43013cdc96
Merge pull request #142 from jpanther/dependabot/github_actions/peaceiris/actions-gh-pages-4
👷 Bump peaceiris/actions-gh-pages from 3 to 4
2024-04-17 15:13:01 +10:00
James Panther
710f19816c
Merge pull request #141 from jpanther/dependabot/github_actions/peaceiris/actions-hugo-3
👷 Bump peaceiris/actions-hugo from 2 to 3
2024-04-17 15:12:52 +10:00
dependabot[bot]
1ebc14d025
📌 Bump prettier-plugin-tailwindcss from 0.5.7 to 0.5.14
Bumps [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) from 0.5.7 to 0.5.14.
- [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.7...v0.5.14)

---
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>
2024-04-15 23:31:12 +00:00
dependabot[bot]
6cf2df4b38
👷 Bump peaceiris/actions-gh-pages from 3 to 4
Bumps [peaceiris/actions-gh-pages](https://github.com/peaceiris/actions-gh-pages) from 3 to 4.
- [Release notes](https://github.com/peaceiris/actions-gh-pages/releases)
- [Changelog](https://github.com/peaceiris/actions-gh-pages/blob/main/CHANGELOG.md)
- [Commits](https://github.com/peaceiris/actions-gh-pages/compare/v3...v4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-13 23:19:52 +00:00
dependabot[bot]
ad48639d16
👷 Bump peaceiris/actions-hugo from 2 to 3
Bumps [peaceiris/actions-hugo](https://github.com/peaceiris/actions-hugo) from 2 to 3.
- [Release notes](https://github.com/peaceiris/actions-hugo/releases)
- [Changelog](https://github.com/peaceiris/actions-hugo/blob/main/CHANGELOG.md)
- [Commits](https://github.com/peaceiris/actions-hugo/compare/v2...v3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-06 23:16:13 +00:00
dependabot[bot]
a150ee38cd 💄 Rebuild CSS 2024-03-26 22:34:12 +00:00
dependabot[bot]
bc540f257c
📌 Bump @tailwindcss/typography from 0.5.10 to 0.5.11
Bumps [@tailwindcss/typography](https://github.com/tailwindlabs/tailwindcss-typography) from 0.5.10 to 0.5.11.
- [Release notes](https://github.com/tailwindlabs/tailwindcss-typography/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss-typography/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss-typography/compare/v0.5.10...v0.5.11)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-26 22:33:53 +00:00
James Panther
b4bf23e02f
🔀 Merge pull request #113 from jpanther/dependabot/github_actions/actions/stale-9
👷 Bump actions/stale from 8 to 9
2023-12-10 10:13:24 +11:00
James Panther
33bb99fd67
🔀 Merge pull request #112 from jpanther/dependabot/github_actions/actions/labeler-5
👷 Bump actions/labeler from 4 to 5
2023-12-10 10:13:10 +11:00
dependabot[bot]
f62c966351
👷 Bump actions/stale from 8 to 9
Bumps [actions/stale](https://github.com/actions/stale) from 8 to 9.
- [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/v8...v9)

---
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-12-09 22:53:56 +00:00
dependabot[bot]
09d09aaaf8
👷 Bump actions/labeler from 4 to 5
Bumps [actions/labeler](https://github.com/actions/labeler) from 4 to 5.
- [Release notes](https://github.com/actions/labeler/releases)
- [Commits](https://github.com/actions/labeler/compare/v4...v5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-09 22:53:52 +00:00
James Panther
6ef5e3685a
🚚 Move author to params.author 2023-11-27 20:15:26 +11:00
James Panther
e440c3c01b
🌐 Add missing i18n strings 2023-11-27 20:08:15 +11:00
James Panther
f96fa081cf
Add Threads support 2023-11-27 19:57:33 +11:00
James Panther
e4141f4f78
Add Spotify support 2023-11-27 19:55:14 +11:00
James Panther
a96af5f14b
📝 Update changelog 2023-11-27 19:48:58 +11:00
James Panther
bd0bee1220
🔀 Merge pull request #107 from rwehe/add-support-for-𝕏
 Add support for 𝕏 (Twitter)
2023-11-27 19:43:11 +11:00
Ryan W.
8900146c42
Add support for 𝕏 (Twitter) 2023-11-26 15:45:19 -07:00
James Panther
801df3567b
🔀 Merge pull request #102 from jpanther/dependabot/npm_and_yarn/prettier-plugin-tailwindcss-0.5.7
📌 Bump prettier-plugin-tailwindcss from 0.5.6 to 0.5.7
2023-11-23 10:04:52 +11:00
dependabot[bot]
e69466f39e
📌 Bump prettier-plugin-tailwindcss from 0.5.6 to 0.5.7
Bumps [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) from 0.5.6 to 0.5.7.
- [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.6...v0.5.7)

---
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-11-22 22:57:33 +00:00
James Panther
216e35b8be
🔀 Merge pull request #103 from jpanther/dependabot/npm_and_yarn/prettier-3.1.0
📌 Bump prettier from 3.0.3 to 3.1.0
2023-11-23 09:56:53 +11:00
dependabot[bot]
9cd8cd128c
📌 Bump prettier from 3.0.3 to 3.1.0
Bumps [prettier](https://github.com/prettier/prettier) from 3.0.3 to 3.1.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/3.0.3...3.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-13 22:32:19 +00:00
James Panther
7e65f60145
🔀 Merge pull request #100 from Bennytek/dev
✏️ Fix Last.fm link in config.toml
2023-10-30 10:31:37 +11:00
Ben Parker
a8bb843adb ✏️ Fix Last.fm link in config.toml
Replace incorrect link for "Last.fm" in the config.toml file

Previously, the link was "lastfm.com/user/username", however it has been changed to "last.fm/user/username" in order to reflect the correct URL of the website.
2023-10-30 02:51:21 +11:00
James Panther
400f3b0a22
🔀 Merge pull request #98 from jpanther/dependabot/npm_and_yarn/tailwindcss-3.3.5
📌 Bump tailwindcss from 3.3.3 to 3.3.5
2023-10-29 09:25:41 +11:00
James Panther
686c621b8f
🔀 Merge pull request #99 from jpanther/dependabot/github_actions/actions/setup-node-4
👷 Bump actions/setup-node from 3 to 4
2023-10-29 09:25:22 +11:00
dependabot[bot]
e560cd66b4
👷 Bump actions/setup-node from 3 to 4
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3 to 4.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v3...v4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-28 22:15:13 +00:00
dependabot[bot]
607ac2223d 💄 Rebuild CSS 2023-10-26 03:47:29 +00:00
dependabot[bot]
87f9568652
📌 Bump tailwindcss from 3.3.3 to 3.3.5
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.3.3 to 3.3.5.
- [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.3.3...v3.3.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-26 03:47:06 +00:00
James Panther
151a549726
🔀 Merge pull request #95 from jpanther/dependabot/github_actions/stefanzweifel/git-auto-commit-action-5
👷 Bump stefanzweifel/git-auto-commit-action from 4 to 5
2023-10-24 12:49:56 +11:00
James Panther
ecece16060
🔀 Merge pull request #96 from jpanther/dependabot/npm_and_yarn/prettier-plugin-tailwindcss-0.5.6
📌 Bump prettier-plugin-tailwindcss from 0.5.5 to 0.5.6
2023-10-24 12:49:32 +11:00
dependabot[bot]
e281487e76
📌 Bump prettier-plugin-tailwindcss from 0.5.5 to 0.5.6
Bumps [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) from 0.5.5 to 0.5.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.5.5...v0.5.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-10-19 07:55:35 +00:00
James Panther
f2c30f90e8
🔀 Merge pull request #93 from jpanther/dependabot/npm_and_yarn/prettier-plugin-tailwindcss-0.5.5
📌 Bump prettier-plugin-tailwindcss from 0.5.4 to 0.5.5
2023-10-19 18:55:02 +11:00
dependabot[bot]
dd38f0e066 💄 Rebuild CSS 2023-10-07 22:29:58 +00:00
dependabot[bot]
07398974bf
👷 Bump stefanzweifel/git-auto-commit-action from 4 to 5
Bumps [stefanzweifel/git-auto-commit-action](https://github.com/stefanzweifel/git-auto-commit-action) from 4 to 5.
- [Release notes](https://github.com/stefanzweifel/git-auto-commit-action/releases)
- [Changelog](https://github.com/stefanzweifel/git-auto-commit-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stefanzweifel/git-auto-commit-action/compare/v4...v5)

---
updated-dependencies:
- dependency-name: stefanzweifel/git-auto-commit-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-07 22:29:41 +00:00
dependabot[bot]
e0b851e1a1 💄 Rebuild CSS 2023-10-03 22:42:55 +00:00
dependabot[bot]
4b451e719c
📌 Bump prettier-plugin-tailwindcss from 0.5.4 to 0.5.5
Bumps [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) from 0.5.4 to 0.5.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.5.4...v0.5.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-10-03 22:42:34 +00:00
43 changed files with 262 additions and 561 deletions

1
.github/FUNDING.yml vendored
View File

@ -1 +0,0 @@
github: jpanther

View File

@ -1,47 +0,0 @@
name: 🐛 Bug Report
description: Report a new problem encountered using the theme
labels: [bug]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report! Before proceeding, please check that a similar issue has not already been reported. [View open issues](https://github.com/jpanther/lynx/issues)
- type: textarea
id: what-happened
attributes:
label: What happened?
description: Describe the issue and how to reproduce it, including what you expected to happen.
validations:
required: true
- type: input
id: theme-version
attributes:
label: Theme version
description: What version of the theme are you using?
placeholder: eg. v1.1.0
validations:
required: true
- type: input
id: hugo-version
attributes:
label: Hugo version
description: What version of Hugo are you using?
placeholder: eg. v0.86.1
validations:
required: true
- type: dropdown
id: browsers
attributes:
label: What browsers are you seeing the problem on?
multiple: true
options:
- Firefox
- Chrome
- Safari
- Microsoft Edge
- type: textarea
id: logs
attributes:
label: Relevant Hugo log output
description: Please copy and paste any relevant Hugo log output. This will be automatically formatted into code, so no need for backticks.
render: shell

View File

@ -1,8 +0,0 @@
blank_issues_enabled: true
contact_links:
- name: 💡 Feature Request
url: https://github.com/jpanther/lynx/discussions
about: Request and discuss enhancements using GitHub Discussions
- name: 🙋‍♀️ Question
url: https://github.com/jpanther/lynx/discussions
about: Please ask and answer general questions using GitHub Discussions

View File

@ -1,45 +0,0 @@
name: 💬 i18n Issue
description: Report an issue with i18n or translations
labels: [i18n]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this issue report!
- type: input
id: language
attributes:
label: Language
description: Which language are you using?
placeholder: eg. English
validations:
required: true
- type: textarea
id: issue
attributes:
label: What's the issue?
description: Describe the translation issue and how to reproduce it.
validations:
required: true
- type: input
id: theme-version
attributes:
label: Theme version
description: What version of the theme are you using?
placeholder: eg. v1.1.0
validations:
required: true
- type: input
id: hugo-version
attributes:
label: Hugo version
description: What version of Hugo are you using?
placeholder: eg. v0.86.1
validations:
required: true
- type: textarea
id: logs
attributes:
label: Relevant Hugo log output
description: Please copy and paste any relevant Hugo log output. This will be automatically formatted into code, so no need for backticks.
render: shell

View File

@ -1,26 +0,0 @@
# 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"

View File

@ -1,6 +0,0 @@
i18n:
- i18n/*
documentation:
- "*.md"
- exampleSite/content/*

View File

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

View File

@ -1,25 +0,0 @@
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

@ -1,36 +0,0 @@
name: GitHub Pages
on:
push:
branches:
- stable
jobs:
build-deploy:
name: Build and Deploy
runs-on: ubuntu-20.04
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: "latest"
- name: Build
working-directory: ./exampleSite
run: hugo --minify --themesDir ../.. --baseURL https://jpanther.github.io/lynx/
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/stable' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
publish_dir: ./exampleSite/public

View File

@ -1,18 +0,0 @@
name: Labeller
on: [pull_request_target]
jobs:
label:
name: Label
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- name: Label
uses: actions/labeler@v4
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: .github/labeller.yml

View File

@ -1,30 +0,0 @@
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,25 +0,0 @@
name: Test Build
on: [push]
jobs:
build:
name: Build Example Site
runs-on: ubuntu-20.04
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: "latest"
- name: Build
working-directory: ./exampleSite
run: hugo --minify --themesDir ../.. --baseURL https://jpanther.github.io/lynx/

3
.prettierignore Normal file
View File

@ -0,0 +1,3 @@
/assets/css/compiled/
/layouts/_default/_markup/*.html

View File

@ -1,9 +1,11 @@
{
"plugins": ["prettier-plugin-go-template", "prettier-plugin-tailwindcss"],
"goTemplateBracketSpacing": true,
"htmlWhitespaceSensitivity": "css",
"printWidth": 100,
"singleQuote": false,
"tabWidth": 2,
"useTabs": false,
"trailingComma": "es5",
"overrides": [
{

View File

@ -1,12 +1,25 @@
# Changelog
All notable changes to this project will be documented in this file.
All notable changes to Lynx will be documented in this file. Things that need particular attention when upgrading from a prior version are marked ⚠️.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
## [1.4.0] - 2024-05-01
### Added
- Support for Bandcamp, Bluesky, Spotify and Threads
- Support for X (Twitter) ([#107](https://github.com/jpanther/lynx/pull/107))
### Changed
- ⚠️ Author param block in site config moved to `params.author` to align with recent deprecations in the Hugo project
- Upgrade to Tailwind v3.4.3 ([#138](https://github.com/jpanther/lynx/pull/138))
- Upgrade to Typography v0.5.11 ([#137](https://github.com/jpanther/lynx/pull/137))
## [1.3.1] - 2023-09-10
### Changed
@ -100,7 +113,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.3.1...HEAD
[Unreleased]: https://github.com/jpanther/lynx/compare/v1.4.0...HEAD
[1.4.0]: https://github.com/jpanther/lynx/compare/v1.3.1...v1.4.0
[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

View File

@ -71,7 +71,7 @@ Acceptable link parameters are:
- `title` = the HTML title of the link
```toml
[author]
[params.author]
links = {
# Simple link
{ github = "https://github.com/jpanther/lynx" }

BIN
assets/avatar.jpeg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 109 KiB

View File

@ -1,6 +1,6 @@
/*! Lynx v1.3.0 | MIT License | https://github.com/jpanther/lynx */
/*! Lynx v1.4.0 | MIT License | https://github.com/jpanther/lynx */
/*! tailwindcss v3.3.3 | MIT License | https://tailwindcss.com */
/*! tailwindcss v3.4.3 | MIT License | https://tailwindcss.com */
/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
@ -32,9 +32,11 @@
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/
html {
html,
:host {
line-height: 1.5;
/* 1 */
-webkit-text-size-adjust: 100%;
@ -44,12 +46,14 @@ html {
-o-tab-size: 4;
tab-size: 4;
/* 3 */
font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
/* 4 */
font-feature-settings: normal;
/* 5 */
font-variation-settings: normal;
/* 6 */
-webkit-tap-highlight-color: transparent;
/* 7 */
}
/*
@ -121,8 +125,10 @@ strong {
}
/*
1. Use the user's configured `mono` font family by default.
2. Correct the odd `em` font sizing in all browsers.
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/
code,
@ -131,8 +137,12 @@ samp,
pre {
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
/* 1 */
font-size: 1em;
font-feature-settings: normal;
/* 2 */
font-variation-settings: normal;
/* 3 */
font-size: 1em;
/* 4 */
}
/*
@ -201,6 +211,8 @@ textarea {
/* 1 */
line-height: inherit;
/* 1 */
letter-spacing: inherit;
/* 1 */
color: inherit;
/* 1 */
margin: 0;
@ -224,9 +236,9 @@ select {
*/
button,
[type='button'],
[type='reset'],
[type='submit'] {
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
-webkit-appearance: button;
/* 1 */
background-color: transparent;
@ -482,6 +494,10 @@ video {
--tw-backdrop-opacity: ;
--tw-backdrop-saturate: ;
--tw-backdrop-sepia: ;
--tw-contain-size: ;
--tw-contain-layout: ;
--tw-contain-paint: ;
--tw-contain-style: ;
}
::backdrop {
@ -532,6 +548,10 @@ video {
--tw-backdrop-opacity: ;
--tw-backdrop-saturate: ;
--tw-backdrop-sepia: ;
--tw-contain-size: ;
--tw-contain-layout: ;
--tw-contain-paint: ;
--tw-contain-style: ;
}
.prose {
@ -586,7 +606,7 @@ video {
list-style-type: decimal;
margin-top: 1.25em;
margin-bottom: 1.25em;
padding-left: 1.625em;
padding-inline-start: 1.625em;
}
.prose :where(ol[type="A"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
@ -629,7 +649,7 @@ video {
list-style-type: disc;
margin-top: 1.25em;
margin-bottom: 1.25em;
padding-left: 1.625em;
padding-inline-start: 1.625em;
}
.prose :where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *))::marker {
@ -658,12 +678,12 @@ video {
font-weight: 500;
font-style: italic;
color: var(--tw-prose-quotes);
border-left-width: 0.25rem;
border-left-color: var(--tw-prose-quote-borders);
border-inline-start-width: 0.25rem;
border-inline-start-color: var(--tw-prose-quote-borders);
quotes: "\201C""\201D""\2018""\2019";
margin-top: 1.6em;
margin-bottom: 1.6em;
padding-left: 1em;
padding-inline-start: 1em;
}
.prose :where(blockquote p:first-of-type):not(:where([class~="not-prose"],[class~="not-prose"] *))::before {
@ -740,6 +760,11 @@ video {
margin-bottom: 2em;
}
.prose :where(video):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
margin-top: 2em;
margin-bottom: 2em;
}
.prose :where(kbd):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
font-weight: 600;
font-family: inherit;
@ -748,9 +773,9 @@ video {
font-size: 0.9rem;
border-radius: 0.25rem;
padding-top: 0.1875em;
padding-right: 0.375em;
padding-inline-end: 0.375em;
padding-bottom: 0.1875em;
padding-left: 0.375em;
padding-inline-start: 0.375em;
background-color: #e5e7eb;
padding: 0.1rem 0.4rem;
}
@ -810,9 +835,9 @@ video {
margin-bottom: 1.7142857em;
border-radius: 0.375rem;
padding-top: 0.8571429em;
padding-right: 1.1428571em;
padding-inline-end: 1.1428571em;
padding-bottom: 0.8571429em;
padding-left: 1.1428571em;
padding-inline-start: 1.1428571em;
}
.prose :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
@ -838,7 +863,7 @@ video {
.prose :where(table):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
width: 100%;
table-layout: auto;
text-align: left;
text-align: start;
margin-top: 2em;
margin-bottom: 2em;
font-size: 0.875em;
@ -854,9 +879,9 @@ video {
color: var(--tw-prose-headings);
font-weight: 600;
vertical-align: bottom;
padding-right: 0.5714286em;
padding-inline-end: 0.5714286em;
padding-bottom: 0.5714286em;
padding-left: 0.5714286em;
padding-inline-start: 0.5714286em;
}
.prose :where(tbody tr):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
@ -939,22 +964,17 @@ video {
margin-bottom: 0;
}
.prose :where(video):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
margin-top: 2em;
margin-bottom: 2em;
}
.prose :where(li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
margin-top: 0.5em;
margin-bottom: 0.5em;
}
.prose :where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
padding-left: 0.375em;
padding-inline-start: 0.375em;
}
.prose :where(ul > li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
padding-left: 0.375em;
padding-inline-start: 0.375em;
}
.prose :where(.prose > ul > li p):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
@ -962,19 +982,19 @@ video {
margin-bottom: 0.75em;
}
.prose :where(.prose > ul > li > *:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
.prose :where(.prose > ul > li > p:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
margin-top: 1.25em;
}
.prose :where(.prose > ul > li > *:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
.prose :where(.prose > ul > li > p:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
margin-bottom: 1.25em;
}
.prose :where(.prose > ol > li > *:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
.prose :where(.prose > ol > li > p:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
margin-top: 1.25em;
}
.prose :where(.prose > ol > li > *:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
.prose :where(.prose > ol > li > p:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
margin-bottom: 1.25em;
}
@ -990,7 +1010,7 @@ video {
.prose :where(dd):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
margin-top: 0.5em;
padding-left: 1.625em;
padding-inline-start: 1.625em;
}
.prose :where(hr + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
@ -1010,26 +1030,26 @@ video {
}
.prose :where(thead th:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
padding-left: 0;
padding-inline-start: 0;
}
.prose :where(thead th:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
padding-right: 0;
padding-inline-end: 0;
}
.prose :where(tbody td, tfoot td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
padding-top: 0.5714286em;
padding-right: 0.5714286em;
padding-inline-end: 0.5714286em;
padding-bottom: 0.5714286em;
padding-left: 0.5714286em;
padding-inline-start: 0.5714286em;
}
.prose :where(tbody td:first-child, tfoot td:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
padding-left: 0;
padding-inline-start: 0;
}
.prose :where(tbody td:last-child, tfoot td:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
padding-right: 0;
padding-inline-end: 0;
}
.prose :where(figure):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
@ -1083,6 +1103,15 @@ video {
background-color: #333;
}
.link-bandcamp {
background-color: #1da0c3;
}
.link-bluesky {
background: #0084ff;
background: linear-gradient(2.35619rad, #5a72fa 0%, #0084ff 100%);
}
.link-codepen {
background-color: #1e1f26;
}
@ -1193,6 +1222,10 @@ video {
background: linear-gradient(120deg, #ff8800, #ff3300);
}
.link-spotify {
background-color: #1db954;
}
.link-steam {
background-color: #000;
}
@ -1201,6 +1234,10 @@ video {
background-color: #25a3e1;
}
.link-threads {
background-color: #000;
}
.link-tiktok {
background-color: #fe2d55;
}
@ -1222,6 +1259,10 @@ video {
background: linear-gradient(120deg, #12990b, #45d82c);
}
.link-x {
background-color: #000;
}
.link-youtube {
background-color: #ff0000;
}
@ -1492,28 +1533,6 @@ video {
text-decoration-color: #c084fc;
}
@media (prefers-color-scheme: dark) {
.dark\:bg-neutral-800 {
--tw-bg-opacity: 1;
background-color: rgb(31 41 55 / var(--tw-bg-opacity));
}
.dark\:text-neutral-400 {
--tw-text-opacity: 1;
color: rgb(156 163 175 / var(--tw-text-opacity));
}
.dark\:text-neutral-500 {
--tw-text-opacity: 1;
color: rgb(107 114 128 / var(--tw-text-opacity));
}
.dark\:text-white {
--tw-text-opacity: 1;
color: rgb(255 255 255 / var(--tw-text-opacity));
}
}
@media (min-width: 640px) {
.sm\:min-w-0 {
min-width: 0px;
@ -1543,3 +1562,25 @@ video {
padding-right: 8rem;
}
}
@media (prefers-color-scheme: dark) {
.dark\:bg-neutral-800 {
--tw-bg-opacity: 1;
background-color: rgb(31 41 55 / var(--tw-bg-opacity));
}
.dark\:text-neutral-400 {
--tw-text-opacity: 1;
color: rgb(156 163 175 / var(--tw-text-opacity));
}
.dark\:text-neutral-500 {
--tw-text-opacity: 1;
color: rgb(107 114 128 / var(--tw-text-opacity));
}
.dark\:text-white {
--tw-text-opacity: 1;
color: rgb(255 255 255 / var(--tw-text-opacity));
}
}

View File

@ -1,4 +1,4 @@
/*! Lynx v1.3.1 | MIT License | https://github.com/jpanther/lynx */
/*! Lynx v1.4.0 | MIT License | https://github.com/jpanther/lynx */
@tailwind base;
@tailwind components;
@ -21,6 +21,13 @@
.link-apple {
background-color: #333;
}
.link-bandcamp {
background-color: #1da0c3;
}
.link-bluesky {
background: #0084ff;
background: linear-gradient(2.35619rad, #5a72fa 0%, #0084ff 100%);
}
.link-codepen {
background-color: #1e1f26;
}
@ -103,12 +110,18 @@
background-color: #ff8800;
background: linear-gradient(120deg, #ff8800, #ff3300);
}
.link-spotify {
background-color: #1db954;
}
.link-steam {
background-color: #000;
}
.link-telegram {
background-color: #25a3e1;
}
.link-threads {
background-color: #000;
}
.link-tiktok {
background-color: #fe2d55;
}
@ -125,6 +138,9 @@
background-color: #45d82c;
background: linear-gradient(120deg, #12990b, #45d82c);
}
.link-x {
background-color: #000;
}
.link-youtube {
background-color: #ff0000;
}

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path fill="currentColor" d="M256 8C119 8 8 119 8 256S119 504 256 504 504 393 504 256 393 8 256 8zm48.2 326.1h-181L207.9 178h181z"/></svg>

After

Width:  |  Height:  |  Size: 352 B

1
assets/icons/bluesky.svg Normal file
View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><!--!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path fill="currentColor" d="M407.8 294.7c-3.3-.4-6.7-.8-10-1.3c3.4 .4 6.7 .9 10 1.3zM288 227.1C261.9 176.4 190.9 81.9 124.9 35.3C61.6-9.4 37.5-1.7 21.6 5.5C3.3 13.8 0 41.9 0 58.4S9.1 194 15 213.9c19.5 65.7 89.1 87.9 153.2 80.7c3.3-.5 6.6-.9 10-1.4c-3.3 .5-6.6 1-10 1.4C74.3 308.6-9.1 342.8 100.3 464.5C220.6 589.1 265.1 437.8 288 361.1c22.9 76.7 49.2 222.5 185.6 103.4c102.4-103.4 28.1-156-65.8-169.9c-3.3-.4-6.7-.8-10-1.3c3.4 .4 6.7 .9 10 1.3c64.1 7.1 133.6-15.1 153.2-80.7C566.9 194 576 75 576 58.4s-3.3-44.7-21.6-52.9c-15.8-7.1-40-14.9-103.2 29.8C385.1 81.9 314.1 176.4 288 227.1z"/></svg>

After

Width:  |  Height:  |  Size: 807 B

1
assets/icons/spotify.svg Normal file
View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path fill="currentColor" d="M248 8C111.1 8 0 119.1 0 256s111.1 248 248 248 248-111.1 248-248S384.9 8 248 8zm100.7 364.9c-4.2 0-6.8-1.3-10.7-3.6-62.4-37.6-135-39.2-206.7-24.5-3.9 1-9 2.6-11.9 2.6-9.7 0-15.8-7.7-15.8-15.8 0-10.3 6.1-15.2 13.6-16.8 81.9-18.1 165.6-16.5 237 26.2 6.1 3.9 9.7 7.4 9.7 16.5s-7.1 15.4-15.2 15.4zm26.9-65.6c-5.2 0-8.7-2.3-12.3-4.2-62.5-37-155.7-51.9-238.6-29.4-4.8 1.3-7.4 2.6-11.9 2.6-10.7 0-19.4-8.7-19.4-19.4s5.2-17.8 15.5-20.7c27.8-7.8 56.2-13.6 97.8-13.6 64.9 0 127.6 16.1 177 45.5 8.1 4.8 11.3 11 11.3 19.7-.1 10.8-8.5 19.5-19.4 19.5zm31-76.2c-5.2 0-8.4-1.3-12.9-3.9-71.2-42.5-198.5-52.7-280.9-29.7-3.6 1-8.1 2.6-12.9 2.6-13.2 0-23.3-10.3-23.3-23.6 0-13.6 8.4-21.3 17.4-23.9 35.2-10.3 74.6-15.2 117.5-15.2 73 0 149.5 15.2 205.4 47.8 7.8 4.5 12.9 10.7 12.9 22.6 0 13.6-11 23.3-23.2 23.3z"/></svg>

After

Width:  |  Height:  |  Size: 890 B

1
assets/icons/threads.svg Normal file
View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M331.5 235.7c2.2 .9 4.2 1.9 6.3 2.8c29.2 14.1 50.6 35.2 61.8 61.4c15.7 36.5 17.2 95.8-30.3 143.2c-36.2 36.2-80.3 52.5-142.6 53h-.3c-70.2-.5-124.1-24.1-160.4-70.2c-32.3-41-48.9-98.1-49.5-169.6V256v-.2C17 184.3 33.6 127.2 65.9 86.2C102.2 40.1 156.2 16.5 226.4 16h.3c70.3 .5 124.9 24 162.3 69.9c18.4 22.7 32 50 40.6 81.7l-40.4 10.8c-7.1-25.8-17.8-47.8-32.2-65.4c-29.2-35.8-73-54.2-130.5-54.6c-57 .5-100.1 18.8-128.2 54.4C72.1 146.1 58.5 194.3 58 256c.5 61.7 14.1 109.9 40.3 143.3c28 35.6 71.2 53.9 128.2 54.4c51.4-.4 85.4-12.6 113.7-40.9c32.3-32.2 31.7-71.8 21.4-95.9c-6.1-14.2-17.1-26-31.9-34.9c-3.7 26.9-11.8 48.3-24.7 64.8c-17.1 21.8-41.4 33.6-72.7 35.3c-23.6 1.3-46.3-4.4-63.9-16c-20.8-13.8-33-34.8-34.3-59.3c-2.5-48.3 35.7-83 95.2-86.4c21.1-1.2 40.9-.3 59.2 2.8c-2.4-14.8-7.3-26.6-14.6-35.2c-10-11.7-25.6-17.7-46.2-17.8H227c-16.6 0-39 4.6-53.3 26.3l-34.4-23.6c19.2-29.1 50.3-45.1 87.8-45.1h.8c62.6 .4 99.9 39.5 103.7 107.7l-.2 .2zm-156 68.8c1.3 25.1 28.4 36.8 54.6 35.3c25.6-1.4 54.6-11.4 59.5-73.2c-13.2-2.9-27.8-4.4-43.4-4.4c-4.8 0-9.6 .1-14.4 .4c-42.9 2.4-57.2 23.2-56.2 41.8l-.1 .1z"/></svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

1
assets/icons/x.svg Normal file
View File

@ -0,0 +1 @@
<svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="x" class="svg-inline--fa fa-x fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z"/></svg>

After

Width:  |  Height:  |  Size: 372 B

View File

@ -1,57 +1,22 @@
# baseURL = "https://your_domain.com/"
languageCode = "en"
defaultContentLanguage = "en"
languageCode = "zh-cn"
defaultContentLanguage = "zh-cn"
title = "Lynx"
title = "xiushen"
# copyright = "Copy, _right?_ :thinking_face:"
enableEmoji = true
disableKinds = ["taxonomy", "term"]
[author]
# name = "Your name here"
# headline = "An awesome person"
# image = "img/author.jpg" # path relative to static directory
[params.author]
name = "xiushen"
headline = "有趣的灵魂只此一人"
image = "avatar.jpeg"
links = [
# { email = "mailto:hello@your_domain.com" },
# { link = "https://link-to-some-website.com/" },
# { amazon = "https://www.amazon.com/hz/wishlist/ls/wishlist-id" },
# { apple = "https://www.apple.com" },
# { codepen = "https://codepen.io/username" },
# { dev = "https://dev.to/username" },
# { discord = "https://discord.gg/invitecode" },
# { dribbble = "https://dribbble.com/username" },
# { facebook = "https://facebook.com/username" },
# { flickr = "https://www.flickr.com/photos/username/" },
# { foursquare = "https://foursquare.com/username" },
# { github = "https://github.com/username" },
# { gitlab = "https://gitlab.com/username" },
# { google = "https://www.google.com/" },
# { instagram = "https://instagram.com/username" },
# { keybase = "https://keybase.io/username" },
# { kickstarter = "https://www.kickstarter.com/profile/username" },
# { lastfm = "https://lastfm.com/user/username" },
# { linkedin = "https://linkedin.com/in/username" },
# { mastodon = "https://mastodon.instance/@username" },
# { medium = "https://medium.com/username" },
# { microsoft = "https://www.microsoft.com/" },
# { patreon = "https://www.patreon.com/username" },
# { pinterest = "https://pinterest.com/username" },
# { reddit = "https://reddit.com/user/username" },
# { 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" },
# { tumblr = "https://username.tumblr.com" },
# { twitch = "https://twitch.tv/username" },
# { twitter = "https://twitter.com/username" },
# { whatsapp = "https://wa.me/phone-number" },
# { youtube = "https://youtube.com/username" },
{ email = "mailto:alyenc@outlook.com" },
{ github = "https://github.com/alyenc" },
{ gitlab = "https://gitlab.com/alyenc" }
]
[module]

Binary file not shown.

Before

Width:  |  Height:  |  Size: 42 KiB

View File

@ -1,9 +0,0 @@
.link-font-awesome {
background: rgb(131, 58, 180);
background: linear-gradient(
90deg,
rgba(131, 58, 180, 1) 0%,
rgba(253, 29, 29, 1) 50%,
rgba(252, 176, 69, 1) 100%
);
}

View File

@ -1 +0,0 @@
<svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="font-awesome-flag" class="svg-inline--fa fa-font-awesome-flag fa-w-14" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M448 48V384c-63 23-82 32-119 32-63 0-87-32-150-32-20 0-36 4-51 8V328c15-4 31-8 51-8 63 0 87 32 150 32 20 0 35-3 55-9V135c-20 6-35 9-55 9-63 0-87-32-150-32-51 0-75 21-115 29V448a31.6 31.6 0 0 1-32 32A31.6 31.6 0 0 1 0 448V64A31.6 31.6 0 0 1 32 32 31.6 31.6 0 0 1 64 64V77c40-8 64-29 115-29 63 0 87 32 150 32C366 80 385 71 448 48Z"></path></svg>

Before

Width:  |  Height:  |  Size: 582 B

View File

@ -1,24 +0,0 @@
theme = "lynx"
title = "Lynx"
enableEmoji = true
disableKinds = ["taxonomy", "term"]
[author]
name = "Lynx"
headline = "A simple links theme for Hugo built with Tailwind CSS"
image = "author.jpg"
links = [
{ link = { href = "https://github.com/jpanther/lynx/blob/stable/README.md", text = "View the readme", icon = "github" } },
{ link = { href = "styles/", text = "All the link styles", target = "_self" } },
{ github = "https://github.com/jpanther/lynx" },
{ twitter = "https://twitter.com/jpanther" },
{ font-awesome = { href = "https://fontawesome.com/", text = "FontAwesome" } },
]
[markup.highlight]
noClasses = false
[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true

View File

@ -1,5 +0,0 @@
---
description: "This is a demo of the Lynx theme for Hugo."
---
View the readme or check out all the link styles available using the links below.

View File

@ -1,47 +0,0 @@
---
title: Link styles
---
These are all the built-in link styles available in Lynx. Don't forget that you can also create your own styles --- check the [readme](https://github.com/jpanther/lynx/blob/stable/README.md) for more details.
<br><br>
</section>
<section class="flex flex-col flex-wrap min-w-full mt-4 sm:min-w-0">
{{< link email >}}
{{< link link >}}
{{< link amazon >}}
{{< link apple >}}
{{< link codepen >}}
{{< link dev >}}
{{< link discord >}}
{{< link dribbble >}}
{{< link facebook >}}
{{< link flickr >}}
{{< link foursquare >}}
{{< link github >}}
{{< link gitlab >}}
{{< link google >}}
{{< link instagram >}}
{{< link keybase >}}
{{< link kickstarter >}}
{{< link lastfm >}}
{{< link linkedin >}}
{{< link mastodon >}}
{{< link medium >}}
{{< link microsoft >}}
{{< link patreon >}}
{{< link pinterest >}}
{{< link reddit >}}
{{< link slack >}}
{{< link snapchat >}}
{{< link soundcloud >}}
{{< link stack-exchange >}}
{{< link stack-overflow >}}
{{< link steam >}}
{{< link telegram >}}
{{< link tiktok >}}
{{< link tumblr >}}
{{< link twitch >}}
{{< link twitter >}}
{{< link whatsapp >}}
{{< link youtube >}}

View File

@ -1,8 +0,0 @@
<a
class="link link-{{ .Get 0 }} sm:px-24 min-w-full py-2 mb-3 text-lg rounded text-center"
href="#"
onclick="navigator.clipboard.writeText({{ .Get 0 }})"
>
<span class="mr-1">{{ partial "icon.html" (.Get 0) }}</span>
{{ .Get 0 }}
</a>

View File

@ -1,6 +1,8 @@
link:
amazon: Amazon
apple: Apple
bandcamp: Bandcamp
bluesky: Bluesky
codepen: CodePen
dev: DEV
discord: Discord
@ -29,13 +31,16 @@ link:
slack: Slack
snapchat: Snapchat
soundcloud: Soundcloud
spotify: Spotify
steam: Steam
telegram: Telegram
threads: Threads
tiktok: TikTok
tumblr: Tumblr
twitch: Twitch
twitter: Twitter
whatsapp: WhatsApp
x: 𝕏
youtube: YouTube
stack-exchange: Stack Exchange
stack-overflow: Stack Overflow

View File

@ -1,6 +1,8 @@
link:
amazon: Amazon
apple: Apple
bandcamp: Bandcamp
bluesky: Bluesky
codepen: CodePen
dev: DEV
discord: Discord
@ -29,13 +31,16 @@ link:
slack: Slack
snapchat: Snapchat
soundcloud: Soundcloud
spotify: Spotify
steam: Steam
telegram: Telegram
threads: Threads
tiktok: TikTok
tumblr: Tumblr
twitch: Twitch
twitter: Twitter
whatsapp: WhatsApp
x: 𝕏
youtube: YouTube
# nav:

View File

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

View File

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

View File

@ -1,7 +1,7 @@
{{ define "main" }}
<article class="flex flex-col items-center justify-center h-full mt-10 text-center">
<header class="flex flex-col items-center mb-3">
{{ with .Site.Author.image }}
<article class="mt-10 flex h-full flex-col items-center justify-center text-center">
<header class="mb-3 flex flex-col items-center">
{{ with .Site.Params.Author.image }}
{{ $src := . }}
{{ $resource := "" }}
{{ if $.Page.Resources.GetMatch $src }}
@ -13,27 +13,27 @@
{{ $src = (.Fill "288x288").RelPermalink }}
{{ end }}
<img
class="mb-2 rounded-full h-36 w-36"
class="mb-2 h-36 w-36 rounded-full"
width="144"
height="144"
alt="{{ $.Site.Author.name | default "Author" }}"
alt="{{ $.Site.Params.Author.name | default "Author" }}"
src="{{ $src }}"
/>
{{ end }}
<h1 class="text-4xl font-extrabold dark:text-white">
{{ .Params.title | default .Site.Author.name | default .Site.Title | emojify }}
{{ .Params.title | default .Site.Params.Author.name | default .Site.Title | emojify }}
</h1>
{{ with .Site.Author.headline }}
{{ with .Site.Params.Author.headline }}
<h2 class="text-xl text-neutral-500 dark:text-neutral-400">
{{ . | markdownify | emojify }}
</h2>
{{ end }}
{{ with .Content }}
<section class="pt-5 prose dark:prose-invert">{{ . | emojify }}</section>
<section class="prose pt-5 dark:prose-invert">{{ . | emojify }}</section>
{{ end }}
</header>
{{ with .Site.Author.links }}
<div class="flex flex-col flex-wrap min-w-full mt-4 sm:min-w-0">
{{ with .Site.Params.Author.links }}
<div class="mt-4 flex min-w-full flex-col flex-wrap sm:min-w-0">
{{ range $links := . }}
{{ range $type, $data := $links }}
{{ $href := $data }}

View File

@ -1,10 +1,6 @@
{{ 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>
{{ else }}
<script defer src="https://cdn.usefathom.com/script.js" data-site="{{ . }}"></script>
{{ end }}
<script defer src="https://cdn.usefathom.com/script.js" data-site="{{ . }}"></script>
{{ end }}
{{ template "_internal/google_analytics.html" . }}
{{ end }}

View File

@ -1,6 +1,6 @@
{{ $icon := resources.Get (print "icons/" . ".svg") }}
{{ if $icon }}
<span class="relative inline-block align-text-bottom icon">
<span class="icon relative inline-block align-text-bottom">
{{ $icon.Content | safeHTML }}
</span>
{{ end }}

View File

@ -1,4 +1,4 @@
<span class="relative inline-block align-text-bottom icon">
<span class="icon relative inline-block align-text-bottom">
{{ $icon := resources.Get (printf "icons/%s.svg" ($.Get 0)) }}
{{ if $icon }}
{{ $icon.Content | safeHTML }}

118
package-lock.json generated
View File

@ -1,19 +1,19 @@
{
"name": "hugo-lynx-theme",
"version": "1.3.0",
"version": "1.3.1",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "hugo-lynx-theme",
"version": "1.3.0",
"version": "1.3.1",
"license": "MIT",
"devDependencies": {
"@tailwindcss/typography": "^0.5.10",
"prettier": "^3.0.3",
"@tailwindcss/typography": "^0.5.11",
"prettier": "^3.2.5",
"prettier-plugin-go-template": "^0.0.15",
"prettier-plugin-tailwindcss": "^0.5.4",
"tailwindcss": "^3.3.3"
"prettier-plugin-tailwindcss": "^0.5.14",
"tailwindcss": "^3.4.3"
}
},
"node_modules/@alloc/quick-lru": {
@ -118,9 +118,9 @@
}
},
"node_modules/@tailwindcss/typography": {
"version": "0.5.10",
"resolved": "https://registry.npmjs.org/@tailwindcss/typography/-/typography-0.5.10.tgz",
"integrity": "sha512-Pe8BuPJQJd3FfRnm6H0ulKIGoMEQS+Vq01R6M5aCrFB/ccR/shT+0kXLjouGC1gFLm9hopTFN+DMP0pfwRWzPw==",
"version": "0.5.11",
"resolved": "https://registry.npmjs.org/@tailwindcss/typography/-/typography-0.5.11.tgz",
"integrity": "sha512-ahOULqBQGCdSqL3vMNjH1R5cU2gxTh059fJIKF2enHXE8c/s3yKGDSKZ1+4poCr7BZRREJS8n5cCFmwsW4Ok3A==",
"dev": true,
"dependencies": {
"lodash.castarray": "^4.4.0",
@ -282,9 +282,9 @@
"dev": true
},
"node_modules/fast-glob": {
"version": "3.2.12",
"resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.12.tgz",
"integrity": "sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==",
"version": "3.3.1",
"resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.1.tgz",
"integrity": "sha512-kNFPyjhh5cKjrUltxs+wFx+ZkbRaxxmZ+X0ZU31SOsxCEtP9VPgtq2teZw1DebupL5GmDaNQ6yKMMVcM41iqDg==",
"dev": true,
"dependencies": {
"@nodelib/fs.stat": "^2.0.2",
@ -310,9 +310,9 @@
}
},
"node_modules/fastq": {
"version": "1.13.0",
"resolved": "https://registry.npmjs.org/fastq/-/fastq-1.13.0.tgz",
"integrity": "sha512-YpkpUnK8od0o1hmeSc7UUs/eB/vIPWJYjKck2QKIzAf71Vm1AAQ3EbuZB3g2JIy+pg+ERD0vqI79KyZiB2e2Nw==",
"version": "1.15.0",
"resolved": "https://registry.npmjs.org/fastq/-/fastq-1.15.0.tgz",
"integrity": "sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==",
"dev": true,
"dependencies": {
"reusify": "^1.0.4"
@ -471,9 +471,9 @@
}
},
"node_modules/jiti": {
"version": "1.18.2",
"resolved": "https://registry.npmjs.org/jiti/-/jiti-1.18.2.tgz",
"integrity": "sha512-QAdOptna2NYiSSpv0O/BwoHBSmz4YhpzJHyi+fnMRTXFjp7B8i/YG5Z8IfusxB1ufjcD2Sre1F3R+nX3fvy7gg==",
"version": "1.21.0",
"resolved": "https://registry.npmjs.org/jiti/-/jiti-1.21.0.tgz",
"integrity": "sha512-gFqAIbuKyyso/3G2qhiO2OM6shY6EPP/R0+mkDbyspxKazh8BXDC5FiFsUjlczgdNz/vfra0da2y+aHrusLG/Q==",
"dev": true,
"bin": {
"jiti": "bin/jiti.js"
@ -807,9 +807,9 @@
"dev": true
},
"node_modules/prettier": {
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/prettier/-/prettier-3.0.3.tgz",
"integrity": "sha512-L/4pUDMxcNa8R/EthV08Zt42WBO4h1rarVtK0K+QJG0X187OLo7l699jWw0GKuwzkPQ//jMFA/8Xm6Fh3J/DAg==",
"version": "3.2.5",
"resolved": "https://registry.npmjs.org/prettier/-/prettier-3.2.5.tgz",
"integrity": "sha512-3/GWa9aOC0YeD7LUfvOG2NiDyhOWRvt1k+rcKhOuYnMY24iiCphgneUfJDyFXd6rZCAnuLBv6UeAULtrhT/F4A==",
"dev": true,
"bin": {
"prettier": "bin/prettier.cjs"
@ -837,9 +837,9 @@
}
},
"node_modules/prettier-plugin-tailwindcss": {
"version": "0.5.4",
"resolved": "https://registry.npmjs.org/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.5.4.tgz",
"integrity": "sha512-QZzzB1bID6qPsKHTeA9qPo1APmmxfFrA5DD3LQ+vbTmAnY40eJI7t9Q1ocqel2EKMWNPLJqdTDWZj1hKYgqSgg==",
"version": "0.5.14",
"resolved": "https://registry.npmjs.org/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.5.14.tgz",
"integrity": "sha512-Puaz+wPUAhFp8Lo9HuciYKM2Y2XExESjeT+9NQoVFXZsPPnc9VYss2SpxdQ6vbatmt8/4+SN0oe0I1cPDABg9Q==",
"dev": true,
"engines": {
"node": ">=14.21.3"
@ -848,15 +848,17 @@
"@ianvs/prettier-plugin-sort-imports": "*",
"@prettier/plugin-pug": "*",
"@shopify/prettier-plugin-liquid": "*",
"@shufo/prettier-plugin-blade": "*",
"@trivago/prettier-plugin-sort-imports": "*",
"@zackad/prettier-plugin-twig-melody": "*",
"prettier": "^3.0",
"prettier-plugin-astro": "*",
"prettier-plugin-css-order": "*",
"prettier-plugin-import-sort": "*",
"prettier-plugin-jsdoc": "*",
"prettier-plugin-marko": "*",
"prettier-plugin-organize-attributes": "*",
"prettier-plugin-organize-imports": "*",
"prettier-plugin-sort-imports": "*",
"prettier-plugin-style-order": "*",
"prettier-plugin-svelte": "*"
},
@ -870,10 +872,10 @@
"@shopify/prettier-plugin-liquid": {
"optional": true
},
"@shufo/prettier-plugin-blade": {
"@trivago/prettier-plugin-sort-imports": {
"optional": true
},
"@trivago/prettier-plugin-sort-imports": {
"@zackad/prettier-plugin-twig-melody": {
"optional": true
},
"prettier-plugin-astro": {
@ -897,14 +899,14 @@
"prettier-plugin-organize-imports": {
"optional": true
},
"prettier-plugin-sort-imports": {
"optional": true
},
"prettier-plugin-style-order": {
"optional": true
},
"prettier-plugin-svelte": {
"optional": true
},
"prettier-plugin-twig-melody": {
"optional": true
}
}
},
@ -1043,9 +1045,9 @@
}
},
"node_modules/tailwindcss": {
"version": "3.3.3",
"resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.3.3.tgz",
"integrity": "sha512-A0KgSkef7eE4Mf+nKJ83i75TMyq8HqY3qmFIJSWy8bNt0v1lG7jUcpGpoTFxAwYcWOphcTBLPPJg+bDfhDf52w==",
"version": "3.4.3",
"resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.3.tgz",
"integrity": "sha512-U7sxQk/n397Bmx4JHbJx/iSOOv5G+II3f1kpLpY2QeUv5DcPdcTsYLlusZfq1NthHS1c1cZoyFmmkex1rzke0A==",
"dev": true,
"dependencies": {
"@alloc/quick-lru": "^5.2.0",
@ -1053,10 +1055,10 @@
"chokidar": "^3.5.3",
"didyoumean": "^1.2.2",
"dlv": "^1.1.3",
"fast-glob": "^3.2.12",
"fast-glob": "^3.3.0",
"glob-parent": "^6.0.2",
"is-glob": "^4.0.3",
"jiti": "^1.18.2",
"jiti": "^1.21.0",
"lilconfig": "^2.1.0",
"micromatch": "^4.0.5",
"normalize-path": "^3.0.0",
@ -1243,9 +1245,9 @@
}
},
"@tailwindcss/typography": {
"version": "0.5.10",
"resolved": "https://registry.npmjs.org/@tailwindcss/typography/-/typography-0.5.10.tgz",
"integrity": "sha512-Pe8BuPJQJd3FfRnm6H0ulKIGoMEQS+Vq01R6M5aCrFB/ccR/shT+0kXLjouGC1gFLm9hopTFN+DMP0pfwRWzPw==",
"version": "0.5.11",
"resolved": "https://registry.npmjs.org/@tailwindcss/typography/-/typography-0.5.11.tgz",
"integrity": "sha512-ahOULqBQGCdSqL3vMNjH1R5cU2gxTh059fJIKF2enHXE8c/s3yKGDSKZ1+4poCr7BZRREJS8n5cCFmwsW4Ok3A==",
"dev": true,
"requires": {
"lodash.castarray": "^4.4.0",
@ -1371,9 +1373,9 @@
"dev": true
},
"fast-glob": {
"version": "3.2.12",
"resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.12.tgz",
"integrity": "sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==",
"version": "3.3.1",
"resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.1.tgz",
"integrity": "sha512-kNFPyjhh5cKjrUltxs+wFx+ZkbRaxxmZ+X0ZU31SOsxCEtP9VPgtq2teZw1DebupL5GmDaNQ6yKMMVcM41iqDg==",
"dev": true,
"requires": {
"@nodelib/fs.stat": "^2.0.2",
@ -1395,9 +1397,9 @@
}
},
"fastq": {
"version": "1.13.0",
"resolved": "https://registry.npmjs.org/fastq/-/fastq-1.13.0.tgz",
"integrity": "sha512-YpkpUnK8od0o1hmeSc7UUs/eB/vIPWJYjKck2QKIzAf71Vm1AAQ3EbuZB3g2JIy+pg+ERD0vqI79KyZiB2e2Nw==",
"version": "1.15.0",
"resolved": "https://registry.npmjs.org/fastq/-/fastq-1.15.0.tgz",
"integrity": "sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==",
"dev": true,
"requires": {
"reusify": "^1.0.4"
@ -1519,9 +1521,9 @@
"dev": true
},
"jiti": {
"version": "1.18.2",
"resolved": "https://registry.npmjs.org/jiti/-/jiti-1.18.2.tgz",
"integrity": "sha512-QAdOptna2NYiSSpv0O/BwoHBSmz4YhpzJHyi+fnMRTXFjp7B8i/YG5Z8IfusxB1ufjcD2Sre1F3R+nX3fvy7gg==",
"version": "1.21.0",
"resolved": "https://registry.npmjs.org/jiti/-/jiti-1.21.0.tgz",
"integrity": "sha512-gFqAIbuKyyso/3G2qhiO2OM6shY6EPP/R0+mkDbyspxKazh8BXDC5FiFsUjlczgdNz/vfra0da2y+aHrusLG/Q==",
"dev": true
},
"lilconfig": {
@ -1738,9 +1740,9 @@
"dev": true
},
"prettier": {
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/prettier/-/prettier-3.0.3.tgz",
"integrity": "sha512-L/4pUDMxcNa8R/EthV08Zt42WBO4h1rarVtK0K+QJG0X187OLo7l699jWw0GKuwzkPQ//jMFA/8Xm6Fh3J/DAg==",
"version": "3.2.5",
"resolved": "https://registry.npmjs.org/prettier/-/prettier-3.2.5.tgz",
"integrity": "sha512-3/GWa9aOC0YeD7LUfvOG2NiDyhOWRvt1k+rcKhOuYnMY24iiCphgneUfJDyFXd6rZCAnuLBv6UeAULtrhT/F4A==",
"dev": true
},
"prettier-plugin-go-template": {
@ -1753,9 +1755,9 @@
}
},
"prettier-plugin-tailwindcss": {
"version": "0.5.4",
"resolved": "https://registry.npmjs.org/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.5.4.tgz",
"integrity": "sha512-QZzzB1bID6qPsKHTeA9qPo1APmmxfFrA5DD3LQ+vbTmAnY40eJI7t9Q1ocqel2EKMWNPLJqdTDWZj1hKYgqSgg==",
"version": "0.5.14",
"resolved": "https://registry.npmjs.org/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.5.14.tgz",
"integrity": "sha512-Puaz+wPUAhFp8Lo9HuciYKM2Y2XExESjeT+9NQoVFXZsPPnc9VYss2SpxdQ6vbatmt8/4+SN0oe0I1cPDABg9Q==",
"dev": true,
"requires": {}
},
@ -1837,9 +1839,9 @@
"dev": true
},
"tailwindcss": {
"version": "3.3.3",
"resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.3.3.tgz",
"integrity": "sha512-A0KgSkef7eE4Mf+nKJ83i75TMyq8HqY3qmFIJSWy8bNt0v1lG7jUcpGpoTFxAwYcWOphcTBLPPJg+bDfhDf52w==",
"version": "3.4.3",
"resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.3.tgz",
"integrity": "sha512-U7sxQk/n397Bmx4JHbJx/iSOOv5G+II3f1kpLpY2QeUv5DcPdcTsYLlusZfq1NthHS1c1cZoyFmmkex1rzke0A==",
"dev": true,
"requires": {
"@alloc/quick-lru": "^5.2.0",
@ -1847,10 +1849,10 @@
"chokidar": "^3.5.3",
"didyoumean": "^1.2.2",
"dlv": "^1.1.3",
"fast-glob": "^3.2.12",
"fast-glob": "^3.3.0",
"glob-parent": "^6.0.2",
"is-glob": "^4.0.3",
"jiti": "^1.18.2",
"jiti": "^1.21.0",
"lilconfig": "^2.1.0",
"micromatch": "^4.0.5",
"normalize-path": "^3.0.0",

View File

@ -1,6 +1,6 @@
{
"name": "hugo-lynx-theme",
"version": "1.3.1",
"version": "1.4.0",
"description": "Lynx theme for Hugo",
"scripts": {
"dev": "NODE_ENV=development ./node_modules/tailwindcss/lib/cli.js -i ./assets/css/main.css -o ./assets/css/compiled/main.css --jit -w",
@ -25,10 +25,10 @@
},
"homepage": "https://github.com/jpanther/lynx#readme",
"devDependencies": {
"@tailwindcss/typography": "^0.5.10",
"prettier": "^3.0.3",
"@tailwindcss/typography": "^0.5.11",
"prettier": "^3.2.5",
"prettier-plugin-go-template": "^0.0.15",
"prettier-plugin-tailwindcss": "^0.5.4",
"tailwindcss": "^3.3.3"
"prettier-plugin-tailwindcss": "^0.5.14",
"tailwindcss": "^3.4.3"
}
}

View File

@ -1 +1,11 @@
{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"}
{
"name": "Lynx",
"short_name": "Lynx",
"icons": [
{ "src": "/android-chrome-192x192.png", "sizes": "192x192", "type": "image/png" },
{ "src": "/android-chrome-512x512.png", "sizes": "512x512", "type": "image/png" }
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone"
}