去掉脚本
This commit is contained in:
parent
3b2ef81b82
commit
2760519a04
1
.github/FUNDING.yml
vendored
1
.github/FUNDING.yml
vendored
@ -1 +0,0 @@
|
||||
github: jpanther
|
47
.github/ISSUE_TEMPLATE/bug-report.yml
vendored
47
.github/ISSUE_TEMPLATE/bug-report.yml
vendored
@ -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
|
8
.github/ISSUE_TEMPLATE/config.yml
vendored
8
.github/ISSUE_TEMPLATE/config.yml
vendored
@ -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
|
45
.github/ISSUE_TEMPLATE/i18n-issue.yml
vendored
45
.github/ISSUE_TEMPLATE/i18n-issue.yml
vendored
@ -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
|
26
.github/dependabot.yml
vendored
26
.github/dependabot.yml
vendored
@ -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"
|
7
.github/labeller.yml
vendored
7
.github/labeller.yml
vendored
@ -1,7 +0,0 @@
|
||||
i18n:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file: i18n/*
|
||||
|
||||
documentation:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file: ["*.md", "exampleSite/content/*"]
|
2
.github/pull_request_template.md
vendored
2
.github/pull_request_template.md
vendored
@ -1,2 +0,0 @@
|
||||
<!-- 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
25
.github/workflows/build-theme.yml
vendored
@ -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@v4
|
||||
- run: npm install
|
||||
- run: npm run build
|
||||
- name: Commit CSS changes
|
||||
uses: stefanzweifel/git-auto-commit-action@v5
|
||||
with:
|
||||
branch: "${{ github.head_ref }}"
|
||||
push_options: "--dry-run"
|
||||
file_pattern: "assets/css/compiled/main.css"
|
||||
commit_message: "💄 Rebuild CSS"
|
||||
- run: git push
|
36
.github/workflows/gh-pages.yml
vendored
36
.github/workflows/gh-pages.yml
vendored
@ -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@v3
|
||||
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@v4
|
||||
if: ${{ github.ref == 'refs/heads/stable' }}
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
publish_branch: gh-pages
|
||||
publish_dir: ./exampleSite/public
|
18
.github/workflows/label.yml
vendored
18
.github/workflows/label.yml
vendored
@ -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@v5
|
||||
with:
|
||||
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
configuration-path: .github/labeller.yml
|
30
.github/workflows/stale.yml
vendored
30
.github/workflows/stale.yml
vendored
@ -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@v9
|
||||
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.
|
25
.github/workflows/test-build.yml
vendored
25
.github/workflows/test-build.yml
vendored
@ -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@v3
|
||||
with:
|
||||
hugo-version: "latest"
|
||||
|
||||
- name: Build
|
||||
working-directory: ./exampleSite
|
||||
run: hugo --minify --themesDir ../.. --baseURL https://jpanther.github.io/lynx/
|
Loading…
Reference in New Issue
Block a user