├── .github ├── dependabot.yml ├── stale.yml └── workflows │ └── ci.yml ├── .gitignore ├── .prettierignore ├── .prettierrc.json ├── CHANGELOG.md ├── LICENSE ├── README.md ├── archetypes ├── default.md └── homepage.md ├── assets ├── css │ ├── _index.scss │ ├── content.scss │ ├── fontawesome │ │ ├── LICENSE.txt │ │ ├── brands.min.css │ │ ├── fontawesome.min.css │ │ └── solid.min.css │ ├── fonts.css │ ├── generic.css │ ├── normalize.css │ ├── responsiveness.scss │ ├── theme.scss │ └── variables.scss └── js │ ├── css-vars-ponyfill.min.js │ ├── index.js │ └── jquery-3.6.3.min.js ├── contributing.md ├── exampleSite ├── assets │ ├── cover │ │ └── pexels-pressmaster-3209239-960x540-25fps.mp4 │ ├── favicon.ico │ └── images │ │ ├── apple-touch-icon.png │ │ ├── asset-happy-ethnic-woman-sitting-at-table-with-laptop-3769021.de.jpg │ │ ├── asset-happy-ethnic-woman-sitting-at-table-with-laptop-3769021.jpg │ │ ├── chef-hat.png │ │ ├── cover-image.jpg │ │ └── favicon.png ├── content │ ├── de │ │ ├── _index.md │ │ ├── de-happy-ethnic-woman-sitting-at-table-with-laptop-3769021.jpg │ │ ├── homepage │ │ │ ├── about-me-local-img.md │ │ │ ├── contact.md │ │ │ ├── external.md │ │ │ ├── index.md │ │ │ ├── legal-brief.md │ │ │ ├── license.md │ │ │ ├── opener.md │ │ │ └── services.md │ │ ├── legal.md │ │ ├── license.md │ │ └── services.md │ └── en │ │ ├── _index.md │ │ ├── homepage │ │ ├── about-me.de.md │ │ ├── about-me.md │ │ ├── contact.md │ │ ├── credits.md │ │ ├── external.md │ │ ├── index.md │ │ ├── legal-brief.md │ │ ├── license.md │ │ ├── opener.md │ │ └── services.md │ │ ├── legal.md │ │ ├── license.md │ │ └── services.md ├── hugo.toml ├── layouts │ └── partials │ │ ├── custom_head.html │ │ └── custom_header_video.html └── static │ └── images │ ├── board-bunch-cooking-food-349609.jpg │ ├── favicon-16x16.png │ ├── favicon-32x32.png │ ├── selective-focus-photography-of-pasta-with-tomato-and-basil-1279330.jpg │ ├── static-happy-ethnic-woman-sitting-at-table-with-laptop-3769021.jpg │ └── woman-pouring-juice-on-glass-3184192.jpg ├── i18n ├── de.toml └── en.toml ├── images ├── screenshot.png └── tn.png ├── layouts ├── 404.html ├── _default │ ├── baseof.html │ ├── index.html │ ├── list.html │ └── single.html ├── partials │ ├── custom_body.html │ ├── custom_head.html │ ├── custom_header_video.html │ ├── footer.html │ ├── head.html │ └── header.html └── shortcodes │ ├── contact_list.html │ ├── email.html │ ├── extlink.html │ ├── icon.html │ ├── phone.html │ └── rawhtml.html ├── netlify.toml ├── package-lock.json ├── package.json ├── static └── webfonts │ ├── fa-brands-400.ttf │ ├── fa-brands-400.woff2 │ ├── fa-regular-400.ttf │ ├── fa-regular-400.woff2 │ ├── fa-solid-900.ttf │ ├── fa-solid-900.woff2 │ ├── fa-v4compatibility.ttf │ ├── fa-v4compatibility.woff2 │ ├── open-sans-condensed-v21-latin-300.eot │ ├── open-sans-condensed-v21-latin-300.svg │ ├── open-sans-condensed-v21-latin-300.ttf │ ├── open-sans-condensed-v21-latin-300.woff │ ├── open-sans-condensed-v21-latin-300.woff2 │ ├── open-sans-condensed-v21-latin-300italic.eot │ ├── open-sans-condensed-v21-latin-300italic.svg │ ├── open-sans-condensed-v21-latin-300italic.ttf │ ├── open-sans-condensed-v21-latin-300italic.woff │ ├── open-sans-condensed-v21-latin-300italic.woff2 │ ├── open-sans-condensed-v21-latin-700.eot │ ├── open-sans-condensed-v21-latin-700.svg │ ├── open-sans-condensed-v21-latin-700.ttf │ ├── open-sans-condensed-v21-latin-700.woff │ ├── open-sans-condensed-v21-latin-700.woff2 │ ├── open-sans-v27-latin-300.eot │ ├── open-sans-v27-latin-300.svg │ ├── open-sans-v27-latin-300.ttf │ ├── open-sans-v27-latin-300.woff │ ├── open-sans-v27-latin-300.woff2 │ ├── open-sans-v27-latin-300italic.eot │ ├── open-sans-v27-latin-300italic.svg │ ├── open-sans-v27-latin-300italic.ttf │ ├── open-sans-v27-latin-300italic.woff │ ├── open-sans-v27-latin-300italic.woff2 │ ├── open-sans-v27-latin-600.eot │ ├── open-sans-v27-latin-600.svg │ ├── open-sans-v27-latin-600.ttf │ ├── open-sans-v27-latin-600.woff │ ├── open-sans-v27-latin-600.woff2 │ ├── open-sans-v27-latin-600italic.eot │ ├── open-sans-v27-latin-600italic.svg │ ├── open-sans-v27-latin-600italic.ttf │ ├── open-sans-v27-latin-600italic.woff │ ├── open-sans-v27-latin-600italic.woff2 │ ├── open-sans-v27-latin-700.eot │ ├── open-sans-v27-latin-700.svg │ ├── open-sans-v27-latin-700.ttf │ ├── open-sans-v27-latin-700.woff │ ├── open-sans-v27-latin-700.woff2 │ ├── open-sans-v27-latin-700italic.eot │ ├── open-sans-v27-latin-700italic.svg │ ├── open-sans-v27-latin-700italic.ttf │ ├── open-sans-v27-latin-700italic.woff │ ├── open-sans-v27-latin-700italic.woff2 │ ├── open-sans-v27-latin-800.eot │ ├── open-sans-v27-latin-800.svg │ ├── open-sans-v27-latin-800.ttf │ ├── open-sans-v27-latin-800.woff │ ├── open-sans-v27-latin-800.woff2 │ ├── open-sans-v27-latin-800italic.eot │ ├── open-sans-v27-latin-800italic.svg │ ├── open-sans-v27-latin-800italic.ttf │ ├── open-sans-v27-latin-800italic.woff │ ├── open-sans-v27-latin-800italic.woff2 │ ├── open-sans-v27-latin-italic.eot │ ├── open-sans-v27-latin-italic.svg │ ├── open-sans-v27-latin-italic.ttf │ ├── open-sans-v27-latin-italic.woff │ ├── open-sans-v27-latin-italic.woff2 │ ├── open-sans-v27-latin-regular.eot │ ├── open-sans-v27-latin-regular.svg │ ├── open-sans-v27-latin-regular.ttf │ ├── open-sans-v27-latin-regular.woff │ ├── open-sans-v27-latin-regular.woff2 │ ├── oswald-v40-latin-300.eot │ ├── oswald-v40-latin-300.svg │ ├── oswald-v40-latin-300.ttf │ ├── oswald-v40-latin-300.woff │ ├── oswald-v40-latin-300.woff2 │ ├── oswald-v40-latin-700.eot │ ├── oswald-v40-latin-700.svg │ ├── oswald-v40-latin-700.ttf │ ├── oswald-v40-latin-700.woff │ ├── oswald-v40-latin-700.woff2 │ ├── oswald-v40-latin-regular.eot │ ├── oswald-v40-latin-regular.svg │ ├── oswald-v40-latin-regular.ttf │ ├── oswald-v40-latin-regular.woff │ ├── oswald-v40-latin-regular.woff2 │ ├── roboto-slab-v16-latin-100.eot │ ├── roboto-slab-v16-latin-100.svg │ ├── roboto-slab-v16-latin-100.ttf │ ├── roboto-slab-v16-latin-100.woff │ ├── roboto-slab-v16-latin-100.woff2 │ ├── roboto-slab-v16-latin-300.eot │ ├── roboto-slab-v16-latin-300.svg │ ├── roboto-slab-v16-latin-300.ttf │ ├── roboto-slab-v16-latin-300.woff │ ├── roboto-slab-v16-latin-300.woff2 │ ├── roboto-slab-v16-latin-700.eot │ ├── roboto-slab-v16-latin-700.svg │ ├── roboto-slab-v16-latin-700.ttf │ ├── roboto-slab-v16-latin-700.woff │ ├── roboto-slab-v16-latin-700.woff2 │ ├── roboto-slab-v16-latin-regular.eot │ ├── roboto-slab-v16-latin-regular.svg │ ├── roboto-slab-v16-latin-regular.ttf │ ├── roboto-slab-v16-latin-regular.woff │ └── roboto-slab-v16-latin-regular.woff2 └── theme.toml /.github/dependabot.yml: -------------------------------------------------------------------------------- 1 | # see https://docs.github.com/en/github/administering-a-repository/configuration-options-for-dependency-updates 2 | version: 2 3 | updates: 4 | # Maintain dependencies for GitHub Actions 5 | - package-ecosystem: "github-actions" 6 | directory: "/" 7 | schedule: 8 | interval: "daily" 9 | 10 | # Maintain dependencies for npm 11 | - package-ecosystem: "npm" 12 | directory: "/" 13 | schedule: 14 | interval: "daily" 15 | -------------------------------------------------------------------------------- /.github/stale.yml: -------------------------------------------------------------------------------- 1 | # Number of days of inactivity before an issue becomes stale 2 | daysUntilStale: 90 3 | # Number of days of inactivity before a stale issue is closed 4 | daysUntilClose: 30 5 | # Issues with these labels will never be considered stale 6 | exemptLabels: 7 | - pinned 8 | - security 9 | - bug 10 | - priority-high 11 | exemptProjects: true 12 | exemptMilestones: true 13 | # Label to use when marking an issue as stale 14 | staleLabel: no-activity 15 | # Comment to post when marking an issue as stale. Set to `false` to disable 16 | markComment: false 17 | # Comment to post when closing a stale issue. Set to `false` to disable 18 | closeComment: false -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- 1 | name: CI 2 | 3 | on: 4 | push: 5 | branches: 6 | - master 7 | pull_request: 8 | branches: 9 | - master 10 | 11 | jobs: 12 | build: 13 | runs-on: ubuntu-22.04 14 | 15 | steps: 16 | - name: Checkout 17 | uses: actions/checkout@v4 18 | 19 | - name: Setup Hugo 20 | uses: peaceiris/actions-hugo@v3.0.0 21 | with: 22 | hugo-version: latest 23 | extended: true 24 | 25 | - name: Build local ./exampleSite 26 | run: hugo --minify --gc --destination ../public --source ./exampleSite --themesDir ../.. --baseURL https://zjedi.github.io/hugo-scroll/ 27 | 28 | - name: Deploy to GitHub Pages 29 | if: github.event_name == 'push' 30 | uses: peaceiris/actions-gh-pages@v4.0.0 31 | with: 32 | github_token: ${{ secrets.GITHUB_TOKEN }} 33 | publish_dir: ./public 34 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | public 2 | exampleSite/public 3 | exampleSite/resources 4 | node_modules 5 | *.lock 6 | hugo-scroll.code-workspace 7 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | assets/css/fontawesome 2 | assets/css/normalize.css 3 | layouts/_default/index.html 4 | public 5 | resources 6 | -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "overrides": [ 3 | { 4 | "files": ["*.html"], 5 | "options": { 6 | "parser": "go-template" 7 | } 8 | } 9 | ] 10 | } 11 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Changelog 2 | 3 | All notable changes to this project will be documented in this file. 4 | 5 | The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), 6 | and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). 7 | 8 | * Added for new features. 9 | * Changed for changes in existing functionality. 10 | * Deprecated for soon-to-be removed features. 11 | * Removed for now removed features. 12 | * Fixed for any bug fixes. 13 | * Security in case of vulnerabilities. 14 | 15 | ## [Unreleased](https://github.com/zjedi/hugo-scroll/compare/v.1.0.0...master) 16 | 17 | * **JS cleanup / CSS refactoring**, possibly causing some pain if you have extensive CSS customisations in screen.css #4, #61, #102. For backwards compatibility, a released tag `v1.0.0` was created just in case some projects needed to fix the legacy version. However, I won't actively support the legacy branch. 18 | * New features: #70 , #46 , #118 19 | * More features #116 , #119 20 | 21 | ## [1.0.0 Legacy Snapshot](https://github.com/zjedi/hugo-scroll/releases/tag/v.1.0.0) 22 | 23 | ## Template for new releases 24 | 25 | ## [x.y.z](https://github.com/zjedi/hugo-scroll/compare/v1.0.0...vx.y.z) 26 | 27 | ### Added 28 | 29 | ### Changed 30 | 31 | ### Deprecated 32 | 33 | ### Removed 34 | 35 | ### Fixed 36 | 37 | ### Security 38 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2020 Jan Raasch 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy of 6 | this software and associated documentation files (the "Software"), to deal in 7 | the Software without restriction, including without limitation the rights to 8 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of 9 | the Software, and to permit persons to whom the Software is furnished to do so, 10 | subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 17 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 18 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 19 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 20 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 21 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |