moved homepage from folder to content root

This commit is contained in:
somrat sorkar 2023-10-01 10:37:45 +06:00
parent 39e487943d
commit 957dd39565
6 changed files with 150 additions and 153 deletions

View File

@ -59,7 +59,7 @@ main {
@apply prose-p:text-base prose-p:text-text prose-p:dark:text-darkmode-text; @apply prose-p:text-base prose-p:text-text prose-p:dark:text-darkmode-text;
@apply prose-blockquote:rounded-lg prose-blockquote:border prose-blockquote:border-l-[10px] prose-blockquote:border-primary prose-blockquote:bg-theme-light prose-blockquote:px-8 prose-blockquote:py-10 prose-blockquote:font-secondary prose-blockquote:text-2xl prose-blockquote:not-italic prose-blockquote:text-dark prose-blockquote:dark:border-darkmode-primary prose-blockquote:dark:bg-darkmode-theme-light prose-blockquote:dark:text-darkmode-light; @apply prose-blockquote:rounded-lg prose-blockquote:border prose-blockquote:border-l-[10px] prose-blockquote:border-primary prose-blockquote:bg-theme-light prose-blockquote:px-8 prose-blockquote:py-10 prose-blockquote:font-secondary prose-blockquote:text-2xl prose-blockquote:not-italic prose-blockquote:text-dark prose-blockquote:dark:border-darkmode-primary prose-blockquote:dark:bg-darkmode-theme-light prose-blockquote:dark:text-darkmode-light;
@apply prose-pre:rounded-lg prose-pre:bg-theme-light prose-pre:dark:bg-darkmode-theme-light; @apply prose-pre:rounded-lg prose-pre:bg-theme-light prose-pre:dark:bg-darkmode-theme-light;
@apply prose-code:px-1; @apply prose-code:px-1 prose-code:dark:text-darkmode-light;
@apply prose-strong:text-dark prose-strong:dark:text-darkmode-text; @apply prose-strong:text-dark prose-strong:dark:text-darkmode-text;
@apply prose-a:text-text prose-a:underline hover:prose-a:text-primary prose-a:dark:text-darkmode-text hover:prose-a:dark:text-darkmode-primary; @apply prose-a:text-text prose-a:underline hover:prose-a:text-primary prose-a:dark:text-darkmode-text hover:prose-a:dark:text-darkmode-primary;
@apply prose-li:text-text prose-li:dark:text-darkmode-text; @apply prose-li:text-text prose-li:dark:text-darkmode-text;

View File

@ -3,26 +3,27 @@ module hugoplate.netlify.app
go 1.20 go 1.20
require ( require (
github.com/gethugothemes/hugo-modules/accordion v0.0.0-20230913031841-c3e6f1eb8b7b // indirect github.com/gethugothemes/hugo-modules/accordion v0.0.0-20231001043352-2e720c5b7e8b // indirect
github.com/gethugothemes/hugo-modules/adsense v0.0.0-20230913031841-c3e6f1eb8b7b // indirect github.com/gethugothemes/hugo-modules/adsense v0.0.0-20231001043352-2e720c5b7e8b // indirect
github.com/gethugothemes/hugo-modules/components/cookie-consent v0.0.0-20230913031841-c3e6f1eb8b7b // indirect github.com/gethugothemes/hugo-modules/components/cookie-consent v0.0.0-20231001043352-2e720c5b7e8b // indirect
github.com/gethugothemes/hugo-modules/components/custom-script v0.0.0-20230913031841-c3e6f1eb8b7b // indirect github.com/gethugothemes/hugo-modules/components/custom-script v0.0.0-20231001043352-2e720c5b7e8b // indirect
github.com/gethugothemes/hugo-modules/components/preloader v0.0.0-20230913031841-c3e6f1eb8b7b // indirect github.com/gethugothemes/hugo-modules/components/preloader v0.0.0-20231001043352-2e720c5b7e8b // indirect
github.com/gethugothemes/hugo-modules/components/render-link v0.0.0-20230913031841-c3e6f1eb8b7b // indirect github.com/gethugothemes/hugo-modules/components/render-link v0.0.0-20231001043352-2e720c5b7e8b // indirect
github.com/gethugothemes/hugo-modules/components/social-share v0.0.0-20230913031841-c3e6f1eb8b7b // indirect github.com/gethugothemes/hugo-modules/components/social-share v0.0.0-20231001043352-2e720c5b7e8b // indirect
github.com/gethugothemes/hugo-modules/gallery-slider v0.0.0-20230913031841-c3e6f1eb8b7b // indirect github.com/gethugothemes/hugo-modules/gallery-slider v0.0.0-20231001043352-2e720c5b7e8b // indirect
github.com/gethugothemes/hugo-modules/gzip-caching v0.0.0-20230913031841-c3e6f1eb8b7b // indirect github.com/gethugothemes/hugo-modules/gzip-caching v0.0.0-20231001043352-2e720c5b7e8b // indirect
github.com/gethugothemes/hugo-modules/icons/font-awesome v0.0.0-20230913031841-c3e6f1eb8b7b // indirect github.com/gethugothemes/hugo-modules/icons/font-awesome v0.0.0-20231001043352-2e720c5b7e8b // indirect
github.com/gethugothemes/hugo-modules/images v0.0.0-20230913031841-c3e6f1eb8b7b // indirect github.com/gethugothemes/hugo-modules/images v0.0.0-20231001043352-2e720c5b7e8b // indirect
github.com/gethugothemes/hugo-modules/modal v0.0.0-20230913031841-c3e6f1eb8b7b // indirect github.com/gethugothemes/hugo-modules/modal v0.0.0-20231001043352-2e720c5b7e8b // indirect
github.com/gethugothemes/hugo-modules/pwa v0.0.0-20230913031841-c3e6f1eb8b7b // indirect github.com/gethugothemes/hugo-modules/pwa v0.0.0-20231001043352-2e720c5b7e8b // indirect
github.com/gethugothemes/hugo-modules/search v0.0.0-20230913031841-c3e6f1eb8b7b // indirect github.com/gethugothemes/hugo-modules/search v0.0.0-20231001043352-2e720c5b7e8b // indirect
github.com/gethugothemes/hugo-modules/seo-tools/basic-seo v0.0.0-20230913031841-c3e6f1eb8b7b // indirect github.com/gethugothemes/hugo-modules/seo-tools/basic-seo v0.0.0-20231001043352-2e720c5b7e8b // indirect
github.com/gethugothemes/hugo-modules/seo-tools/google-tag-manager v0.0.0-20230913031841-c3e6f1eb8b7b // indirect github.com/gethugothemes/hugo-modules/seo-tools/google-tag-manager v0.0.0-20231001043352-2e720c5b7e8b // indirect
github.com/gethugothemes/hugo-modules/seo-tools/site-verifications v0.0.0-20230913031841-c3e6f1eb8b7b // indirect github.com/gethugothemes/hugo-modules/seo-tools/site-verifications v0.0.0-20231001043352-2e720c5b7e8b // indirect
github.com/gethugothemes/hugo-modules/shortcodes/button v0.0.0-20230913031841-c3e6f1eb8b7b // indirect github.com/gethugothemes/hugo-modules/shortcodes/button v0.0.0-20231001043352-2e720c5b7e8b // indirect
github.com/gethugothemes/hugo-modules/shortcodes/notice v0.0.0-20230913031841-c3e6f1eb8b7b // indirect github.com/gethugothemes/hugo-modules/shortcodes/notice v0.0.0-20231001043352-2e720c5b7e8b // indirect
github.com/gethugothemes/hugo-modules/tab v0.0.0-20230913031841-c3e6f1eb8b7b // indirect github.com/gethugothemes/hugo-modules/tab v0.0.0-20231001043352-2e720c5b7e8b // indirect
github.com/gethugothemes/hugo-modules/table-of-contents v0.0.0-20230913031841-c3e6f1eb8b7b // indirect github.com/gethugothemes/hugo-modules/table-of-contents v0.0.0-20231001043352-2e720c5b7e8b // indirect
github.com/gethugothemes/hugo-modules/videos v0.0.0-20230913031841-c3e6f1eb8b7b // indirect github.com/gethugothemes/hugo-modules/videos v0.0.0-20231001043352-2e720c5b7e8b // indirect
github.com/zeon-studio/hugoplate v0.0.0-20230919033707-39e487943d6d // indirect
) )

View File

@ -1,5 +1,4 @@
{{ define "main" }} {{ define "main" }}
{{ with site.GetPage "homepage" }}
<!-- Banner --> <!-- Banner -->
{{ with .Params.banner }} {{ with .Params.banner }}
<section class="section pt-14"> <section class="section pt-14">
@ -80,8 +79,7 @@
<section class="section"> <section class="section">
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div <div class="md:col-10 lg:col-8 xl:col-6 mx-auto mb-12 text-center">
class="md:col-10 lg:col-8 xl:col-6 mx-auto mb-12 text-center">
<h2 class="mb-4"> <h2 class="mb-4">
{{ .Title | markdownify }} {{ .Title | markdownify }}
</h2> </h2>
@ -139,4 +137,3 @@
{{ end }} {{ end }}
<!-- /Testimonials --> <!-- /Testimonials -->
{{ end }} {{ end }}
{{ end }}

View File

@ -1,5 +1,4 @@
<meta charset="utf-8" /> <meta charset="utf-8" />
<title>{{ .Title | default site.Title }}</title>
<!-- responsive meta --> <!-- responsive meta -->
<meta <meta

View File

@ -1,7 +1,7 @@
{ {
"name": "hugoplate", "name": "hugoplate",
"description": "hugo tailwindcss boilerplate", "description": "hugo tailwindcss boilerplate",
"version": "1.7.7", "version": "1.8.0",
"license": "MIT", "license": "MIT",
"author": "zeon.studio", "author": "zeon.studio",
"scripts": { "scripts": {
@ -21,8 +21,8 @@
"@fullhuman/postcss-purgecss": "^5.0.0", "@fullhuman/postcss-purgecss": "^5.0.0",
"@tailwindcss/forms": "^0.5.6", "@tailwindcss/forms": "^0.5.6",
"@tailwindcss/typography": "^0.5.10", "@tailwindcss/typography": "^0.5.10",
"autoprefixer": "^10.4.15", "autoprefixer": "^10.4.16",
"postcss": "^8.4.29", "postcss": "^8.4.31",
"postcss-cli": "^10.1.0", "postcss-cli": "^10.1.0",
"prettier": "^3.0.3", "prettier": "^3.0.3",
"prettier-plugin-go-template": "0.0.15", "prettier-plugin-go-template": "0.0.15",