update code formating
This commit is contained in:
parent
665944ebe1
commit
dd7c13e06b
1
.github/workflows/hugo.yml
vendored
1
.github/workflows/hugo.yml
vendored
@ -12,7 +12,6 @@ permissions:
|
|||||||
pages: write
|
pages: write
|
||||||
id-token: write
|
id-token: write
|
||||||
|
|
||||||
|
|
||||||
# Environment variables available to all jobs and steps in this workflow
|
# Environment variables available to all jobs and steps in this workflow
|
||||||
env:
|
env:
|
||||||
HUGO_ENV: production
|
HUGO_ENV: production
|
||||||
|
6
.vscode/extensions.json
vendored
6
.vscode/extensions.json
vendored
@ -1,3 +1,7 @@
|
|||||||
{
|
{
|
||||||
"recommendations": ["bradlc.vscode-tailwindcss", "budparr.language-hugo-vscode", "tamasfe.even-better-toml"]
|
"recommendations": [
|
||||||
|
"bradlc.vscode-tailwindcss",
|
||||||
|
"budparr.language-hugo-vscode",
|
||||||
|
"tamasfe.even-better-toml"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
@ -7,9 +7,9 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.btn-primary {
|
.btn-primary {
|
||||||
@apply border-primary bg-primary text-white dark:border-darkmode-primary dark:bg-white dark:text-dark;
|
@apply border-primary bg-primary dark:border-darkmode-primary dark:text-dark text-white dark:bg-white;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-outline-primary {
|
.btn-outline-primary {
|
||||||
@apply border-dark bg-transparent text-dark hover:bg-dark hover:text-white dark:border-white dark:text-white dark:hover:bg-white dark:hover:text-dark;
|
@apply border-dark text-dark hover:bg-dark dark:hover:text-dark bg-transparent hover:text-white dark:border-white dark:text-white dark:hover:bg-white;
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
.bg-gradient {
|
.bg-gradient {
|
||||||
@apply bg-gradient-to-b from-[rgba(249,249,249,1)] from-[0.53%] to-white to-[83.28%] dark:from-darkmode-theme-light dark:to-darkmode-body;
|
@apply dark:from-darkmode-theme-light dark:to-darkmode-body bg-gradient-to-b from-[rgba(249,249,249,1)] from-[0.53%] to-white to-[83.28%];
|
||||||
}
|
}
|
||||||
|
|
||||||
.rounded-sm {
|
.rounded-sm {
|
||||||
|
@ -224,6 +224,7 @@ print s
|
|||||||
### Gallery
|
### Gallery
|
||||||
|
|
||||||
{{< gallery dir="images/gallery" class="" height="400" width="400" webp="true" command="Fit" option="" zoomable="true" >}}
|
{{< gallery dir="images/gallery" class="" height="400" width="400" webp="true" command="Fit" option="" zoomable="true" >}}
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
### Slider
|
### Slider
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
<!-- head (don't cache it) -->
|
<!-- head (don't cache it) -->
|
||||||
{{ partial "essentials/head.html" . }}
|
{{ partial "essentials/head.html" . }}
|
||||||
|
|
||||||
|
|
||||||
<!-- style (always cache it) -->
|
<!-- style (always cache it) -->
|
||||||
{{ partialCached "essentials/style.html" . }}
|
{{ partialCached "essentials/style.html" . }}
|
||||||
</head>
|
</head>
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
{{ partial "page-header" . }}
|
{{ partial "page-header" . }}
|
||||||
|
|
||||||
|
|
||||||
<section class="section-sm">
|
<section class="section-sm">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
{{ partial "page-header" . }}
|
{{ partial "page-header" . }}
|
||||||
|
|
||||||
|
|
||||||
<section class="section">
|
<section class="section">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row gx-5">
|
<div class="row gx-5">
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
{{ partial "page-header" . }}
|
{{ partial "page-header" . }}
|
||||||
|
|
||||||
|
|
||||||
<section class="section-sm">
|
<section class="section-sm">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row justify-center">
|
<div class="row justify-center">
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
{{ partial "page-header" . }}
|
{{ partial "page-header" . }}
|
||||||
|
|
||||||
|
|
||||||
<section class="section">
|
<section class="section">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
{{ partial "page-header" . }}
|
{{ partial "page-header" . }}
|
||||||
|
|
||||||
|
|
||||||
<section class="section">
|
<section class="section">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row gx-5">
|
<div class="row gx-5">
|
||||||
|
@ -18,9 +18,9 @@
|
|||||||
</p>
|
</p>
|
||||||
{{ with .Params.button }}
|
{{ with .Params.button }}
|
||||||
{{ if .enable }}
|
{{ if .enable }}
|
||||||
<a class="btn btn-primary" href="{{ .link | absURL }}"
|
<a class="btn btn-primary" href="{{ .link | absURL }}">
|
||||||
>{{ .label }}</a
|
{{ .label }}
|
||||||
>
|
</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<div
|
<div
|
||||||
class="fixed top-0 left-0 z-50 flex w-[30px] items-center justify-center bg-gray-200 py-[2.5px] text-[12px] uppercase text-black sm:bg-red-200 md:bg-yellow-200 lg:bg-green-200 xl:bg-blue-200 2xl:bg-pink-200">
|
class="fixed left-0 top-0 z-50 flex w-[30px] items-center justify-center bg-gray-200 py-[2.5px] text-[12px] uppercase text-black sm:bg-red-200 md:bg-yellow-200 lg:bg-green-200 xl:bg-blue-200 2xl:bg-pink-200">
|
||||||
<span class="block sm:hidden">all</span>
|
<span class="block sm:hidden">all</span>
|
||||||
<span class="hidden sm:block md:hidden">sm</span>
|
<span class="hidden sm:block md:hidden">sm</span>
|
||||||
<span class="hidden md:block lg:hidden">md</span>
|
<span class="hidden md:block lg:hidden">md</span>
|
||||||
|
@ -12,30 +12,27 @@
|
|||||||
<!-- favicon -->
|
<!-- favicon -->
|
||||||
{{ partialCached "favicon" . }}
|
{{ partialCached "favicon" . }}
|
||||||
|
|
||||||
|
|
||||||
<!-- manifest -->
|
<!-- manifest -->
|
||||||
{{ partialCached "manifest" . }}
|
{{ partialCached "manifest" . }}
|
||||||
|
|
||||||
|
|
||||||
<!-- site verifications -->
|
<!-- site verifications -->
|
||||||
{{ partialCached "site-verifications.html" . }}
|
{{ partialCached "site-verifications.html" . }}
|
||||||
|
|
||||||
|
|
||||||
<!-- opengraph and twitter card -->
|
<!-- opengraph and twitter card -->
|
||||||
{{ partial "basic-seo.html" . }}
|
{{ partial "basic-seo.html" . }}
|
||||||
|
|
||||||
|
|
||||||
<!-- custom script -->
|
<!-- custom script -->
|
||||||
{{ partialCached "custom-script.html" . }}
|
{{ partialCached "custom-script.html" . }}
|
||||||
|
|
||||||
|
|
||||||
<!-- google analytics -->
|
<!-- google analytics -->
|
||||||
{{ template "_internal/google_analytics.html" . }}
|
{{ template "_internal/google_analytics.html" . }}
|
||||||
|
|
||||||
|
|
||||||
<!-- google tag manager -->
|
<!-- google tag manager -->
|
||||||
{{ partialCached "gtm.html" . }}
|
{{ partialCached "gtm.html" . }}
|
||||||
|
|
||||||
|
<!-- search index -->
|
||||||
|
{{ partial "search-index.html" . }}
|
||||||
|
|
||||||
|
|
||||||
<!-- matomo analytics -->
|
<!-- matomo analytics -->
|
||||||
{{/* {{ partialCached "matomo-analytics.html" . }} */}}
|
{{/* {{ partialCached "matomo-analytics.html" . }} */}}
|
||||||
@ -51,6 +48,3 @@
|
|||||||
|
|
||||||
<!-- Crisp Chat -->
|
<!-- Crisp Chat -->
|
||||||
{{/* {{ partialCached "crisp-chat.html" . }} */}}
|
{{/* {{ partialCached "crisp-chat.html" . }} */}}
|
||||||
|
|
||||||
<!-- search index -->
|
|
||||||
{{ partial "search-index.html" . }}
|
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
"autoprefixer": "^10.4.14",
|
"autoprefixer": "^10.4.14",
|
||||||
"postcss": "^8.4.24",
|
"postcss": "^8.4.24",
|
||||||
"postcss-cli": "^10.1.0",
|
"postcss-cli": "^10.1.0",
|
||||||
"prettier": "^3.0.0",
|
"prettier": "^2.8.8",
|
||||||
"prettier-plugin-go-template": "0.0.13",
|
"prettier-plugin-go-template": "0.0.13",
|
||||||
"prettier-plugin-tailwindcss": "^0.3.0",
|
"prettier-plugin-tailwindcss": "^0.3.0",
|
||||||
"tailwind-bootstrap-grid": "^5.0.1",
|
"tailwind-bootstrap-grid": "^5.0.1",
|
||||||
|
@ -86,13 +86,11 @@ npm run dev
|
|||||||
npm run build
|
npm run build
|
||||||
```
|
```
|
||||||
|
|
||||||
<!-- reporting issue -->
|
|
||||||
## 🐞 Reporting Issues
|
## 🐞 Reporting Issues
|
||||||
|
|
||||||
We use GitHub Issues as the official bug tracker for this Template. Please Search [existing issues](https://github.com/zeon-studio/hugoplate/issues). It’s possible someone has already reported the same problem.
|
We use GitHub Issues as the official bug tracker for this Template. Please Search [existing issues](https://github.com/zeon-studio/hugoplate/issues). It’s possible someone has already reported the same problem.
|
||||||
If your problem or idea has not been addressed yet, feel free to [open a new issue](https://github.com/zeon-studio/hugoplate/issues).
|
If your problem or idea has not been addressed yet, feel free to [open a new issue](https://github.com/zeon-studio/hugoplate/issues).
|
||||||
|
|
||||||
<!-- licence -->
|
|
||||||
## 📝 License
|
## 📝 License
|
||||||
|
|
||||||
Copyright (c) 2023 - Present, Designed & Developed by [Zeon Studio](https://zeon.studio/)
|
Copyright (c) 2023 - Present, Designed & Developed by [Zeon Studio](https://zeon.studio/)
|
||||||
|
Loading…
Reference in New Issue
Block a user