diff --git a/assets/scss/components.scss b/assets/scss/components.scss index ab08c9c..1478ee9 100755 --- a/assets/scss/components.scss +++ b/assets/scss/components.scss @@ -59,7 +59,7 @@ main { @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-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-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; diff --git a/exampleSite/content/english/homepage/_index.md b/exampleSite/content/english/_index.md similarity index 100% rename from exampleSite/content/english/homepage/_index.md rename to exampleSite/content/english/_index.md diff --git a/exampleSite/go.mod b/exampleSite/go.mod index cab7156..5d1f93b 100644 --- a/exampleSite/go.mod +++ b/exampleSite/go.mod @@ -3,26 +3,27 @@ module hugoplate.netlify.app go 1.20 require ( - github.com/gethugothemes/hugo-modules/accordion v0.0.0-20230913031841-c3e6f1eb8b7b // indirect - github.com/gethugothemes/hugo-modules/adsense v0.0.0-20230913031841-c3e6f1eb8b7b // indirect - github.com/gethugothemes/hugo-modules/components/cookie-consent v0.0.0-20230913031841-c3e6f1eb8b7b // indirect - github.com/gethugothemes/hugo-modules/components/custom-script v0.0.0-20230913031841-c3e6f1eb8b7b // indirect - github.com/gethugothemes/hugo-modules/components/preloader v0.0.0-20230913031841-c3e6f1eb8b7b // indirect - github.com/gethugothemes/hugo-modules/components/render-link v0.0.0-20230913031841-c3e6f1eb8b7b // indirect - github.com/gethugothemes/hugo-modules/components/social-share v0.0.0-20230913031841-c3e6f1eb8b7b // indirect - github.com/gethugothemes/hugo-modules/gallery-slider v0.0.0-20230913031841-c3e6f1eb8b7b // indirect - github.com/gethugothemes/hugo-modules/gzip-caching v0.0.0-20230913031841-c3e6f1eb8b7b // indirect - github.com/gethugothemes/hugo-modules/icons/font-awesome v0.0.0-20230913031841-c3e6f1eb8b7b // indirect - github.com/gethugothemes/hugo-modules/images v0.0.0-20230913031841-c3e6f1eb8b7b // indirect - github.com/gethugothemes/hugo-modules/modal v0.0.0-20230913031841-c3e6f1eb8b7b // indirect - github.com/gethugothemes/hugo-modules/pwa v0.0.0-20230913031841-c3e6f1eb8b7b // indirect - github.com/gethugothemes/hugo-modules/search v0.0.0-20230913031841-c3e6f1eb8b7b // indirect - github.com/gethugothemes/hugo-modules/seo-tools/basic-seo v0.0.0-20230913031841-c3e6f1eb8b7b // indirect - github.com/gethugothemes/hugo-modules/seo-tools/google-tag-manager v0.0.0-20230913031841-c3e6f1eb8b7b // indirect - github.com/gethugothemes/hugo-modules/seo-tools/site-verifications v0.0.0-20230913031841-c3e6f1eb8b7b // indirect - github.com/gethugothemes/hugo-modules/shortcodes/button v0.0.0-20230913031841-c3e6f1eb8b7b // indirect - github.com/gethugothemes/hugo-modules/shortcodes/notice v0.0.0-20230913031841-c3e6f1eb8b7b // indirect - github.com/gethugothemes/hugo-modules/tab v0.0.0-20230913031841-c3e6f1eb8b7b // indirect - github.com/gethugothemes/hugo-modules/table-of-contents v0.0.0-20230913031841-c3e6f1eb8b7b // indirect - github.com/gethugothemes/hugo-modules/videos 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-20231001043352-2e720c5b7e8b // 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-20231001043352-2e720c5b7e8b // 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-20231001043352-2e720c5b7e8b // 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-20231001043352-2e720c5b7e8b // 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-20231001043352-2e720c5b7e8b // indirect + github.com/gethugothemes/hugo-modules/images v0.0.0-20231001043352-2e720c5b7e8b // indirect + github.com/gethugothemes/hugo-modules/modal v0.0.0-20231001043352-2e720c5b7e8b // indirect + github.com/gethugothemes/hugo-modules/pwa v0.0.0-20231001043352-2e720c5b7e8b // 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-20231001043352-2e720c5b7e8b // 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-20231001043352-2e720c5b7e8b // indirect + github.com/gethugothemes/hugo-modules/shortcodes/button v0.0.0-20231001043352-2e720c5b7e8b // indirect + github.com/gethugothemes/hugo-modules/shortcodes/notice v0.0.0-20231001043352-2e720c5b7e8b // indirect + github.com/gethugothemes/hugo-modules/tab v0.0.0-20231001043352-2e720c5b7e8b // indirect + github.com/gethugothemes/hugo-modules/table-of-contents v0.0.0-20231001043352-2e720c5b7e8b // indirect + github.com/gethugothemes/hugo-modules/videos v0.0.0-20231001043352-2e720c5b7e8b // indirect + github.com/zeon-studio/hugoplate v0.0.0-20230919033707-39e487943d6d // indirect ) diff --git a/layouts/index.html b/layouts/index.html index 1f432f9..4ce2489 100755 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,142 +1,139 @@ {{ define "main" }} - {{ with site.GetPage "homepage" }} - - {{ with .Params.banner }} -
-
-
-
-

- {{ .title | markdownify }} -

-

- {{ .content | markdownify }} -

- {{ with .button }} - {{ if .enable }} - - {{ .label }} - - - {{ end }} + + {{ with .Params.banner }} +
+
+
+
+

+ {{ .title | markdownify }} +

+

+ {{ .content | markdownify }} +

+ {{ with .button }} + {{ if .enable }} + + {{ .label }} + + {{ end }} + {{ end }} +
+
+ {{ partial "image" (dict "Src" .image "Alt" "Banner image" "Loading" "eager" "Class" "mx-auto" "Size" "800x") }} +
+
+
+
+ {{ end }} + + + + {{ range $i, $e:= .Params.features }} +
+
+
+
+ {{ partial "image" (dict "Src" .image "Alt" "feature image") }} +
+
+

+ {{ .title | markdownify }} +

+

+ {{ .content | markdownify }} +

+
    + {{ range .bulletpoints }} +
  • + + {{ . | markdownify }} +
  • + {{ end }} +
+ {{ with .button }} + {{ if .enable }} + + {{ .label }} + + + {{ end }} + {{ end }} +
+
+
+
+ {{ end }} + + + + {{ with site.GetPage "sections/testimonial" }} + {{ if .Params.enable }} +
+
+
+
+

+ {{ .Title | markdownify }} +

+

+ {{ .Params.description | markdownify }} +

- {{ partial "image" (dict "Src" .image "Alt" "Banner image" "Loading" "eager" "Class" "mx-auto" "Size" "800x") }} -
-
-
-
- {{ end }} - - - - {{ range $i, $e:= .Params.features }} -
-
-
-
- {{ partial "image" (dict "Src" .image "Alt" "feature image") }} -
-
-

- {{ .title | markdownify }} -

-

- {{ .content | markdownify }} -

-
    - {{ range .bulletpoints }} -
  • - - {{ . | markdownify }} -
  • - {{ end }} -
- {{ with .button }} - {{ if .enable }} - - {{ .label }} - - - {{ end }} - {{ end }} -
-
-
-
- {{ end }} - - - - {{ with site.GetPage "sections/testimonial" }} - {{ if .Params.enable }} -
-
-
-
-

- {{ .Title | markdownify }} -

-

- {{ .Params.description | markdownify }} -

-
-
-
-
- {{ range .Params.testimonials }} -
-
+
+
+ {{ range .Params.testimonials }} +
+
+
+ + + +
+
+ {{ .content | markdownify }} +
+
- - - + {{ partial "image" (dict "Src" .avatar "Size" "50x50" "Class" "rounded-full" "Alt" .name) }}
-
- {{ .content | markdownify }} -
-
-
- {{ partial "image" (dict "Src" .avatar "Size" "50x50" "Class" "rounded-full" "Alt" .name) }} -
-
-

- {{ .name }} -

-

- {{ .designation | markdownify }} -

-
+
+

+ {{ .name }} +

+

+ {{ .designation | markdownify }} +

- {{ end }} -
-
+
+ {{ end }}
+
-
- {{ end }} +
+
{{ end }} - {{ end }} + {{ end }} diff --git a/layouts/partials/essentials/head.html b/layouts/partials/essentials/head.html index 1eb929a..a14796b 100755 --- a/layouts/partials/essentials/head.html +++ b/layouts/partials/essentials/head.html @@ -1,5 +1,4 @@ -{{ .Title | default site.Title }}