diff --git a/.gitmodules b/.gitmodules index 7860587..7fe40b0 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,9 +1,3 @@ -[submodule "themes/papermod"] - path = src/themes/papermod - url = https://github.com/adityatelange/hugo-PaperMod.git -[submodule "src/themes/hugo-blog-awesome"] - path = src/themes/hugo-blog-awesome - url = https://github.com/hugo-sid/hugo-blog-awesome.git [submodule "src/themes/hugo-profile"] path = src/themes/hugo-profile url = https://github.com/gurusabarish/hugo-profile.git diff --git a/Makefile b/Makefile index 943dcdb..882ade5 100644 --- a/Makefile +++ b/Makefile @@ -4,3 +4,4 @@ lfs: submodules: git submodule update --init --recursive + diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 0000000..44f1c10 --- /dev/null +++ b/docker-compose.yaml @@ -0,0 +1,24 @@ +version: "3.9" + +services: + rclone: + image: rclone + command: sh -c "rclone copy -P badhouseplants-public:/badhouseplants-net-main /static" + hugo: + build: + context: . + dockerfile: Containerfile + volumes: + - cache_vol:/var/cache + - run_vol:/run + +volumes: + public: + driver_opts: + type: tmpfs + device: tmpfs + static: + driver_opts: + type: tmpfs + device: tmpfs + diff --git a/src/themes/papermod/.github/ISSUE_TEMPLATE/bug_report.md b/src/themes/papermod/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index 3e6cf7e..0000000 --- a/src/themes/papermod/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,50 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve -title: "[BUG]" -labels: bug -assignees: '' - ---- - - - -**Describe the bug** - - - - Device/Os: [e.g. Android 10] - - Type: [e.g. Desktop/Mobile] - - Browser and version [e.g. Chrome 86.0]: - - Hugo Version [ >=0.83.0 expected]: - - Theme Version [e.g. v4.0, master, or commit-id ]: - -**Steps to reproduce the behavior:** - - -**Expected behavior**: - - -**Repo/Source where this issue can be reproduced**: - - -**Screenshots** - - -**Additional context** - diff --git a/src/themes/papermod/.github/ISSUE_TEMPLATE/config.yml b/src/themes/papermod/.github/ISSUE_TEMPLATE/config.yml deleted file mode 100644 index 1a4dd9b..0000000 --- a/src/themes/papermod/.github/ISSUE_TEMPLATE/config.yml +++ /dev/null @@ -1,5 +0,0 @@ -blank_issues_enabled: false -contact_links: - - name: PaperMod Discussions - url: https://github.com/adityatelange/hugo-PaperMod/discussions - about: Please ask and answer questions/doubts here, do not open an issue for questions. diff --git a/src/themes/papermod/.github/ISSUE_TEMPLATE/new-blank-issue.md b/src/themes/papermod/.github/ISSUE_TEMPLATE/new-blank-issue.md deleted file mode 100644 index dbc48f1..0000000 --- a/src/themes/papermod/.github/ISSUE_TEMPLATE/new-blank-issue.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -name: New Blank Issue -about: Anything other than bug report -title: "" -labels: "" -assignees: "" ---- diff --git a/src/themes/papermod/.github/PULL_REQUEST_TEMPLATE.md b/src/themes/papermod/.github/PULL_REQUEST_TEMPLATE.md deleted file mode 100644 index 00b856c..0000000 --- a/src/themes/papermod/.github/PULL_REQUEST_TEMPLATE.md +++ /dev/null @@ -1,44 +0,0 @@ - - - -**What does this PR change? What problem does it solve?** - - - - -**Was the change discussed in an issue or in the Discussions before?** - - - - -## PR Checklist - -- [ ] This change adds/updates translations and I have used the [template present here](https://github.com/adityatelange/hugo-PaperMod/wiki/Translations#want-to-add-your-language-). -- [ ] I have enabled [maintainer edits for this PR](https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/allowing-changes-to-a-pull-request-branch-created-from-a-fork). -- [ ] I have verified that the code works as described/as intended. -- [ ] This change adds a Social Icon which has a permissive license to use it. -- [ ] This change **does not** include any CDN resources/links. -- [ ] This change **does not** include any unrelated scripts such as bash and python scripts. -- [ ] This change updates the overridden internal templates from HUGO's repository. diff --git a/src/themes/papermod/.github/stale.yml b/src/themes/papermod/.github/stale.yml deleted file mode 100644 index 7b5f571..0000000 --- a/src/themes/papermod/.github/stale.yml +++ /dev/null @@ -1,17 +0,0 @@ -# Number of days of inactivity before an issue becomes stale -daysUntilStale: 7 -# Number of days of inactivity before a stale issue is closed -daysUntilClose: 3 -# Issues with these labels will never be considered stale -exemptLabels: - - pinned - - keep -# Label to use when marking an issue as stale -staleLabel: stale -# Comment to post when marking an issue as stale. Set to `false` to disable -markComment: > - This issue has been automatically marked as stale because it has not had - recent activity. It will be closed if no further activity occurs. Thank you - for your contributions. -# Comment to post when closing a stale issue. Set to `false` to disable -closeComment: false diff --git a/src/themes/papermod/.github/workflows/gh-pages.yml b/src/themes/papermod/.github/workflows/gh-pages.yml deleted file mode 100644 index 305a6de..0000000 --- a/src/themes/papermod/.github/workflows/gh-pages.yml +++ /dev/null @@ -1,80 +0,0 @@ -name: Deploy Hugo PaperMod Demo to Pages - -on: - push: - paths-ignore: - - "images/**" - - "LICENSE" - - "README.md" - branches: - - master - - exampleSite - workflow_dispatch: - # manual run - inputs: - hugoVersion: - description: "Hugo Version" - required: false - default: "0.83.0" - -# Allow one concurrent deployment -concurrency: - group: "pages" - cancel-in-progress: true - -# Default to bash -defaults: - run: - shell: bash - -# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages -permissions: - contents: read - pages: write - id-token: write - -jobs: - # Build job - build: - runs-on: ubuntu-latest - env: - HUGO_VERSION: "0.83.0" - steps: - - name: Check version - if: ${{ github.event.inputs.hugoVersion }} - run: export HUGO_VERSION="${{ github.event.inputs.hugoVersion }}" - - name: Install Hugo CLI - run: | - wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_Linux-64bit.deb \ - && sudo dpkg -i ${{ runner.temp }}/hugo.deb - - name: Checkout - uses: actions/checkout@v3 - with: - ref: exampleSite - - name: Setup Pages - id: pages - uses: actions/configure-pages@v1 - - name: Get Theme - run: git submodule update --init --recursive - - name: Update theme to Latest commit - run: git submodule update --remote --merge - - name: Build with Hugo - run: | - hugo \ - --buildDrafts --gc --verbose \ - --baseURL ${{ steps.pages.outputs.base_url }} - - name: Upload artifact - uses: actions/upload-pages-artifact@v1 - with: - path: ./public - # Deployment job - deploy: - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - runs-on: ubuntu-latest - needs: build - steps: - - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v1 diff --git a/src/themes/papermod/LICENSE b/src/themes/papermod/LICENSE deleted file mode 100644 index 1580f7f..0000000 --- a/src/themes/papermod/LICENSE +++ /dev/null @@ -1,22 +0,0 @@ -MIT License - -Copyright (c) 2020 nanxiaobei and adityatelange -Copyright (c) 2021-2022 adityatelange - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/src/themes/papermod/README.md b/src/themes/papermod/README.md deleted file mode 100644 index 286617a..0000000 --- a/src/themes/papermod/README.md +++ /dev/null @@ -1,96 +0,0 @@ -
-
-
{{ .Get "summary" | markdownify }}
- {{ .Inner | markdownify }}
-
- {{- .Get "caption" | markdownify -}} - {{- with .Get "attrlink" }} - - {{- end -}} - {{- .Get "attr" | markdownify -}} - {{- if .Get "attrlink" }}{{ end }}
- {{- end }} -