diff --git a/.github/workflows/snigdhaos-commitizen-on-push.yml b/.github/workflows/snigdhaos-commitizen-on-push.yml new file mode 100644 index 00000000..5f3fa559 --- /dev/null +++ b/.github/workflows/snigdhaos-commitizen-on-push.yml @@ -0,0 +1,30 @@ +name: Snigdha OS Commitizen Check on Push + +on: + push: + branches: + - master + +jobs: + commitizen_check: + name: Check Commitizen Commit on Push + runs-on: ubuntu-latest + + steps: + - name: Checkout Repository + uses: actions/checkout@v2 + + - name: Install Node.js + uses: actions/setup-node@v3 + with: + node-version: '14' + + - name: Install Commitizen + run: npm install -g commitizen + + - name: Verify Commitizen Commit + run: | + if git log --format='%s' ${{ github.event.before }}..${{ github.sha }} | grep -v '^(feat|fix|docs|style|refactor|perf|test|chore)(\(.+\))?: .+'; then + echo "Invalid commit message found. Please use Commitizen convention." + exit 1 + fi \ No newline at end of file diff --git a/.github/workflows/snigdhaos-commitzen-on-pull.yml b/.github/workflows/snigdhaos-commitzen-on-pull.yml new file mode 100644 index 00000000..c80a671a --- /dev/null +++ b/.github/workflows/snigdhaos-commitzen-on-pull.yml @@ -0,0 +1,30 @@ +name: Snigdha OS Commitizen Check On Pull + +on: + pull_request: + branches: + - master + +jobs: + commitizen_check: + name: Check Commitizen Commit on Pull Request + runs-on: ubuntu-latest + + steps: + - name: Checkout Repository + uses: actions/checkout@v2 + + - name: Install Node.js + uses: actions/setup-node@v3 + with: + node-version: '14' + + - name: Install Commitizen + run: npm install -g commitizen + + - name: Verify Commitizen Commit + run: | + if git log --format='%s' ${{ github.event.before }}..${{ github.sha }} | grep -v '^(feat|fix|docs|style|refactor|perf|test|chore)(\(.+\))?: .+'; then + echo "Invalid commit message found. Please use Commitizen convention." + exit 1 + fi \ No newline at end of file diff --git a/assets/images/eshanized-face.png b/assets/images/eshanized-face.png new file mode 100644 index 00000000..3cbe2a6d Binary files /dev/null and b/assets/images/eshanized-face.png differ diff --git a/assets/images/eshanized.jpg b/assets/images/eshanized.jpg new file mode 100644 index 00000000..131760a1 Binary files /dev/null and b/assets/images/eshanized.jpg differ diff --git a/assets/images/snigdhaos-icon.svg b/assets/images/snigdhaos-icon.svg new file mode 100644 index 00000000..d7d98625 --- /dev/null +++ b/assets/images/snigdhaos-icon.svg @@ -0,0 +1,15 @@ + + snigdhaos-icon + + + + + + + + + + + \ No newline at end of file diff --git a/config/_default/params.toml b/config/_default/params.toml index 560ea453..d84cb941 100755 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -75,7 +75,7 @@ mastodon = "" # Your verification code # cookies module: https://github.com/gethugothemes/hugo-modules/tree/master/components/cookie-consent [cookies] enable = true -expire_days = 60 +expire_days = 30 content = "Your privacy matters to us. 🌟 We use cookies to provide social media features, and to analyze our traffic. By clicking 'Accept,' you consent to the use of ALL the cookies. Thank you for trusting us with your data privacy journey. ✨" button = "Accept" diff --git a/content/english/_index.md b/content/english/_index.md index ac57fb0a..0c5999de 100755 --- a/content/english/_index.md +++ b/content/english/_index.md @@ -2,8 +2,8 @@ # Banner banner: title: "Blazing Fast🚀
Optimal Performance🕛" - content: "Snigdha OS is an Arch based Linux Distro. It is light in weight, easy to use interface, clean and minimal, get a wide range of options during installation. It has been developed as minimal and bloatware free OS. Which is known as **Snigdha OS Arctic**. In future it will be upgrading to penetration distribution with code name **bloodline** along with same build id.Click on the **Download** button and experience a new and modern linux distribution powered by **Snigdha OS ZEN Kernel.**" - # image: "/images/snigdhaos-banner.svg" + content: "Snigdha OS is an Arch based Linux Distribution (*Known as **Distro**). It is light-weight, easy to use interface (***DE: Gnome**), clean and minimal, get a wide range of options during installation. It has been developed as minimal and bloatware free OS. Which is known as **Snigdha OS Arctic**. Click on the **Download** button and experience a new and modern linux distribution. " + image: "/images/snigdhaos-icon.svg" button: enable: true label: "Download" diff --git a/content/english/about/_index.md b/content/english/about/_index.md index 2aec8981..775d343a 100644 --- a/content/english/about/_index.md +++ b/content/english/about/_index.md @@ -2,7 +2,7 @@ title: "SNIGDHA OS WELCOMES YOU, MASTER!" meta_title: "About" description: "Short Overview or About Snigdha OS" -image: "/images/snigdhaos-avatar.svg" +image: "/images/snigdhaos-icon.svg" draft: false --- @@ -10,7 +10,7 @@ draft: false Key features of **Snigdha OS** include: -🎯 Rolling Release Model: **Snigdha OS** follows a rolling release model[?](https://en.wikipedia.org/wiki/Rolling_release), which means that instead of releasing fixed, periodic updates, packages are continuously updated to their latest versions. This ensures users have access to the latest software releases without the need for major system upgrades. +🎯 Rolling Release Model: **Snigdha OS** follows a rolling release model [?](https://en.wikipedia.org/wiki/Rolling_release), which means that instead of releasing fixed, periodic updates, packages are continuously updated to their latest versions. This ensures users have access to the latest software releases without the need for major system upgrades. 🎯 Package Manager: **Snigdha OS** utilizes the Pacman[?](https://wiki.archlinux.org/title/pacman) package manager for package management. Pacman is a powerful command-line tool that allows users to easily install, update, and remove software packages from the Arch repositories as well as from the Arch User Repository (AUR), a community-driven repository of user-contributed packages. **Snigdha OS** also comes with both [Pamac](https://wiki.manjaro.org/index.php/Pamac) & [Octopi](https://tintaescura.com/projects/octopi/). @@ -20,4 +20,7 @@ Key features of **Snigdha OS** include: 🎯 Documentation and Community Support: **Snigdha OS** boasts extensive documentation which provides detailed guides, tutorials, and troubleshooting information for users at all levels of expertise. Additionally, the **Snigdha OS** community is known for its active and helpful forums, where users can seek assistance, share knowledge, and collaborate on projects. -Overall, **Snigdha OS** appeals to users who value simplicity, customization, and the ability to fine-tune their system to meet their specific requirements. It's an ideal choice for users who enjoy the process of building and maintaining their Linux environment. \ No newline at end of file +Overall, **Snigdha OS** appeals to users who value simplicity, customization, and the ability to fine-tune their system to meet their specific requirements. It's an ideal choice for users who enjoy the process of building and maintaining their Linux environment. + +## About the Authors: + - [ESHANIZED](/authors/eshanized/) \ No newline at end of file diff --git a/content/english/authors/eshanized.md b/content/english/authors/eshanized.md index 9a2e50a6..c345df3d 100644 --- a/content/english/authors/eshanized.md +++ b/content/english/authors/eshanized.md @@ -1,7 +1,7 @@ --- title: Eshanized email: eshan@snigdhaos.org -image: "https://github.com/eshanized/eshanized/blob/main/eshanized_square.png?raw=True" +image: "https://github.com/Snigdha-OS/Snigdha-OS.github.io/blob/master/assets/images/eshanized-face.png?raw=True" description: this is meta description social: - name: github diff --git a/content/english/blog/check-package-version-on-snigdha-os.md b/content/english/blog/check-package-version-on-snigdha-os.md index 0d90482d..8a64cb85 100755 --- a/content/english/blog/check-package-version-on-snigdha-os.md +++ b/content/english/blog/check-package-version-on-snigdha-os.md @@ -3,7 +3,7 @@ title: "How to check package version on Snigdha OS?" meta_title: "How to check package version on Snigdha OS?" description: "How to check package version on Snigdha OS?" # date: 2024-04-14T05:00:00Z -image: "/images/snigdhaos-versioning.png" +# image: "/images/snigdhaos-versioning.png" categories: ["Information"] author: "Eshanized" tags: ["version"] diff --git a/content/english/blog/linux-zen-kernel.md b/content/english/blog/linux-zen-kernel.md index 48c7428e..afa01ad3 100644 --- a/content/english/blog/linux-zen-kernel.md +++ b/content/english/blog/linux-zen-kernel.md @@ -2,7 +2,7 @@ title: "What is Linux Zen Patched Kernel?" meta_title: "What is Linux Zen Patched Kernel?" description: "What is Linux Zen Patched Kernel?" -image: "/images/linux-kernel.jpg" +# image: "/images/linux-kernel.jpg" categories: ["Information"] author: "Iconized" tags: ["Information"] diff --git a/go.mod b/go.mod index a6403344..7a19e24a 100644 --- a/go.mod +++ b/go.mod @@ -3,27 +3,26 @@ module hugoplate.netlify.app go 1.20 require ( - github.com/gethugothemes/hugo-modules/accordion v0.0.0-20240331035203-6c6ca12add7d // indirect - github.com/gethugothemes/hugo-modules/adsense v0.0.0-20240331035203-6c6ca12add7d // indirect - github.com/gethugothemes/hugo-modules/components/cookie-consent v0.0.0-20240331035203-6c6ca12add7d // indirect - github.com/gethugothemes/hugo-modules/components/custom-script v0.0.0-20240331035203-6c6ca12add7d // indirect - github.com/gethugothemes/hugo-modules/components/preloader v0.0.0-20240331035203-6c6ca12add7d // indirect - github.com/gethugothemes/hugo-modules/components/render-link v0.0.0-20240331035203-6c6ca12add7d // indirect - github.com/gethugothemes/hugo-modules/components/social-share v0.0.0-20240331035203-6c6ca12add7d // indirect - github.com/gethugothemes/hugo-modules/gallery-slider v0.0.0-20240331035203-6c6ca12add7d // indirect - github.com/gethugothemes/hugo-modules/gzip-caching v0.0.0-20240331035203-6c6ca12add7d // indirect - github.com/gethugothemes/hugo-modules/icons/font-awesome v0.0.0-20240331035203-6c6ca12add7d // indirect - github.com/gethugothemes/hugo-modules/images v0.0.0-20240331035203-6c6ca12add7d // indirect - github.com/gethugothemes/hugo-modules/modal v0.0.0-20240331035203-6c6ca12add7d // indirect - github.com/gethugothemes/hugo-modules/pwa v0.0.0-20240331035203-6c6ca12add7d // indirect - github.com/gethugothemes/hugo-modules/search v0.0.0-20240331035203-6c6ca12add7d // indirect - github.com/gethugothemes/hugo-modules/seo-tools/basic-seo v0.0.0-20240331035203-6c6ca12add7d // indirect - github.com/gethugothemes/hugo-modules/seo-tools/google-tag-manager v0.0.0-20240331035203-6c6ca12add7d // indirect - github.com/gethugothemes/hugo-modules/seo-tools/site-verifications v0.0.0-20240331035203-6c6ca12add7d // indirect - github.com/gethugothemes/hugo-modules/shortcodes/button v0.0.0-20240331035203-6c6ca12add7d // indirect - github.com/gethugothemes/hugo-modules/shortcodes/notice v0.0.0-20240331035203-6c6ca12add7d // indirect - github.com/gethugothemes/hugo-modules/tab v0.0.0-20240331035203-6c6ca12add7d // indirect - github.com/gethugothemes/hugo-modules/table-of-contents v0.0.0-20240331035203-6c6ca12add7d // indirect - github.com/gethugothemes/hugo-modules/videos v0.0.0-20240331035203-6c6ca12add7d // indirect - github.com/zeon-studio/hugoplate v0.0.0-20240327032722-feeeab466539 // indirect + github.com/gethugothemes/hugo-modules/accordion v0.0.0-20240423040330-6260da698660 // indirect + github.com/gethugothemes/hugo-modules/adsense v0.0.0-20240423040330-6260da698660 // indirect + github.com/gethugothemes/hugo-modules/components/cookie-consent v0.0.0-20240423040330-6260da698660 // indirect + github.com/gethugothemes/hugo-modules/components/custom-script v0.0.0-20240423040330-6260da698660 // indirect + github.com/gethugothemes/hugo-modules/components/preloader v0.0.0-20240423040330-6260da698660 // indirect + github.com/gethugothemes/hugo-modules/components/render-link v0.0.0-20240423040330-6260da698660 // indirect + github.com/gethugothemes/hugo-modules/components/social-share v0.0.0-20240423040330-6260da698660 // indirect + github.com/gethugothemes/hugo-modules/gallery-slider v0.0.0-20240423040330-6260da698660 // indirect + github.com/gethugothemes/hugo-modules/gzip-caching v0.0.0-20240423040330-6260da698660 // indirect + github.com/gethugothemes/hugo-modules/icons/font-awesome v0.0.0-20240423040330-6260da698660 // indirect + github.com/gethugothemes/hugo-modules/images v0.0.0-20240423040330-6260da698660 // indirect + github.com/gethugothemes/hugo-modules/modal v0.0.0-20240423040330-6260da698660 // indirect + github.com/gethugothemes/hugo-modules/pwa v0.0.0-20240423040330-6260da698660 // indirect + github.com/gethugothemes/hugo-modules/search v0.0.0-20240423040330-6260da698660 // indirect + github.com/gethugothemes/hugo-modules/seo-tools/basic-seo v0.0.0-20240423040330-6260da698660 // indirect + github.com/gethugothemes/hugo-modules/seo-tools/google-tag-manager v0.0.0-20240423040330-6260da698660 // indirect + github.com/gethugothemes/hugo-modules/seo-tools/site-verifications v0.0.0-20240423040330-6260da698660 // indirect + github.com/gethugothemes/hugo-modules/shortcodes/button v0.0.0-20240423040330-6260da698660 // indirect + github.com/gethugothemes/hugo-modules/shortcodes/notice v0.0.0-20240423040330-6260da698660 // indirect + github.com/gethugothemes/hugo-modules/tab v0.0.0-20240423040330-6260da698660 // indirect + github.com/gethugothemes/hugo-modules/table-of-contents v0.0.0-20240423040330-6260da698660 // indirect + github.com/gethugothemes/hugo-modules/videos v0.0.0-20240423040330-6260da698660 // indirect ) diff --git a/iconized.sh b/iconized.sh index cc1f786e..c14e7b3d 100755 --- a/iconized.sh +++ b/iconized.sh @@ -1 +1,36 @@ -#!/bin/bash \ No newline at end of file +<<<<<<< HEAD +#!/bin/bash +======= +#!/bin/bash + +# Author : Eshan Roy +# URI : https://eshanized.github.io + +# NOTE: If you are on Snigdha OS, +# you can install commitizen-go with `sudo pacman -S commitizen-go` +# or `s commitizen-go`. Else you need to install `yay` or `yay-bin` +# to install commitizen. I have written this script only for *Arch Linux. + +# Function to check if Commitizen is installed +check_commitizen() { + if ! pacman -Qq commitizen-go &> /dev/null; then + echo "Commitizen is not installed. Please install it using 'yay -S commitizen-go'." >&2 + exit 1 + fi +} + +# Function to stage, commit, and push changes +push_to_github() { + git add . + git cz + git push origin master +} + +# Main Function +main() { + check_commitizen + push_to_github +} + +main +>>>>>>> 122db96bc4e6a7242cb3d37c53eef560cb6aba8f diff --git a/push.sh b/push.sh index d492e8ce..60508a5a 100755 --- a/push.sh +++ b/push.sh @@ -1,10 +1,32 @@ #!/bin/bash -# Author: Eshan Roy (Eshanized) +# Author : Eshan Roy +# URI : https://eshanized.github.io -BRANCH=master -CMSG="⏳ @eshanized updated the Website!!!" +# NOTE: If you are on Snigdha OS, +# you can install commitizen-go with `sudo pacman -S commitizen-go` +# or `s commitizen-go`. Else you need to install `yay` or `yay-bin` +# to install commitizen. I have written this script only for *Arch Linux. -git add . -git commit -m "${CMSG}" -# git push origin "${BRANCH}" \ No newline at end of file +# Function to check if Commitizen is installed +check_commitizen() { + if ! pacman -Qq commitizen-go &> /dev/null; then + echo "Commitizen is not installed. Please install it using 'yay -S commitizen-go'." >&2 + exit 1 + fi +} + +# Function to stage, commit, and push changes +push_to_github() { + git add . + git cz + git push origin master +} + +# Main Function +main() { + check_commitizen + push_to_github +} + +main \ No newline at end of file diff --git a/themes/hugoplate/exampleSite/assets/images/avatar-sm.png b/themes/hugoplate/exampleSite/assets/images/avatar-sm.png new file mode 100644 index 00000000..e1699dc1 Binary files /dev/null and b/themes/hugoplate/exampleSite/assets/images/avatar-sm.png differ diff --git a/themes/hugoplate/exampleSite/assets/images/avatar.png b/themes/hugoplate/exampleSite/assets/images/avatar.png new file mode 100755 index 00000000..387b035c Binary files /dev/null and b/themes/hugoplate/exampleSite/assets/images/avatar.png differ diff --git a/themes/hugoplate/exampleSite/assets/images/banner.png b/themes/hugoplate/exampleSite/assets/images/banner.png new file mode 100644 index 00000000..5f8a9e81 Binary files /dev/null and b/themes/hugoplate/exampleSite/assets/images/banner.png differ diff --git a/themes/hugoplate/exampleSite/assets/images/call-to-action.png b/themes/hugoplate/exampleSite/assets/images/call-to-action.png new file mode 100755 index 00000000..ec2d625c Binary files /dev/null and b/themes/hugoplate/exampleSite/assets/images/call-to-action.png differ diff --git a/themes/hugoplate/exampleSite/assets/images/favicon.png b/themes/hugoplate/exampleSite/assets/images/favicon.png new file mode 100644 index 00000000..13f24a31 Binary files /dev/null and b/themes/hugoplate/exampleSite/assets/images/favicon.png differ diff --git a/themes/hugoplate/exampleSite/assets/images/gallery/01.jpg b/themes/hugoplate/exampleSite/assets/images/gallery/01.jpg new file mode 100644 index 00000000..662fc1dc Binary files /dev/null and b/themes/hugoplate/exampleSite/assets/images/gallery/01.jpg differ diff --git a/themes/hugoplate/exampleSite/assets/images/gallery/02.jpg b/themes/hugoplate/exampleSite/assets/images/gallery/02.jpg new file mode 100644 index 00000000..22fb37f8 Binary files /dev/null and b/themes/hugoplate/exampleSite/assets/images/gallery/02.jpg differ diff --git a/themes/hugoplate/exampleSite/assets/images/gallery/03.jpg b/themes/hugoplate/exampleSite/assets/images/gallery/03.jpg new file mode 100644 index 00000000..cea735f6 Binary files /dev/null and b/themes/hugoplate/exampleSite/assets/images/gallery/03.jpg differ diff --git a/themes/hugoplate/exampleSite/assets/images/gallery/04.jpg b/themes/hugoplate/exampleSite/assets/images/gallery/04.jpg new file mode 100644 index 00000000..48d7c32b Binary files /dev/null and b/themes/hugoplate/exampleSite/assets/images/gallery/04.jpg differ diff --git a/themes/hugoplate/exampleSite/assets/images/gallery/05.jpg b/themes/hugoplate/exampleSite/assets/images/gallery/05.jpg new file mode 100644 index 00000000..09878097 Binary files /dev/null and b/themes/hugoplate/exampleSite/assets/images/gallery/05.jpg differ diff --git a/themes/hugoplate/exampleSite/assets/images/gallery/06.jpg b/themes/hugoplate/exampleSite/assets/images/gallery/06.jpg new file mode 100644 index 00000000..662fc1dc Binary files /dev/null and b/themes/hugoplate/exampleSite/assets/images/gallery/06.jpg differ diff --git a/themes/hugoplate/exampleSite/assets/images/image-placeholder.png b/themes/hugoplate/exampleSite/assets/images/image-placeholder.png new file mode 100755 index 00000000..a61a0c09 Binary files /dev/null and b/themes/hugoplate/exampleSite/assets/images/image-placeholder.png differ diff --git a/themes/hugoplate/exampleSite/assets/images/logo-darkmode.png b/themes/hugoplate/exampleSite/assets/images/logo-darkmode.png new file mode 100644 index 00000000..c85cca95 Binary files /dev/null and b/themes/hugoplate/exampleSite/assets/images/logo-darkmode.png differ diff --git a/themes/hugoplate/exampleSite/assets/images/logo.png b/themes/hugoplate/exampleSite/assets/images/logo.png new file mode 100644 index 00000000..afee1070 Binary files /dev/null and b/themes/hugoplate/exampleSite/assets/images/logo.png differ diff --git a/themes/hugoplate/exampleSite/assets/images/no-search-found.png b/themes/hugoplate/exampleSite/assets/images/no-search-found.png new file mode 100755 index 00000000..1e1e6e16 Binary files /dev/null and b/themes/hugoplate/exampleSite/assets/images/no-search-found.png differ diff --git a/themes/hugoplate/exampleSite/assets/images/og-image.png b/themes/hugoplate/exampleSite/assets/images/og-image.png new file mode 100644 index 00000000..e31ac0e2 Binary files /dev/null and b/themes/hugoplate/exampleSite/assets/images/og-image.png differ diff --git a/themes/hugoplate/exampleSite/assets/images/service-1.png b/themes/hugoplate/exampleSite/assets/images/service-1.png new file mode 100755 index 00000000..5842791a Binary files /dev/null and b/themes/hugoplate/exampleSite/assets/images/service-1.png differ diff --git a/themes/hugoplate/exampleSite/assets/images/service-2.png b/themes/hugoplate/exampleSite/assets/images/service-2.png new file mode 100755 index 00000000..2cc116a3 Binary files /dev/null and b/themes/hugoplate/exampleSite/assets/images/service-2.png differ diff --git a/themes/hugoplate/exampleSite/assets/images/service-3.png b/themes/hugoplate/exampleSite/assets/images/service-3.png new file mode 100755 index 00000000..cf690b7a Binary files /dev/null and b/themes/hugoplate/exampleSite/assets/images/service-3.png differ diff --git a/themes/hugoplate/exampleSite/assets/scss/custom.scss b/themes/hugoplate/exampleSite/assets/scss/custom.scss new file mode 100755 index 00000000..96859046 --- /dev/null +++ b/themes/hugoplate/exampleSite/assets/scss/custom.scss @@ -0,0 +1 @@ +// Add your own custom styles here diff --git a/themes/hugoplate/exampleSite/config/_default/languages.toml b/themes/hugoplate/exampleSite/config/_default/languages.toml new file mode 100755 index 00000000..fc8d07fe --- /dev/null +++ b/themes/hugoplate/exampleSite/config/_default/languages.toml @@ -0,0 +1,6 @@ +################ English language ################## +[en] +languageName = "En" +languageCode = "en-us" +contentDir = "content/english" +weight = 1 diff --git a/themes/hugoplate/exampleSite/config/_default/menus.en.toml b/themes/hugoplate/exampleSite/config/_default/menus.en.toml new file mode 100755 index 00000000..9a021f4d --- /dev/null +++ b/themes/hugoplate/exampleSite/config/_default/menus.en.toml @@ -0,0 +1,63 @@ +############# English navigation ############## + +# main menu +[[main]] +name = "Home" +pageRef = "/" +weight = 1 + +[[main]] +name = "About" +pageRef = "/about" +weight = 2 + +[[main]] +name = "Elements" +pageRef = "/elements" +weight = 3 + +[[main]] +weight = 4 +name = "Pages" + +[[main]] +parent = "Pages" +name = "Blog" +pageRef = "/blog" + +[[main]] +parent = "Pages" +name = "Contact" +pageRef = "/contact" + +[[main]] +parent = "Pages" +name = "Authors" +pageRef = "/authors" + +[[main]] +parent = "Pages" +name = "Categories" +pageRef = "/categories" + +[[main]] +parent = "Pages" +name = "404 Page" +pageRef = "/404" + + +# footer menu +[[footer]] +name = "About" +pageRef = "/about" +weight = 1 + +[[footer]] +name = "Elements" +pageRef = "/elements" +weight = 2 + +[[footer]] +name = "Privacy Policy" +pageRef = "/privacy-policy" +weight = 3 diff --git a/themes/hugoplate/exampleSite/config/_default/module.toml b/themes/hugoplate/exampleSite/config/_default/module.toml new file mode 100644 index 00000000..39ccf309 --- /dev/null +++ b/themes/hugoplate/exampleSite/config/_default/module.toml @@ -0,0 +1,96 @@ +[hugoVersion] +extended = true +min = "0.124.1" + +[[imports]] +path = "github.com/zeon-studio/hugoplate" + +[[imports]] +path = "github.com/gethugothemes/hugo-modules/search" + +[[imports]] +path = "github.com/gethugothemes/hugo-modules/pwa" + +[[imports]] +path = "github.com/gethugothemes/hugo-modules/images" + +[[imports]] +path = "github.com/gethugothemes/hugo-modules/videos" + +[[imports]] +path = "github.com/gethugothemes/hugo-modules/icons/font-awesome" + +# [[imports]] +# path = "github.com/gethugothemes/hugo-modules/icons/themify-icons" + +[[imports]] +path = "github.com/gethugothemes/hugo-modules/gzip-caching" + +[[imports]] +path = "github.com/gethugothemes/hugo-modules/adsense" + +[[imports]] +path = "github.com/gethugothemes/hugo-modules/accordion" + +[[imports]] +path = "github.com/gethugothemes/hugo-modules/table-of-contents" + +[[imports]] +path = "github.com/gethugothemes/hugo-modules/tab" + +[[imports]] +path = "github.com/gethugothemes/hugo-modules/modal" + +[[imports]] +path = "github.com/gethugothemes/hugo-modules/gallery-slider" + +[[imports]] +path = "github.com/gethugothemes/hugo-modules/components/preloader" + +[[imports]] +path = "github.com/gethugothemes/hugo-modules/components/social-share" + +[[imports]] +path = "github.com/gethugothemes/hugo-modules/components/cookie-consent" + +[[imports]] +path = "github.com/gethugothemes/hugo-modules/components/announcement" + +[[imports]] +path = "github.com/gethugothemes/hugo-modules/components/custom-script" + +[[imports]] +path = "github.com/gethugothemes/hugo-modules/components/render-link" + +# [[imports]] +# path = "github.com/gethugothemes/hugo-modules/components/valine-comment" + +# [[imports]] +# path = "github.com/gethugothemes/hugo-modules/components/crisp-chat" + +[[imports]] +path = "github.com/gethugothemes/hugo-modules/shortcodes/button" + +[[imports]] +path = "github.com/gethugothemes/hugo-modules/shortcodes/notice" + +[[imports]] +path = "github.com/gethugothemes/hugo-modules/seo-tools/basic-seo" + +[[imports]] +path = "github.com/gethugothemes/hugo-modules/seo-tools/site-verifications" + +[[imports]] +path = "github.com/gethugothemes/hugo-modules/seo-tools/google-tag-manager" + +# [[imports]] +# path = "github.com/gethugothemes/hugo-modules/seo-tools/baidu-analytics" + +# [[imports]] +# path = "github.com/gethugothemes/hugo-modules/seo-tools/matomo-analytics" + +# [[imports]] +# path = "github.com/gethugothemes/hugo-modules/seo-tools/plausible-analytics" + +# [[imports]] +# path = "github.com/gethugothemes/hugo-modules/seo-tools/counter-analytics" diff --git a/themes/hugoplate/exampleSite/config/_default/params.toml b/themes/hugoplate/exampleSite/config/_default/params.toml new file mode 100755 index 00000000..c7786cd2 --- /dev/null +++ b/themes/hugoplate/exampleSite/config/_default/params.toml @@ -0,0 +1,107 @@ +#################### default parameters ################################ +# favicon module: https://github.com/gethugothemes/hugo-modules/tree/master/images#favicon-implementation +favicon = "images/favicon.png" +# logo module: https://github.com/gethugothemes/hugo-modules/tree/master/images#logo-implementation +logo = "images/logo.png" +logo_darkmode = "images/logo-darkmode.png" +# use `px` or `x` with logo_width, example: "100px". +# Note: logo_width is not work with .svg file +logo_width = "160px" +logo_height = "32px" +# if logo_webp set false, will not generate WEBP version of logo | default is true +logo_webp = true +# logo text will only show when logo is missing. +logo_text = "Hugoplate" +# navbar fixed to top +navbar_fixed = true +# theme-mode +theme_switcher = true +theme_default = "system" # available options [light/dark/system] +# Main Sections +mainSections = ["blog"] +# contact form action +contact_form_action = "#" # contact form works with [https://airform.io/] or [https://formspree.io] +# google tag manager, see https://developers.google.com/tag-manager/ +google_tag_manager = "" # example: G-XXXXXXXXXX +google_adsense = "" # example: ca-pub-xxxxxxxxxxxxxxxx +# custom script on header, example: custom_script= "" +custom_script = "" +# copyright +copyright = "Designed & Developed by [Zeon Studio](https://zeon.studio)" + +# Preloader +# preloader module: https://github.com/gethugothemes/hugo-modules/tree/master/components/preloader +[preloader] +enable = false +preloader = "" # use jpg, png, svg or gif format. + +# Navigation button +[navigation_button] +enable = true +label = "get a quote" +link = "contact" + +# search +# search module: https://github.com/gethugothemes/hugo-modules/tree/master/search +[search] +enable = true +primary_color = "#121212" +include_sections = ["blog"] +show_image = true +show_description = true +show_tags = true +show_categories = true + +# announcement +# announcement module: https://github.com/gethugothemes/hugo-modules/tree/master/components/announcement +[announcement] +enable = true +expire_days = 7 +content = "You must replace the **baseURL** in **hugo.toml** file when deploying, you can manage this announcement from the **params.toml** file." + +# seo meta data for OpenGraph / Twitter Card +# seo module: https://github.com/gethugothemes/hugo-modules/tree/master/seo-tools/basic-seo +[metadata] +keywords = ["Boilerplate", "Hugo"] +description = "Hugo & Tailwindcss Starter" +author = "zeon.studio" +image = "images/og-image.png" + + +# site verifications +# verification module: https://github.com/gethugothemes/hugo-modules/tree/master/seo-tools/site-verifications +[site_verification] +google = "" # Your verification code +bing = "" # Your verification code +baidu = "" # Your verification code +facebook = "" # Your verification code +mastodon = "" # Your verification code + +# cookies +# cookies module: https://github.com/gethugothemes/hugo-modules/tree/master/components/cookie-consent +[cookies] +enable = false +expire_days = 60 +content = "This site uses cookies. By continuing to use this website, you agree to their use." +button = "I Accept" + +######################## sidebar widgets ######################### +[widgets] +sidebar = ["categories", "tags"] + + +# google map +[google_map] +enable = false +map_api_key = "AIzaSyCcABaamniA6OL5YvYSpB3pFMNrXwXnLwU" +map_latitude = "51.5223477" +map_longitude = "-0.1622023" +map_marker = "images/marker.png" + + +# Subscription +[subscription] +enable = false +# mailchimp subsciption +mailchimp_form_action = "https://gmail.us4.list-manage.com/subscribe/post?u=463ee871f45d2d93748e77cad&id=a0a2c6d074" # replace this url with yours +mailchimp_form_name = "b_463ee871f45d2d93748e77cad_a0a2c6d074" diff --git a/themes/hugoplate/exampleSite/config/development/server.toml b/themes/hugoplate/exampleSite/config/development/server.toml new file mode 100644 index 00000000..49e5756d --- /dev/null +++ b/themes/hugoplate/exampleSite/config/development/server.toml @@ -0,0 +1,13 @@ +# defaultContentLanguageInSubdir must be true for this to work. + +# Other languages redirects +# [[redirects]] +# from = '/fr/**' +# to = '/fr/404.html' +# status = 404 + +# Default language must be last. +[[redirects]] +from = '/**' +to = '/en/404.html' +status = 404 diff --git a/themes/hugoplate/exampleSite/content/english/_index.md b/themes/hugoplate/exampleSite/content/english/_index.md new file mode 100755 index 00000000..142c61a3 --- /dev/null +++ b/themes/hugoplate/exampleSite/content/english/_index.md @@ -0,0 +1,53 @@ +--- +# Banner +banner: + title: "The Ultimate Starter Template You Need To Start Your Hugo Project" + content: "Hugoplate is a free starter template built with Hugo and TailwindCSS, providing everything you need to jumpstart your Hugo project and save valuable time." + image: "/images/banner.png" + button: + enable: true + label: "Get Started For Free" + link: "https://github.com/zeon-studio/hugoplate" + +# Features +features: + - title: "What's Included in Hugoplate" + image: "/images/service-1.png" + content: "Hugoplate is a comprehensive starter template that includes everything you need to get started with your Hugo project. What's Included in Hugoplate" + bulletpoints: + - "10+ Pre-build pages" + - "95+ Google Pagespeed Score" + - "Build with Hugo and TailwindCSS for easy and customizable styling" + - "Fully responsive on all devices" + - "SEO-optimized for better search engine rankings" + - "**Open-source and free** for personal and commercial use" + button: + enable: false + label: "Get Started Now" + link: "#" + + - title: "Discover the Key Features Of Hugo" + image: "/images/service-2.png" + content: "Hugo is an all-in-one web framework for building fast, content-focused websites. It offers a range of exciting features for developers and website creators. Some of the key features are:" + bulletpoints: + - "Zero JS, by default: No JavaScript runtime overhead to slow you down." + - "Customizable: Tailwind, MDX, and 100+ other integrations to choose from." + - "UI-agnostic: Supports React, Preact, Svelte, Vue, Solid, Lit and more." + button: + enable: true + label: "Get Started Now" + link: "https://github.com/zeon-studio/hugoplate" + + - title: "The Top Reasons to Choose Hugo for Your Hugo Project" + image: "/images/service-3.png" + content: "With Hugo, you can build modern and content-focused websites without sacrificing performance or ease of use." + bulletpoints: + - "Instantly load static sites for better user experience and SEO." + - "Intuitive syntax and support for popular frameworks make learning and using Hugo a breeze." + - "Use any front-end library or framework, or build custom components, for any project size." + - "Built on cutting-edge technology to keep your projects up-to-date with the latest web standards." + button: + enable: false + label: "" + link: "" +--- diff --git a/themes/hugoplate/exampleSite/content/english/about/_index.md b/themes/hugoplate/exampleSite/content/english/about/_index.md new file mode 100644 index 00000000..293a3be7 --- /dev/null +++ b/themes/hugoplate/exampleSite/content/english/about/_index.md @@ -0,0 +1,9 @@ +--- +title: "Hey, I am John Doe!" +meta_title: "About" +description: "this is meta description" +image: "/images/avatar.png" +draft: false +--- + +Lorem ipsum dolor sit amet consectetur adipisicing elit. Corporis illum nesciunt commodi vel nisi ut alias excepturi ipsum, totam, labore tempora, odit ex iste tempore sed. Fugit voluptatibus perspiciatis assumenda nulla ad nihil, omnis vel, doloremque sit quam autem optio maiores, illum eius facilis et quo consectetur provident dolor similique! Enim voluptatem dicta expedita veritatis repellat dolorum impedit, provident quasi at. diff --git a/themes/hugoplate/exampleSite/content/english/authors/_index.md b/themes/hugoplate/exampleSite/content/english/authors/_index.md new file mode 100644 index 00000000..62eae442 --- /dev/null +++ b/themes/hugoplate/exampleSite/content/english/authors/_index.md @@ -0,0 +1,3 @@ +--- +title: "Authors" +--- diff --git a/themes/hugoplate/exampleSite/content/english/authors/john-doe.md b/themes/hugoplate/exampleSite/content/english/authors/john-doe.md new file mode 100644 index 00000000..3b550507 --- /dev/null +++ b/themes/hugoplate/exampleSite/content/english/authors/john-doe.md @@ -0,0 +1,20 @@ +--- +title: John Doe +email: johndoe@email.com +image: "/images/avatar.png" +description: this is meta description +social: + - name: github + icon: fa-brands fa-github + link: https://github.com + + - name: twitter + icon: fa-brands fa-twitter + link: https://twitter.com + + - name: linkedin + icon: fa-brands fa-linkedin + link: https://linkedin.com +--- + +lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostr navigation et dolore magna aliqua. diff --git a/themes/hugoplate/exampleSite/content/english/authors/sam-wilson.md b/themes/hugoplate/exampleSite/content/english/authors/sam-wilson.md new file mode 100644 index 00000000..beccae63 --- /dev/null +++ b/themes/hugoplate/exampleSite/content/english/authors/sam-wilson.md @@ -0,0 +1,20 @@ +--- +title: Sam Wilson +email: samwilson@email.com +image: "/images/avatar.png" +description: this is meta description +social: + - name: github + icon: fa-brands fa-github + link: https://github.com + + - name: twitter + icon: fa-brands fa-twitter + link: https://twitter.com + + - name: linkedin + icon: fa-brands fa-linkedin + link: https://linkedin.com +--- + +lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostr navigation et dolore magna aliqua. diff --git a/themes/hugoplate/exampleSite/content/english/authors/william-jacob.md b/themes/hugoplate/exampleSite/content/english/authors/william-jacob.md new file mode 100644 index 00000000..3e15e0b4 --- /dev/null +++ b/themes/hugoplate/exampleSite/content/english/authors/william-jacob.md @@ -0,0 +1,20 @@ +--- +title: William Jacob +email: williamjacob@email.com +image: "/images/avatar.png" +description: this is meta description +social: + - name: github + icon: fa-brands fa-github + link: https://github.com + + - name: twitter + icon: fa-brands fa-twitter + link: https://twitter.com + + - name: linkedin + icon: fa-brands fa-linkedin + link: https://linkedin.com +--- + +lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostr navigation et dolore magna aliqua. diff --git a/themes/hugoplate/exampleSite/content/english/blog/_index.md b/themes/hugoplate/exampleSite/content/english/blog/_index.md new file mode 100755 index 00000000..17564a26 --- /dev/null +++ b/themes/hugoplate/exampleSite/content/english/blog/_index.md @@ -0,0 +1,5 @@ +--- +title: "Blog Posts" +meta_title: "" +description: "this is meta description" +--- diff --git a/themes/hugoplate/exampleSite/content/english/blog/post-1.md b/themes/hugoplate/exampleSite/content/english/blog/post-1.md new file mode 100755 index 00000000..68280a66 --- /dev/null +++ b/themes/hugoplate/exampleSite/content/english/blog/post-1.md @@ -0,0 +1,23 @@ +--- +title: "How to build an Application with modern Technology" +meta_title: "" +description: "this is meta description" +date: 2022-04-04T05:00:00Z +image: "/images/image-placeholder.png" +categories: ["Application", "Data"] +author: "John Doe" +tags: ["nextjs", "tailwind"] +draft: false +--- + +Nemo vel ad consectetur namut rutrum ex, venenatis sollicitudin urna. Aliquam erat volutpat. Integer eu ipsum sem. Ut bibendum lacus vestibulum maximus suscipit. Quisque vitae nibh iaculis neque blandit euismod. + +Lorem ipsum dolor sit amet consectetur adipisicing elit. Nemo vel ad consectetur ut aperiam. Itaque eligendi natus aperiam? Excepturi repellendus consequatur quibusdam optio expedita praesentium est adipisci dolorem ut eius! + +## Creative Design + +Nam ut rutrum ex, venenatis sollicitudin urna. Aliquam erat volutpat. Integer eu ipsum sem. Ut bibendum lacus vestibulum maximus suscipit. Quisque vitae nibh iaculis neque blandit euismod. + +> Lorem ipsum dolor sit amet consectetur adipisicing elit. Nemo vel ad consectetur ut aperiam. Itaque eligendi natus aperiam? Excepturi repellendus consequatur quibusdam optio expedita praesentium est adipisci dolorem ut eius! + +Lorem ipsum dolor sit amet consectetur adipisicing elit. Nemo vel ad consectetur ut aperiam. Itaque eligendi natus aperiam? Excepturi repellendus consequatur quibusdam optio expedita praesentium est adipisci dolorem ut eius! diff --git a/themes/hugoplate/exampleSite/content/english/blog/post-2.md b/themes/hugoplate/exampleSite/content/english/blog/post-2.md new file mode 100755 index 00000000..d0e6f1bb --- /dev/null +++ b/themes/hugoplate/exampleSite/content/english/blog/post-2.md @@ -0,0 +1,23 @@ +--- +title: "How to build an Application with modern Technology" +meta_title: "" +description: "this is meta description" +date: 2022-04-04T05:00:00Z +image: "/images/image-placeholder.png" +categories: ["Technology", "Data"] +author: "Sam Wilson" +tags: ["technology", "tailwind"] +draft: false +--- + +Nemo vel ad consectetur namut rutrum ex, venenatis sollicitudin urna. Aliquam erat volutpat. Integer eu ipsum sem. Ut bibendum lacus vestibulum maximus suscipit. Quisque vitae nibh iaculis neque blandit euismod. + +Lorem ipsum dolor sit amet consectetur adipisicing elit. Nemo vel ad consectetur ut aperiam. Itaque eligendi natus aperiam? Excepturi repellendus consequatur quibusdam optio expedita praesentium est adipisci dolorem ut eius! + +## Creative Design + +Nam ut rutrum ex, venenatis sollicitudin urna. Aliquam erat volutpat. Integer eu ipsum sem. Ut bibendum lacus vestibulum maximus suscipit. Quisque vitae nibh iaculis neque blandit euismod. + +> Lorem ipsum dolor sit amet consectetur adipisicing elit. Nemo vel ad consectetur ut aperiam. Itaque eligendi natus aperiam? Excepturi repellendus consequatur quibusdam optio expedita praesentium est adipisci dolorem ut eius! + +Lorem ipsum dolor sit amet consectetur adipisicing elit. Nemo vel ad consectetur ut aperiam. Itaque eligendi natus aperiam? Excepturi repellendus consequatur quibusdam optio expedita praesentium est adipisci dolorem ut eius! diff --git a/themes/hugoplate/exampleSite/content/english/blog/post-3.md b/themes/hugoplate/exampleSite/content/english/blog/post-3.md new file mode 100755 index 00000000..ef70402c --- /dev/null +++ b/themes/hugoplate/exampleSite/content/english/blog/post-3.md @@ -0,0 +1,23 @@ +--- +title: "How to build an Application with modern Technology" +meta_title: "" +description: "this is meta description" +date: 2022-04-04T05:00:00Z +image: "/images/image-placeholder.png" +categories: ["Software"] +author: "John Doe" +tags: ["software", "tailwind"] +draft: false +--- + +Nemo vel ad consectetur namut rutrum ex, venenatis sollicitudin urna. Aliquam erat volutpat. Integer eu ipsum sem. Ut bibendum lacus vestibulum maximus suscipit. Quisque vitae nibh iaculis neque blandit euismod. + +Lorem ipsum dolor sit amet consectetur adipisicing elit. Nemo vel ad consectetur ut aperiam. Itaque eligendi natus aperiam? Excepturi repellendus consequatur quibusdam optio expedita praesentium est adipisci dolorem ut eius! + +## Creative Design + +Nam ut rutrum ex, venenatis sollicitudin urna. Aliquam erat volutpat. Integer eu ipsum sem. Ut bibendum lacus vestibulum maximus suscipit. Quisque vitae nibh iaculis neque blandit euismod. + +> Lorem ipsum dolor sit amet consectetur adipisicing elit. Nemo vel ad consectetur ut aperiam. Itaque eligendi natus aperiam? Excepturi repellendus consequatur quibusdam optio expedita praesentium est adipisci dolorem ut eius! + +Lorem ipsum dolor sit amet consectetur adipisicing elit. Nemo vel ad consectetur ut aperiam. Itaque eligendi natus aperiam? Excepturi repellendus consequatur quibusdam optio expedita praesentium est adipisci dolorem ut eius! diff --git a/themes/hugoplate/exampleSite/content/english/blog/post-4.md b/themes/hugoplate/exampleSite/content/english/blog/post-4.md new file mode 100755 index 00000000..c9ff3722 --- /dev/null +++ b/themes/hugoplate/exampleSite/content/english/blog/post-4.md @@ -0,0 +1,23 @@ +--- +title: "How to build an Application with modern Technology" +meta_title: "" +description: "this is meta description" +date: 2022-04-04T05:00:00Z +image: "/images/image-placeholder.png" +categories: ["Architecture"] +author: "John Doe" +tags: ["silicon", "technology"] +draft: false +--- + +Nemo vel ad consectetur namut rutrum ex, venenatis sollicitudin urna. Aliquam erat volutpat. Integer eu ipsum sem. Ut bibendum lacus vestibulum maximus suscipit. Quisque vitae nibh iaculis neque blandit euismod. + +Lorem ipsum dolor sit amet consectetur adipisicing elit. Nemo vel ad consectetur ut aperiam. Itaque eligendi natus aperiam? Excepturi repellendus consequatur quibusdam optio expedita praesentium est adipisci dolorem ut eius! + +## Creative Design + +Nam ut rutrum ex, venenatis sollicitudin urna. Aliquam erat volutpat. Integer eu ipsum sem. Ut bibendum lacus vestibulum maximus suscipit. Quisque vitae nibh iaculis neque blandit euismod. + +> Lorem ipsum dolor sit amet consectetur adipisicing elit. Nemo vel ad consectetur ut aperiam. Itaque eligendi natus aperiam? Excepturi repellendus consequatur quibusdam optio expedita praesentium est adipisci dolorem ut eius! + +Lorem ipsum dolor sit amet consectetur adipisicing elit. Nemo vel ad consectetur ut aperiam. Itaque eligendi natus aperiam? Excepturi repellendus consequatur quibusdam optio expedita praesentium est adipisci dolorem ut eius! diff --git a/themes/hugoplate/exampleSite/content/english/contact/_index.md b/themes/hugoplate/exampleSite/content/english/contact/_index.md new file mode 100644 index 00000000..bd6b9f6b --- /dev/null +++ b/themes/hugoplate/exampleSite/content/english/contact/_index.md @@ -0,0 +1,6 @@ +--- +title: "Contact" +meta_title: "" +description: "this is meta description" +draft: false +--- diff --git a/themes/hugoplate/exampleSite/content/english/pages/elements.md b/themes/hugoplate/exampleSite/content/english/pages/elements.md new file mode 100755 index 00000000..269ddbb5 --- /dev/null +++ b/themes/hugoplate/exampleSite/content/english/pages/elements.md @@ -0,0 +1,239 @@ +--- +title: "Elements" +# meta title +meta_title: "" +# meta description +description: "This is meta description" +# save as draft +draft: false +--- + +{{< toc >}} + +Here is an example of headings. You can use this heading by the following markdown rules. For example: use `#` for heading 1 and use `######` for heading 6. + +# Heading 1 + +## Heading 2 + +### Heading 3 + +#### Heading 4 + +##### Heading 5 + +###### Heading 6 + +
+ +### Emphasis + +The emphasis, aka italics, with _asterisks_ or _underscores_. + +Strong emphasis, aka bold, with **asterisks** or **underscores**. + +The combined emphasis with **asterisks and _underscores_**. + +Strike through uses two tildes. ~~Scratch this.~~ + +
+ +### Button + +{{< button label="Button" link="/" style="solid" >}} + +
+ +### Link + +[I'm an inline-style link](https://www.google.com) + +[I'm an inline-style link with title](https://www.google.com "Google's Homepage") + +[I'm a reference-style link][Arbitrary case-insensitive reference text] + +[I'm a relative reference to a repository file](../blob/master/LICENSE) + +[You can use numbers for reference-style link definitions][1] + +Or leave it empty and use the [link text itself]. + +URLs and URLs in angle brackets will automatically get turned into links. + or and sometimes +example.com (but not on Github, for example). + +Some text to show that the reference links can follow later. + +[arbitrary case-insensitive reference text]: https://www.themefisher.com +[1]: https://gethugothemes.com +[link text itself]: https://www.getjekyllthemes.com + +
+ +### Paragraph + +Lorem ipsum dolor sit amet consectetur adipisicing elit. Quam nihil enim maxime corporis cumque totam aliquid nam sint inventore optio modi neque laborum officiis necessitatibus, facilis placeat pariatur! Voluptatem, sed harum pariatur adipisci voluptates voluptatum cumque, porro sint minima similique magni perferendis fuga! Optio vel ipsum excepturi tempore reiciendis id quidem? Vel in, doloribus debitis nesciunt fugit sequi magnam accusantium modi neque quis, vitae velit, pariatur harum autem a! Velit impedit atque maiores animi possimus asperiores natus repellendus excepturi sint architecto eligendi non, omnis nihil. Facilis, doloremque illum. Fugit optio laborum minus debitis natus illo perspiciatis corporis voluptatum rerum laboriosam. + +
+ +### Ordered List + +1. List item +2. List item +3. List item +4. List item +5. List item + +
+ +### Unordered List + +- List item +- List item +- List item +- List item +- List item + +
+ +### Notice + +{{< notice "note" >}} +This is a simple note. +{{< /notice >}} + +{{< notice "tip" >}} +This is a simple tip. +{{< /notice >}} + +{{< notice "info" >}} +This is a simple info. +{{< /notice >}} + +{{< notice "warning" >}} +This is a simple warning. +{{< /notice >}} + +
+ +### Tab + +{{< tabs >}} +{{< tab "Tab 1" >}} + +#### Hey There, I am a tab + +Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. + +{{< /tab >}} + +{{< tab "Tab 2" >}} + +#### I wanna talk about the assassination attempt + +Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. + +Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. + +{{< /tab >}} + +{{< tab "Tab 3" >}} + +#### We know you’re dealing in stolen ore + +Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. + +Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo + +{{< /tab >}} +{{< /tabs >}} + +
+ +### Accordions + +{{< accordion "Why should you need to do this?" >}} + +- Lorem ipsum dolor sit amet consectetur adipisicing elit. +- Lorem ipsum dolor sit amet consectetur adipisicing elit. +- Lorem ipsum dolor sit amet consectetur + +{{< /accordion >}} + +{{< accordion "How can I adjust Horizontal centering" >}} + +- Lorem ipsum dolor sit amet consectetur adipisicing elit. +- Lorem ipsum dolor sit amet consectetur adipisicing elit. +- Lorem ipsum dolor sit amet consectetur + +{{< /accordion >}} + +{{< accordion "Should you use Negative margin?" >}} + +- Lorem ipsum dolor sit amet consectetur adipisicing elit. +- Lorem ipsum dolor sit amet consectetur adipisicing elit. +- Lorem ipsum dolor sit amet consectetur + +{{< /accordion >}} + +
+ +### Code and Syntax Highlighting + +This is an `Inline code` sample. + +```javascript +var s = "JavaScript syntax highlighting"; +alert(s); +``` + +```python +s = "Python syntax highlighting" +print s +``` + +
+ +### Blockquote + +> Did you come here for something in particular or just general Riker-bashing? And blowing into maximum warp speed, you appeared for an instant to be in two places at once. + +
+ +### Tables + +| Tables | Are | Cool | +| ------------- | :-----------: | ----: | +| col 3 is | right-aligned | $1600 | +| col 2 is | centered | $12 | +| zebra stripes | are neat | $1 | + +
+ +### Image + +{{< image src="images/image-placeholder.png" caption="" alt="alter-text" height="" width="" position="center" command="fill" option="q100" class="img-fluid" title="image title" webp="false" >}} + +
+ +### Gallery + +{{< gallery dir="images/gallery" class="" height="400" width="400" webp="true" command="Fit" option="" zoomable="true" >}} + +
+ +### Slider + +{{< slider dir="images/gallery" class="max-w-[600px] ml-0" height="400" width="400" webp="true" command="Fit" option="" zoomable="true" >}} + +
+ +### Youtube video + +{{< youtube ResipmZmpDU >}} + +
+ +### Custom video + +{{< video src="https://www.w3schools.com/html/mov_bbb.mp4" width="100%" height="auto" autoplay="false" loop="false" muted="false" controls="true" class="rounded-lg" >}} diff --git a/themes/hugoplate/exampleSite/content/english/pages/privacy-policy.md b/themes/hugoplate/exampleSite/content/english/pages/privacy-policy.md new file mode 100644 index 00000000..3d16c6eb --- /dev/null +++ b/themes/hugoplate/exampleSite/content/english/pages/privacy-policy.md @@ -0,0 +1,33 @@ +--- +title: "Privacy" +# meta title +meta_title: "" +# meta description +description: "This is meta description" +# save as draft +draft: false +--- + +#### Responsibility of Contributors + +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Purus, donec nunc eros, ullamcorper id feugiat quisque aliquam sagittis. Sem turpis sed viverra massa gravida pharetra. Non dui dolor potenti eu dignissim fusce. Ultrices amet, in curabitur a arcu a lectus morbi id. Iaculis erat sagittis in tortor cursus. Molestie urna eu tortor, erat scelerisque eget. Nunc hendrerit sed interdum lacus. Lorem quis viverra sed + +pretium, aliquam sit. Praesent elementum magna amet, tincidunt eros, nibh in leo. Malesuada purus, lacus, at aliquam suspendisse tempus. Quis tempus amet, velit nascetur sollicitudin. At sollicitudin eget amet in. Eu velit nascetur sollicitudin erhdfvssfvrgss eget viverra nec elementum. Lacus, facilisis tristique lectus in. + +#### Gathering of Personal Information + +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Purus, donec nunc eros, ullamcorper id feugiat quisque aliquam sagittis. Sem turpis sed viverra massa gravida pharetra. Non dui dolor potenti eu dignissim fusce. Ultrices amet, in curabitur a arcu a lectus morbi id. Iaculis erat sagittis in tortor cursus. Molestie urna eu tortor, erat scelerisque eget. Nunc hendrerit sed interdum lacus. Lorem quis viverra sed + +#### Protection of Personal- Information + +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Purus, donec nunc eros, ullamcorper id feugiat quisque aliquam sagittis. Sem turpis sed viverra massa gravida pharetra. Non dui dolor potenti eu dignissim fusce. Ultrices amet, in curabitur a arcu a lectus morbi id. Iaculis erat sagittis in tortor cursus. + +Molestie urna eu tortor, erat scelerisque eget. Nunc hendrerit sed interdum lacus. Lorem quis viverra sed +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Purus, donec nunc eros, ullamcorper id feugiat + +#### Privacy Policy Changes + +1. Sll the Themefisher items are designed to be with the latest , We check all +2. comments that threaten or harm the reputation of any person or organization +3. personal information including, but limited to, email addresses, telephone numbers +4. Any Update come in The technology Customer will get automatic Notification. diff --git a/themes/hugoplate/exampleSite/content/english/sections/call-to-action.md b/themes/hugoplate/exampleSite/content/english/sections/call-to-action.md new file mode 100644 index 00000000..efda1486 --- /dev/null +++ b/themes/hugoplate/exampleSite/content/english/sections/call-to-action.md @@ -0,0 +1,14 @@ +--- +enable: true +title: "Ready to build your next project with Hugo?" +image: "/images/call-to-action.png" +description: "Experience the future of web development with Hugoplate and Hugo. Build lightning-fast static sites with ease and flexibility." +button: + enable: true + label: "Get Started Now" + link: "https://github.com/zeon-studio/hugoplate" + +# don't create a separate page +_build: + render: "never" +--- diff --git a/themes/hugoplate/exampleSite/content/english/sections/testimonial.md b/themes/hugoplate/exampleSite/content/english/sections/testimonial.md new file mode 100644 index 00000000..6e403247 --- /dev/null +++ b/themes/hugoplate/exampleSite/content/english/sections/testimonial.md @@ -0,0 +1,31 @@ +--- +enable: true +title: "What Users Are Saying About Hugoplate" +description: "Don't just take our word for it - hear from some of our satisfied users! Check out some of our testimonials below to see what others are saying about Hugoplate." + +# Testimonials +testimonials: + - name: "Marvin McKinney" + designation: "Web Designer" + avatar: "/images/avatar-sm.png" + content: "Lorem ipsum dolor sit amet consectetur adipisicing elit. Qui iusto illo molestias, assumenda expedita commodi inventore non itaque molestiae voluptatum dolore, facilis sapiente, repellat veniam." + + - name: "Marvin McKinney" + designation: "Web Designer" + avatar: "/images/avatar-sm.png" + content: "Lorem ipsum dolor sit amet consectetur adipisicing elit. Qui iusto illo molestias, assumenda expedita commodi inventore non itaque molestiae voluptatum dolore, facilis sapiente, repellat veniam." + + - name: "Marvin McKinney" + designation: "Web Designer" + avatar: "/images/avatar-sm.png" + content: "Lorem ipsum dolor sit amet consectetur adipisicing elit. Qui iusto illo molestias, assumenda expedita commodi inventore non itaque molestiae voluptatum dolore, facilis sapiente, repellat veniam." + + - name: "Marvin McKinney" + designation: "Web Designer" + avatar: "/images/avatar-sm.png" + content: "Lorem ipsum dolor sit amet consectetur adipisicing elit. Qui iusto illo molestias, assumenda expedita commodi inventore non itaque molestiae voluptatum dolore, facilis sapiente, repellat veniam." + +# don't create a separate page +_build: + render: "never" +--- diff --git a/themes/hugoplate/exampleSite/data/social.json b/themes/hugoplate/exampleSite/data/social.json new file mode 100644 index 00000000..513cca76 --- /dev/null +++ b/themes/hugoplate/exampleSite/data/social.json @@ -0,0 +1,24 @@ +{ + "main": [ + { + "name": "facebook", + "icon": "fab fa-facebook", + "link": "https://www.facebook.com/" + }, + { + "name": "twitter", + "icon": "fab fa-twitter", + "link": "https://twitter.com/" + }, + { + "name": "github", + "icon": "fab fa-github", + "link": "https://www.github.com/" + }, + { + "name": "linkedin", + "icon": "fab fa-linkedin", + "link": "https://www.linkedin.com/" + } + ] +} diff --git a/themes/hugoplate/exampleSite/data/theme.json b/themes/hugoplate/exampleSite/data/theme.json new file mode 100644 index 00000000..a17716f2 --- /dev/null +++ b/themes/hugoplate/exampleSite/data/theme.json @@ -0,0 +1,44 @@ +{ + "colors": { + "default": { + "theme_color": { + "primary": "#121212", + "body": "#fff", + "border": "#eaeaea", + "theme_light": "#f6f6f6", + "theme_dark": "" + }, + "text_color": { + "default": "#444444", + "dark": "#040404", + "light": "#717171" + } + }, + "darkmode": { + "theme_color": { + "primary": "#fff", + "body": "#1c1c1c", + "border": "#3E3E3E", + "theme_light": "#222222", + "theme_dark": "" + }, + "text_color": { + "default": "#B4AFB6", + "dark": "#fff", + "light": "#B4AFB6" + } + } + }, + "fonts": { + "font_family": { + "primary": "Heebo:wght@400;600", + "primary_type": "sans-serif", + "secondary": "Signika:wght@500;700", + "secondary_type": "sans-serif" + }, + "font_size": { + "base": "16", + "scale": "1.2" + } + } +} diff --git a/themes/hugoplate/exampleSite/go.mod b/themes/hugoplate/exampleSite/go.mod new file mode 100644 index 00000000..9ec6f06c --- /dev/null +++ b/themes/hugoplate/exampleSite/go.mod @@ -0,0 +1,30 @@ +module hugoplate.netlify.app + +go 1.20 + +require ( + github.com/gethugothemes/hugo-modules/accordion v0.0.0-20240423040330-6260da698660 // indirect + github.com/gethugothemes/hugo-modules/adsense v0.0.0-20240423040330-6260da698660 // indirect + github.com/gethugothemes/hugo-modules/components/announcement v0.0.0-20240423040330-6260da698660 // indirect + github.com/gethugothemes/hugo-modules/components/cookie-consent v0.0.0-20240423040330-6260da698660 // indirect + github.com/gethugothemes/hugo-modules/components/custom-script v0.0.0-20240423040330-6260da698660 // indirect + github.com/gethugothemes/hugo-modules/components/preloader v0.0.0-20240423040330-6260da698660 // indirect + github.com/gethugothemes/hugo-modules/components/render-link v0.0.0-20240423040330-6260da698660 // indirect + github.com/gethugothemes/hugo-modules/components/social-share v0.0.0-20240423040330-6260da698660 // indirect + github.com/gethugothemes/hugo-modules/gallery-slider v0.0.0-20240423040330-6260da698660 // indirect + github.com/gethugothemes/hugo-modules/gzip-caching v0.0.0-20240423040330-6260da698660 // indirect + github.com/gethugothemes/hugo-modules/icons/font-awesome v0.0.0-20240423040330-6260da698660 // indirect + github.com/gethugothemes/hugo-modules/images v0.0.0-20240423040330-6260da698660 // indirect + github.com/gethugothemes/hugo-modules/modal v0.0.0-20240423040330-6260da698660 // indirect + github.com/gethugothemes/hugo-modules/pwa v0.0.0-20240423040330-6260da698660 // indirect + github.com/gethugothemes/hugo-modules/search v0.0.0-20240423040330-6260da698660 // indirect + github.com/gethugothemes/hugo-modules/seo-tools/basic-seo v0.0.0-20240423040330-6260da698660 // indirect + github.com/gethugothemes/hugo-modules/seo-tools/google-tag-manager v0.0.0-20240423040330-6260da698660 // indirect + github.com/gethugothemes/hugo-modules/seo-tools/site-verifications v0.0.0-20240423040330-6260da698660 // indirect + github.com/gethugothemes/hugo-modules/shortcodes/button v0.0.0-20240423040330-6260da698660 // indirect + github.com/gethugothemes/hugo-modules/shortcodes/notice v0.0.0-20240423040330-6260da698660 // indirect + github.com/gethugothemes/hugo-modules/tab v0.0.0-20240423040330-6260da698660 // indirect + github.com/gethugothemes/hugo-modules/table-of-contents v0.0.0-20240423040330-6260da698660 // indirect + github.com/gethugothemes/hugo-modules/videos v0.0.0-20240423040330-6260da698660 // indirect + github.com/zeon-studio/hugoplate v0.0.0-20240422031018-f1a3ce07e1d2 // indirect +) diff --git a/themes/hugoplate/exampleSite/hugo.toml b/themes/hugoplate/exampleSite/hugo.toml new file mode 100755 index 00000000..1483456c --- /dev/null +++ b/themes/hugoplate/exampleSite/hugo.toml @@ -0,0 +1,173 @@ +######################## default configuration #################### +# The base URL of your site (required). This will be prepended to all relative URLs. +baseURL = "/" +# Title of your website (required). +title = "Hugoplate" +# Your theme name +# theme = "hugoplate" +# Default time zone for time stamps; use any valid tz database name: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List +timeZone = "America/New_York" +# post pagination +paginate = 2 # see https://gohugo.io/extras/pagination/ +# post excerpt +summaryLength = 10 # see https://gohugo.io/content-management/excerpts/ +# disable language +disableLanguages = [ +] # example: ["fr"] for disable french language. see https://gohugo.io/content-management/multilingual/ +hasCJKLanguage = false # If hasCJKLanguage true, auto-detect Chinese/Japanese/Korean Languages in the content. see: https://gohugo.io/getting-started/configuration/#hascjklanguage +# default language +defaultContentLanguage = 'en' +# defaultContentLanguageInSubdir need to be true if you want to use the language code as a subdirectory and language specific 404 page +defaultContentLanguageInSubdir = false + +########################### Services ############################# +[services] +[services.googleAnalytics] +ID = 'G-MEASUREMENT_ID' # see https://gohugo.io/templates/internal/#configure-google-analytics + +[services.disqus] +shortname = 'themefisher-template' # we use disqus to show comments in blog posts . To install disqus please follow this tutorial https://portfolio.peter-baumgartner.net/2017/09/10/how-to-install-disqus-on-hugo/ + +########################## Permalinks ############################ +[permalinks.page] +"pages" = "/:slugorfilename/" + + +############################# Modules ############################ +[module] +[[module.mounts]] +source = "assets" +target = "assets" + +[[module.mounts]] +source = "hugo_stats.json" +target = "assets/watching/hugo_stats.json" + +############################# Build ############################## +[build] +noJSConfigInAssets = false +useResourceCacheWhen = 'fallback' +[build.buildStats] +enable = true +[[build.cachebusters]] +source = 'assets/watching/hugo_stats\.json' +target = 'style\.css' +[[build.cachebusters]] +source = '(postcss|tailwind)\.config\.js' +target = 'css' +[[build.cachebusters]] +source = 'assets/.*\.(js|ts|jsx|tsx)' +target = 'js' +[[build.cachebusters]] +source = 'assets/.*\.(css|scss|sass)' +target = 'css' +[[build.cachebusters]] +source = 'data/.*\.(.*)$' +target = 'css' +[[build.cachebusters]] +source = 'assets/.*\.(.*)$' +target = '$1' + + +############################# Outputs ############################ +[outputs] +home = ["HTML", "RSS", "WebAppManifest", "SearchIndex"] + +############################# Imaging ############################ +[imaging] +# See https://github.com/disintegration/imaging +# Default JPEG or WebP quality setting. Default is 75. +quality = 80 +resampleFilter = "Lanczos" + +############################ Caches ############################## +[caches] +[caches.images] +dir = ":resourceDir/_gen" +maxAge = "720h" + +[caches.assets] +dir = ":resourceDir/_gen" +maxAge = "720h" + + +############################ Markup ############################## +[markup] +[markup.goldmark.renderer] +unsafe = true + +[markup.highlight] +style = 'monokai' # see https://xyproto.github.io/splash/docs/all.html + +[markup.tableOfContents] +startLevel = 2 +endLevel = 5 +ordered = true + + +########################### Media types ########################### +[mediaTypes] +[mediaTypes."application/manifest+json"] +suffixes = ["webmanifest"] + + +########################### Output Format ########################## +[outputFormats] +[outputFormats.WebAppManifest] +mediaType = "application/manifest+json" +rel = "manifest" + +[outputFormats.SearchIndex] +mediaType = "application/json" +baseName = "searchindex" +isPlainText = true +notAlternative = true + + +############################# Plugins ############################## + +# CSS Plugins +[[params.plugins.css]] +link = "plugins/swiper/swiper-bundle.css" +lazy = true +[[params.plugins.css]] +link = "plugins/glightbox/glightbox.css" +lazy = true +[[params.plugins.css]] +link = "plugins/font-awesome/v6/brands.css" +lazy = true +[[params.plugins.css]] +link = "plugins/font-awesome/v6/solid.css" +lazy = true +[[params.plugins.css]] +link = "plugins/font-awesome/v6/icons.css" +lazy = true + +# JS Plugins +[[params.plugins.js]] +link = "js/search.js" +lazy = false +[[params.plugins.js]] +link = "plugins/swiper/swiper-bundle.js" +lazy = false +[[params.plugins.js]] +link = "plugins/cookie.js" +lazy = false +[[params.plugins.js]] +link = "plugins/glightbox/glightbox.js" +lazy = true +[[params.plugins.js]] +link = "js/gallery-slider.js" +lazy = true +[[params.plugins.js]] +link = "js/accordion.js" +lazy = true +[[params.plugins.js]] +link = "js/tab.js" +lazy = true +[[params.plugins.js]] +link = "js/modal.js" +lazy = true +[[params.plugins.js]] +link = "plugins/youtube-lite.js" +lazy = true diff --git a/themes/hugoplate/exampleSite/i18n/en.yaml b/themes/hugoplate/exampleSite/i18n/en.yaml new file mode 100755 index 00000000..b0230ebe --- /dev/null +++ b/themes/hugoplate/exampleSite/i18n/en.yaml @@ -0,0 +1,41 @@ +- id: home + translation: Home + +- id: read_more + translation: Read More + +- id: send + translation: Send + +- id: related_posts + translation: Related Posts + +- id: categories + translation: Categories + +- id: tags + translation: Tags + +- id: toc + translation: Table of Contents + +- id: share + translation: Share + +- id: search_input_placeholder + translation: Search Post ... + +- id: search_no_results + translation: No results for + +- id: search_initial_message + translation: Type something to search.. + +- id: search_navigate + translation: to navigate + +- id: search_select + translation: to select + +- id: search_close + translation: to close diff --git a/themes/hugoplate/exampleSite/postcss.config.js b/themes/hugoplate/exampleSite/postcss.config.js new file mode 100644 index 00000000..f9887c51 --- /dev/null +++ b/themes/hugoplate/exampleSite/postcss.config.js @@ -0,0 +1,45 @@ +const purgecss = { + content: ["./hugo_stats.json"], + defaultExtractor: (content) => { + const elements = JSON.parse(content).htmlElements; + return [ + ...(elements.tags || []), + ...(elements.classes || []), + ...(elements.ids || []), + ]; + }, + safelist: [ + /^swiper-/, + /^lb-/, + /^gl/, + /^go/, + /^gc/, + /^gs/, + /^gi/, + /^gz/, + /^gprev/, + /^gnext/, + /^desc/, + /^zoom/, + /^search/, + /^:is/, + /dark/, + /show/, + /dragging/, + /fullscreen/, + /loaded/, + /visible/, + /current/, + /active/, + /mark/, + ], +}; + +module.exports = { + plugins: { + tailwindcss: {}, + "@fullhuman/postcss-purgecss": + process.env.HUGO_ENVIRONMENT === "production" ? purgecss : false, + autoprefixer: process.env.HUGO_ENVIRONMENT === "production" ? {} : false, + }, +}; diff --git a/themes/hugoplate/exampleSite/tailwind.config.js b/themes/hugoplate/exampleSite/tailwind.config.js new file mode 100755 index 00000000..c8754a7e --- /dev/null +++ b/themes/hugoplate/exampleSite/tailwind.config.js @@ -0,0 +1,103 @@ +const fs = require("fs"); +const path = require("path"); +const themePath = path.join(__dirname, "data/theme.json"); +const themeRead = fs.readFileSync(themePath, "utf8"); +const theme = JSON.parse(themeRead); + +let font_base = Number(theme.fonts.font_size.base.replace("px", "")); +let font_scale = Number(theme.fonts.font_size.scale); +let h6 = font_scale; +let h5 = h6 * font_scale; +let h4 = h5 * font_scale; +let h3 = h4 * font_scale; +let h2 = h3 * font_scale; +let h1 = h2 * font_scale; +let fontPrimary, fontPrimaryType, fontSecondary, fontSecondaryType; +if (theme.fonts.font_family.primary) { + fontPrimary = theme.fonts.font_family.primary + .replace(/\+/g, " ") + .replace(/:[ital,]*[ital@]*[wght@]*[0-9,;.]+/gi, ""); + fontPrimaryType = theme.fonts.font_family.primary_type; +} +if (theme.fonts.font_family.secondary) { + fontSecondary = theme.fonts.font_family.secondary + .replace(/\+/g, " ") + .replace(/:[ital,]*[ital@]*[wght@]*[0-9,;.]+/gi, ""); + fontSecondaryType = theme.fonts.font_family.secondary_type; +} + +/** @type {import('tailwindcss').Config} */ +module.exports = { + content: ["./hugo_stats.json"], + safelist: [{ pattern: /^swiper-/ }], + darkMode: "class", + theme: { + screens: { + sm: "540px", + md: "768px", + lg: "1024px", + xl: "1280px", + "2xl": "1536px", + }, + container: { + center: true, + padding: "2rem", + }, + extend: { + colors: { + text: theme.colors.default.text_color.default, + light: theme.colors.default.text_color.light, + dark: theme.colors.default.text_color.dark, + primary: theme.colors.default.theme_color.primary, + secondary: theme.colors.default.theme_color.secondary, + body: theme.colors.default.theme_color.body, + border: theme.colors.default.theme_color.border, + "theme-light": theme.colors.default.theme_color.theme_light, + "theme-dark": theme.colors.default.theme_color.theme_dark, + darkmode: { + text: theme.colors.darkmode.text_color.default, + light: theme.colors.darkmode.text_color.light, + dark: theme.colors.darkmode.text_color.dark, + primary: theme.colors.darkmode.theme_color.primary, + secondary: theme.colors.darkmode.theme_color.secondary, + body: theme.colors.darkmode.theme_color.body, + border: theme.colors.darkmode.theme_color.border, + "theme-light": theme.colors.darkmode.theme_color.theme_light, + "theme-dark": theme.colors.darkmode.theme_color.theme_dark, + }, + }, + fontSize: { + base: font_base + "px", + "base-sm": font_base * 0.8 + "px", + h1: h1 + "rem", + "h1-sm": h1 * 0.9 + "rem", + h2: h2 + "rem", + "h2-sm": h2 * 0.9 + "rem", + h3: h3 + "rem", + "h3-sm": h3 * 0.9 + "rem", + h4: h4 + "rem", + h5: h5 + "rem", + h6: h6 + "rem", + }, + fontFamily: { + primary: [fontPrimary, fontPrimaryType], + secondary: [fontSecondary, fontSecondaryType], + }, + }, + }, + plugins: [ + require("@tailwindcss/typography"), + require("@tailwindcss/forms"), + require("tailwind-bootstrap-grid")({ + generateContainer: false, + gridGutterWidth: "2rem", + gridGutters: { + 1: "0.25rem", + 2: "0.5rem", + 3: "1rem", + 4: "1.5rem", + 5: "3rem", + }, + }), + ], +}; diff --git a/themes/hugoplate/layouts/index.html b/themes/hugoplate/layouts/index.html index acc853a4..d9c726d8 100755 --- a/themes/hugoplate/layouts/index.html +++ b/themes/hugoplate/layouts/index.html @@ -27,9 +27,9 @@ {{ end }} {{ end }} - {{/*
+
{{ partial "image" (dict "Src" .image "Alt" "Banner image" "Loading" "eager" "Class" "mx-auto lg:!max-w-[800px]" "DisplayXL" "800x" ) }} -
*/}} +
diff --git a/themes/hugoplate/layouts/partials/components/author-card.html b/themes/hugoplate/layouts/partials/components/author-card.html index 23988afa..23292af9 100755 --- a/themes/hugoplate/layouts/partials/components/author-card.html +++ b/themes/hugoplate/layouts/partials/components/author-card.html @@ -7,8 +7,8 @@ {{ .Title }} {{ end }}

diff --git a/themes/hugoplate/layouts/partials/components/blog-card.html b/themes/hugoplate/layouts/partials/components/blog-card.html index e4a219f9..1ca1efee 100644 --- a/themes/hugoplate/layouts/partials/components/blog-card.html +++ b/themes/hugoplate/layouts/partials/components/blog-card.html @@ -13,11 +13,11 @@