Merge branch 'main' into main
This commit is contained in:
commit
6ceed93f03
@ -3,7 +3,7 @@ html {
|
|||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
@apply bg-body dark:bg-darkmode-body font-primary font-normal leading-relaxed text-text dark:text-darkmode-text;
|
@apply bg-body text-base dark:bg-darkmode-body font-primary font-normal leading-relaxed text-text dark:text-darkmode-text;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1,
|
h1,
|
||||||
|
@ -27,4 +27,5 @@ require (
|
|||||||
github.com/gethugothemes/hugo-modules/table-of-contents v0.0.0-20240504032439-79fc09d96848 // indirect
|
github.com/gethugothemes/hugo-modules/table-of-contents v0.0.0-20240504032439-79fc09d96848 // indirect
|
||||||
github.com/gethugothemes/hugo-modules/videos v0.0.0-20240504032439-79fc09d96848 // indirect
|
github.com/gethugothemes/hugo-modules/videos v0.0.0-20240504032439-79fc09d96848 // indirect
|
||||||
github.com/hugomods/mermaid v0.1.1 // indirect
|
github.com/hugomods/mermaid v0.1.1 // indirect
|
||||||
|
github.com/zeon-studio/hugoplate v0.0.0-20240513062835-d4274ad7e3df // indirect
|
||||||
)
|
)
|
||||||
|
@ -1,41 +1,14 @@
|
|||||||
- id: home
|
home: Home
|
||||||
translation: Home
|
read_more: Read More
|
||||||
|
send: Send
|
||||||
- id: read_more
|
related_posts: Related Posts
|
||||||
translation: Read More
|
categories: Categories
|
||||||
|
tags: Tags
|
||||||
- id: send
|
toc: Table of Contents
|
||||||
translation: Send
|
share: Share
|
||||||
|
search_input_placeholder: Search Post...
|
||||||
- id: related_posts
|
search_no_results: No results for
|
||||||
translation: Related Posts
|
search_initial_message: Type something to search..
|
||||||
|
search_navigate: to navigate
|
||||||
- id: categories
|
search_select: to select
|
||||||
translation: Categories
|
search_close: to close
|
||||||
|
|
||||||
- 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
|
|
||||||
|
@ -48,7 +48,7 @@
|
|||||||
{{ $tags:= .Params.tags }}
|
{{ $tags:= .Params.tags }}
|
||||||
{{ if $tags }}
|
{{ if $tags }}
|
||||||
<div class="lg:col-5 mb-10 flex items-center lg:mb-0">
|
<div class="lg:col-5 mb-10 flex items-center lg:mb-0">
|
||||||
<h5 class="mr-3">{{ i18n "tags" }} :</h5>
|
<h5 class="mr-3">{{ T "tags" }} :</h5>
|
||||||
<ul>
|
<ul>
|
||||||
{{ range $i,$p:= $tags }}
|
{{ range $i,$p:= $tags }}
|
||||||
<li class="inline-block">
|
<li class="inline-block">
|
||||||
@ -63,7 +63,7 @@
|
|||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<div class="lg:col-4 flex items-center">
|
<div class="lg:col-4 flex items-center">
|
||||||
{{ partial "social-share" (dict "Context" . "Class" "share-icons" "Title" (i18n "share") "Whatsapp" false "Telegram" false "Linkedin" false "Pinterest" false "Tumblr" false "Vk" false) }}
|
{{ partial "social-share" (dict "Context" . "Class" "share-icons" "Title" (T "share") "Whatsapp" false "Telegram" false "Linkedin" false "Pinterest" false "Tumblr" false "Vk" false) }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- comments -->
|
<!-- comments -->
|
||||||
@ -80,7 +80,7 @@
|
|||||||
{{ $related = $related | shuffle | first 3 }}
|
{{ $related = $related | shuffle | first 3 }}
|
||||||
{{ with $related }}
|
{{ with $related }}
|
||||||
<div class="section pb-0">
|
<div class="section pb-0">
|
||||||
<h2 class="h3 mb-12">{{ i18n "related_posts" }}</h2>
|
<h2 class="h3 mb-12">{{ T "related_posts" }}</h2>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
{{ range . }}
|
{{ range . }}
|
||||||
<div class="lg:col-4 md:col-6 mb-14">
|
<div class="lg:col-4 md:col-6 mb-14">
|
||||||
|
@ -32,6 +32,6 @@
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
<p class="mb-6">{{ .Summary }}</p>
|
<p class="mb-6">{{ .Summary }}</p>
|
||||||
<a class="btn btn-outline-primary btn-sm" href="{{ .RelPermalink }}">
|
<a class="btn btn-outline-primary btn-sm" href="{{ .RelPermalink }}">
|
||||||
{{ i18n "read_more" }}
|
{{ T "read_more" }}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
<ul class="{{ $class }} inline-flex space-x-1 capitalize">
|
<ul class="{{ $class }} inline-flex space-x-1 capitalize">
|
||||||
<li>
|
<li>
|
||||||
<a class="text-primary dark:text-darkmode-primary" href="{{ $base }}">
|
<a class="text-primary dark:text-darkmode-primary" href="{{ $base }}">
|
||||||
{{ i18n "home" | default "Home" }}
|
{{ T "home" | default "Home" }}
|
||||||
</a>
|
</a>
|
||||||
<span class="inlin-block mr-1">/</span>
|
<span class="inlin-block mr-1">/</span>
|
||||||
</li>
|
</li>
|
||||||
@ -16,7 +16,7 @@
|
|||||||
<a
|
<a
|
||||||
class="text-primary dark:text-darkmode-primary"
|
class="text-primary dark:text-darkmode-primary"
|
||||||
href="{{ .RelPermalink }}">
|
href="{{ .RelPermalink }}">
|
||||||
{{ i18n (printf "%s" (lower .Title)) | default .Title }}
|
{{ T (printf "%s" (lower .Title)) | default .Title }}
|
||||||
</a>
|
</a>
|
||||||
<span class="inlin-block mr-1">/</span>
|
<span class="inlin-block mr-1">/</span>
|
||||||
</li>
|
</li>
|
||||||
@ -24,7 +24,7 @@
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
<li>
|
<li>
|
||||||
<span class="text-primary dark:text-darkmode-primary">
|
<span class="text-primary dark:text-darkmode-primary">
|
||||||
{{ i18n (printf "%s" (lower $context.Title)) | default $context.Title }}
|
{{ T (printf "%s" (lower $context.Title)) | default $context.Title }}
|
||||||
</span>
|
</span>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<div class="container text-center">
|
<div class="container text-center">
|
||||||
<div
|
<div
|
||||||
class="from-body to-theme-light dark:from-darkmode-body dark:to-darkmode-theme-light rounded-2xl bg-gradient-to-b px-8 py-14">
|
class="from-body to-theme-light dark:from-darkmode-body dark:to-darkmode-theme-light rounded-2xl bg-gradient-to-b px-8 py-14">
|
||||||
<h1>{{ i18n (printf "%s" (lower .Title)) | default .Title | title }}</h1>
|
<h1>{{ T (printf "%s" (lower .Title)) | default .Title | title }}</h1>
|
||||||
{{ partial "components/breadcrumb" (dict "Context" . "Class" "mt-6") }}
|
{{ partial "components/breadcrumb" (dict "Context" . "Class" "mt-6") }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
{{ if isset site.Taxonomies "categories" }}
|
{{ if isset site.Taxonomies "categories" }}
|
||||||
{{ if not (eq (len site.Taxonomies.categories) 0) }}
|
{{ if not (eq (len site.Taxonomies.categories) 0) }}
|
||||||
<div class="mb-8">
|
<div class="mb-8">
|
||||||
<h5 class="mb-6">{{ i18n "categories" }}</h5>
|
<h5 class="mb-6">{{ T "categories" }}</h5>
|
||||||
<div class="bg-theme-light dark:bg-darkmode-theme-light rounded p-8">
|
<div class="bg-theme-light dark:bg-darkmode-theme-light rounded p-8">
|
||||||
<ul class="space-y-4">
|
<ul class="space-y-4">
|
||||||
{{ range $name, $items := site.Taxonomies.categories }}
|
{{ range $name, $items := site.Taxonomies.categories }}
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
{{ if isset site.Taxonomies "tags" }}
|
{{ if isset site.Taxonomies "tags" }}
|
||||||
{{ if not (eq (len site.Taxonomies.tags) 0) }}
|
{{ if not (eq (len site.Taxonomies.tags) 0) }}
|
||||||
<div class="mb-8">
|
<div class="mb-8">
|
||||||
<h5 class="mb-6">{{ i18n "tags" }}</h5>
|
<h5 class="mb-6">{{ T "tags" }}</h5>
|
||||||
<div class="bg-theme-light dark:bg-darkmode-theme-light rounded p-6">
|
<div class="bg-theme-light dark:bg-darkmode-theme-light rounded p-6">
|
||||||
<ul>
|
<ul>
|
||||||
{{ range $name, $items := site.Taxonomies.tags }}
|
{{ range $name, $items := site.Taxonomies.tags }}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "hugoplate",
|
"name": "hugoplate",
|
||||||
"description": "hugo tailwindcss boilerplate",
|
"description": "hugo tailwindcss boilerplate",
|
||||||
"version": "1.14.0",
|
"version": "1.15.1",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"author": "zeon.studio",
|
"author": "zeon.studio",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
@ -5,12 +5,12 @@
|
|||||||
<p align="center">Made with ♥ by <a href="https://zeon.studio/"> Zeon Studio</a></p>
|
<p align="center">Made with ♥ by <a href="https://zeon.studio/"> Zeon Studio</a></p>
|
||||||
<p align=center> If you find this project useful, please give it a ⭐ to show your support.</p>
|
<p align=center> If you find this project useful, please give it a ⭐ to show your support.</p>
|
||||||
|
|
||||||
<h2 align="center"> <a target="_blank" href="https://hugoplate.netlify.app/" rel="nofollow">👀 Demo</a> | <a target="_blank" href="https://pagespeed.web.dev/analysis/https-hugoplate-netlify-app/6lyxjw6t4r?form_factor=desktop">Page Speed (95+)🚀</a>
|
<h2 align="center"> <a target="_blank" href="https://zeon.studio/preview?project=hugoplate" rel="nofollow">👀 Demo</a> | <a target="_blank" href="https://pagespeed.web.dev/analysis/https-hugoplate-netlify-app/6lyxjw6t4r?form_factor=desktop">Page Speed (95+)🚀</a>
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<a href="https://github.com/gohugoio/hugo/releases/tag/v0.124.1" alt="Contributors">
|
<a href="https://github.com/gohugoio/hugo/releases/tag/v0.126.0" alt="Contributors">
|
||||||
<img src="https://img.shields.io/static/v1?label=min-HUGO-version&message=0.124.1&color=f00&logo=hugo" />
|
<img src="https://img.shields.io/static/v1?label=min-HUGO-version&message=0.126.0&color=f00&logo=hugo" />
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<a href="https://github.com/zeon-studio/hugoplate/blob/main/LICENSE">
|
<a href="https://github.com/zeon-studio/hugoplate/blob/main/LICENSE">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user