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
|
||||
id-token: write
|
||||
|
||||
|
||||
# Environment variables available to all jobs and steps in this workflow
|
||||
env:
|
||||
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 {
|
||||
@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 {
|
||||
@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 {
|
||||
@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 {
|
||||
|
@ -224,6 +224,7 @@ print s
|
||||
### Gallery
|
||||
|
||||
{{< gallery dir="images/gallery" class="" height="400" width="400" webp="true" command="Fit" option="" zoomable="true" >}}
|
||||
|
||||
<hr>
|
||||
|
||||
### Slider
|
||||
|
@ -7,7 +7,6 @@
|
||||
<!-- head (don't cache it) -->
|
||||
{{ partial "essentials/head.html" . }}
|
||||
|
||||
|
||||
<!-- style (always cache it) -->
|
||||
{{ partialCached "essentials/style.html" . }}
|
||||
</head>
|
||||
|
@ -1,7 +1,6 @@
|
||||
{{ define "main" }}
|
||||
{{ partial "page-header" . }}
|
||||
|
||||
|
||||
<section class="section-sm">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
|
@ -1,7 +1,6 @@
|
||||
{{ define "main" }}
|
||||
{{ partial "page-header" . }}
|
||||
|
||||
|
||||
<section class="section">
|
||||
<div class="container">
|
||||
<div class="row gx-5">
|
||||
|
@ -1,7 +1,6 @@
|
||||
{{ define "main" }}
|
||||
{{ partial "page-header" . }}
|
||||
|
||||
|
||||
<section class="section-sm">
|
||||
<div class="container">
|
||||
<div class="row justify-center">
|
||||
|
@ -1,7 +1,6 @@
|
||||
{{ define "main" }}
|
||||
{{ partial "page-header" . }}
|
||||
|
||||
|
||||
<section class="section">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
|
@ -1,7 +1,6 @@
|
||||
{{ define "main" }}
|
||||
{{ partial "page-header" . }}
|
||||
|
||||
|
||||
<section class="section">
|
||||
<div class="container">
|
||||
<div class="row gx-5">
|
||||
|
@ -18,9 +18,9 @@
|
||||
</p>
|
||||
{{ with .Params.button }}
|
||||
{{ if .enable }}
|
||||
<a class="btn btn-primary" href="{{ .link | absURL }}"
|
||||
>{{ .label }}</a
|
||||
>
|
||||
<a class="btn btn-primary" href="{{ .link | absURL }}">
|
||||
{{ .label }}
|
||||
</a>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<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="hidden sm:block md:hidden">sm</span>
|
||||
<span class="hidden md:block lg:hidden">md</span>
|
||||
|
@ -12,30 +12,27 @@
|
||||
<!-- favicon -->
|
||||
{{ partialCached "favicon" . }}
|
||||
|
||||
|
||||
<!-- manifest -->
|
||||
{{ partialCached "manifest" . }}
|
||||
|
||||
|
||||
<!-- site verifications -->
|
||||
{{ partialCached "site-verifications.html" . }}
|
||||
|
||||
|
||||
<!-- opengraph and twitter card -->
|
||||
{{ partial "basic-seo.html" . }}
|
||||
|
||||
|
||||
<!-- custom script -->
|
||||
{{ partialCached "custom-script.html" . }}
|
||||
|
||||
|
||||
<!-- google analytics -->
|
||||
{{ template "_internal/google_analytics.html" . }}
|
||||
|
||||
|
||||
<!-- google tag manager -->
|
||||
{{ partialCached "gtm.html" . }}
|
||||
|
||||
<!-- search index -->
|
||||
{{ partial "search-index.html" . }}
|
||||
|
||||
|
||||
<!-- matomo analytics -->
|
||||
{{/* {{ partialCached "matomo-analytics.html" . }} */}}
|
||||
@ -51,6 +48,3 @@
|
||||
|
||||
<!-- Crisp Chat -->
|
||||
{{/* {{ partialCached "crisp-chat.html" . }} */}}
|
||||
|
||||
<!-- search index -->
|
||||
{{ partial "search-index.html" . }}
|
||||
|
@ -10,7 +10,7 @@
|
||||
<a
|
||||
class="hover:text-primary dark:hover:text-darkmode-primary {{ if (and (eq $.Page.Kind `term`) (eq $.Page.Type `categories`) (eq $.Page.Title .Page.Title)) }}
|
||||
active
|
||||
{{ end }} flex justify-between"
|
||||
{{ end }} flex justify-between"
|
||||
href="{{ .Page.RelPermalink }}">
|
||||
{{ .Page.Title }} <span>( {{ len $items }} )</span>
|
||||
</a>
|
||||
|
@ -24,7 +24,7 @@
|
||||
"autoprefixer": "^10.4.14",
|
||||
"postcss": "^8.4.24",
|
||||
"postcss-cli": "^10.1.0",
|
||||
"prettier": "^3.0.0",
|
||||
"prettier": "^2.8.8",
|
||||
"prettier-plugin-go-template": "0.0.13",
|
||||
"prettier-plugin-tailwindcss": "^0.3.0",
|
||||
"tailwind-bootstrap-grid": "^5.0.1",
|
||||
|
@ -86,13 +86,11 @@ npm run dev
|
||||
npm run build
|
||||
```
|
||||
|
||||
<!-- reporting issue -->
|
||||
## 🐞 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.
|
||||
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
|
||||
|
||||
Copyright (c) 2023 - Present, Designed & Developed by [Zeon Studio](https://zeon.studio/)
|
||||
|
Loading…
Reference in New Issue
Block a user