fix: fixed some features
This commit is contained in:
parent
af302b5753
commit
08108a4a7a
@ -1727,10 +1727,6 @@ select {
|
|||||||
top: 4rem;
|
top: 4rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.top-full {
|
|
||||||
top: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.z-50 {
|
.z-50 {
|
||||||
z-index: 50;
|
z-index: 50;
|
||||||
}
|
}
|
||||||
@ -1788,6 +1784,10 @@ select {
|
|||||||
margin-top: 2.5rem;
|
margin-top: 2.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.mt-11 {
|
||||||
|
margin-top: 2.75rem;
|
||||||
|
}
|
||||||
|
|
||||||
.mt-2 {
|
.mt-2 {
|
||||||
margin-top: 0.5rem;
|
margin-top: 0.5rem;
|
||||||
}
|
}
|
||||||
@ -1804,14 +1804,6 @@ select {
|
|||||||
margin-top: 1.5rem;
|
margin-top: 1.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mt-5 {
|
|
||||||
margin-top: 1.25rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.mt-11 {
|
|
||||||
margin-top: 2.75rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.block {
|
.block {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
@ -2138,16 +2130,16 @@ select {
|
|||||||
background-color: rgb(248 250 252 / var(--tw-bg-opacity));
|
background-color: rgb(248 250 252 / var(--tw-bg-opacity));
|
||||||
}
|
}
|
||||||
|
|
||||||
.bg-white {
|
|
||||||
--tw-bg-opacity: 1;
|
|
||||||
background-color: rgb(255 255 255 / var(--tw-bg-opacity));
|
|
||||||
}
|
|
||||||
|
|
||||||
.bg-slate-950 {
|
.bg-slate-950 {
|
||||||
--tw-bg-opacity: 1;
|
--tw-bg-opacity: 1;
|
||||||
background-color: rgb(2 6 23 / var(--tw-bg-opacity));
|
background-color: rgb(2 6 23 / var(--tw-bg-opacity));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.bg-white {
|
||||||
|
--tw-bg-opacity: 1;
|
||||||
|
background-color: rgb(255 255 255 / var(--tw-bg-opacity));
|
||||||
|
}
|
||||||
|
|
||||||
.object-cover {
|
.object-cover {
|
||||||
-o-object-fit: cover;
|
-o-object-fit: cover;
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
@ -2607,10 +2599,6 @@ select {
|
|||||||
outline-color: #4f46e5;
|
outline-color: #4f46e5;
|
||||||
}
|
}
|
||||||
|
|
||||||
.group:hover .group-hover\:block {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.peer:checked ~ .peer-checked\:block {
|
.peer:checked ~ .peer-checked\:block {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
@ -2809,14 +2797,6 @@ select {
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sm\:justify-normal {
|
|
||||||
justify-content: normal;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sm\:justify-center {
|
|
||||||
justify-content: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sm\:bg-red-200 {
|
.sm\:bg-red-200 {
|
||||||
--tw-bg-opacity: 1;
|
--tw-bg-opacity: 1;
|
||||||
background-color: rgb(254 202 202 / var(--tw-bg-opacity));
|
background-color: rgb(254 202 202 / var(--tw-bg-opacity));
|
||||||
@ -2833,18 +2813,10 @@ select {
|
|||||||
position: static;
|
position: static;
|
||||||
}
|
}
|
||||||
|
|
||||||
.md\:absolute {
|
|
||||||
position: absolute;
|
|
||||||
}
|
|
||||||
|
|
||||||
.md\:top-full {
|
.md\:top-full {
|
||||||
top: 100%;
|
top: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.md\:left-0 {
|
|
||||||
left: 0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.md\:mx-0 {
|
.md\:mx-0 {
|
||||||
margin-left: 0px;
|
margin-left: 0px;
|
||||||
margin-right: 0px;
|
margin-right: 0px;
|
||||||
@ -2878,14 +2850,14 @@ select {
|
|||||||
width: 66.666667%;
|
width: 66.666667%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.md\:w-auto {
|
|
||||||
width: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
.md\:w-48 {
|
.md\:w-48 {
|
||||||
width: 12rem;
|
width: 12rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.md\:w-auto {
|
||||||
|
width: auto;
|
||||||
|
}
|
||||||
|
|
||||||
.md\:cursor-default {
|
.md\:cursor-default {
|
||||||
cursor: default;
|
cursor: default;
|
||||||
}
|
}
|
||||||
@ -2915,27 +2887,17 @@ select {
|
|||||||
row-gap: 0px;
|
row-gap: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.md\:rounded-lg {
|
|
||||||
border-radius: 0.5rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.md\:border-0 {
|
.md\:border-0 {
|
||||||
border-width: 0px;
|
border-width: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.md\:bg-yellow-200 {
|
|
||||||
--tw-bg-opacity: 1;
|
|
||||||
background-color: rgb(254 240 138 / var(--tw-bg-opacity));
|
|
||||||
}
|
|
||||||
|
|
||||||
.md\:bg-transparent {
|
.md\:bg-transparent {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
.md\:shadow-lg {
|
.md\:bg-yellow-200 {
|
||||||
--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
|
--tw-bg-opacity: 1;
|
||||||
--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
|
background-color: rgb(254 240 138 / var(--tw-bg-opacity));
|
||||||
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.group:hover .md\:group-hover\:block {
|
.group:hover .md\:group-hover\:block {
|
||||||
|
@ -4,6 +4,7 @@ description = "Hugo, the world's fastest framework for building websites"
|
|||||||
date = "2019-02-28"
|
date = "2019-02-28"
|
||||||
aliases = ["about-us", "about-hugo", "contact"]
|
aliases = ["about-us", "about-hugo", "contact"]
|
||||||
author = "Hugo Authors"
|
author = "Hugo Authors"
|
||||||
|
showDate = false
|
||||||
+++
|
+++
|
||||||
|
|
||||||
Written in Go, Hugo is an open source static site generator available under the [Apache Licence 2.0.](https://github.com/gohugoio/hugo/blob/master/LICENSE) Hugo supports TOML, YAML and JSON data file types, Markdown and HTML content files and uses shortcodes to add rich content. Other notable features are taxonomies, multilingual mode, image processing, custom output formats, HTML/CSS/JS minification and support for Sass SCSS workflows.
|
Written in Go, Hugo is an open source static site generator available under the [Apache Licence 2.0.](https://github.com/gohugoio/hugo/blob/master/LICENSE) Hugo supports TOML, YAML and JSON data file types, Markdown and HTML content files and uses shortcodes to add rich content. Other notable features are taxonomies, multilingual mode, image processing, custom output formats, HTML/CSS/JS minification and support for Sass SCSS workflows.
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
its result is cached, and any subsequent similar call will reuse the cached result.
|
its result is cached, and any subsequent similar call will reuse the cached result.
|
||||||
So we define $pages instead of $paginator (using .Paginate) to avoid confusion. */}}
|
So we define $pages instead of $paginator (using .Paginate) to avoid confusion. */}}
|
||||||
{{ $pages := $PageContext.RegularPages }}
|
{{ $pages := $PageContext.RegularPages }}
|
||||||
|
|
||||||
{{ if .IsHome }}
|
{{ if .IsHome }}
|
||||||
{{ $PageContext = .Site }}
|
{{ $PageContext = .Site }}
|
||||||
{{ $pages = where $PageContext.RegularPages "Type" $contentTypeName }}
|
{{ $pages = where $PageContext.RegularPages "Type" $contentTypeName }}
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
{{ $showDate := (.Params.showDate) | default true }}
|
||||||
|
|
||||||
|
{{- if .Date | and $showDate }}
|
||||||
<div class="flex flex-col gap-y-1 md:flex-row md:gap-y-0 md:gap-x-4 text-slate-500 dark:text-slate-300">
|
<div class="flex flex-col gap-y-1 md:flex-row md:gap-y-0 md:gap-x-4 text-slate-500 dark:text-slate-300">
|
||||||
{{- if .Date }}
|
{{- if .Date }}
|
||||||
{{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }}
|
{{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }}
|
||||||
@ -22,3 +25,4 @@
|
|||||||
</div>
|
</div>
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
</div>
|
</div>
|
||||||
|
{{ end -}}
|
Loading…
Reference in New Issue
Block a user