fix: fixed some features

This commit is contained in:
Niklas 2024-10-21 22:58:18 +02:00
parent af302b5753
commit 08108a4a7a
4 changed files with 22 additions and 54 deletions

View File

@ -1727,10 +1727,6 @@ select {
top: 4rem;
}
.top-full {
top: 100%;
}
.z-50 {
z-index: 50;
}
@ -1788,6 +1784,10 @@ select {
margin-top: 2.5rem;
}
.mt-11 {
margin-top: 2.75rem;
}
.mt-2 {
margin-top: 0.5rem;
}
@ -1804,14 +1804,6 @@ select {
margin-top: 1.5rem;
}
.mt-5 {
margin-top: 1.25rem;
}
.mt-11 {
margin-top: 2.75rem;
}
.block {
display: block;
}
@ -2138,16 +2130,16 @@ select {
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 {
--tw-bg-opacity: 1;
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 {
-o-object-fit: cover;
object-fit: cover;
@ -2607,10 +2599,6 @@ select {
outline-color: #4f46e5;
}
.group:hover .group-hover\:block {
display: block;
}
.peer:checked ~ .peer-checked\:block {
display: block;
}
@ -2809,14 +2797,6 @@ select {
display: none;
}
.sm\:justify-normal {
justify-content: normal;
}
.sm\:justify-center {
justify-content: center;
}
.sm\:bg-red-200 {
--tw-bg-opacity: 1;
background-color: rgb(254 202 202 / var(--tw-bg-opacity));
@ -2833,18 +2813,10 @@ select {
position: static;
}
.md\:absolute {
position: absolute;
}
.md\:top-full {
top: 100%;
}
.md\:left-0 {
left: 0px;
}
.md\:mx-0 {
margin-left: 0px;
margin-right: 0px;
@ -2878,14 +2850,14 @@ select {
width: 66.666667%;
}
.md\:w-auto {
width: auto;
}
.md\:w-48 {
width: 12rem;
}
.md\:w-auto {
width: auto;
}
.md\:cursor-default {
cursor: default;
}
@ -2915,27 +2887,17 @@ select {
row-gap: 0px;
}
.md\:rounded-lg {
border-radius: 0.5rem;
}
.md\:border-0 {
border-width: 0px;
}
.md\:bg-yellow-200 {
--tw-bg-opacity: 1;
background-color: rgb(254 240 138 / var(--tw-bg-opacity));
}
.md\:bg-transparent {
background-color: transparent;
}
.md\:shadow-lg {
--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
.md\:bg-yellow-200 {
--tw-bg-opacity: 1;
background-color: rgb(254 240 138 / var(--tw-bg-opacity));
}
.group:hover .md\:group-hover\:block {

View File

@ -4,6 +4,7 @@ description = "Hugo, the world's fastest framework for building websites"
date = "2019-02-28"
aliases = ["about-us", "about-hugo", "contact"]
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.

View File

@ -8,6 +8,7 @@
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. */}}
{{ $pages := $PageContext.RegularPages }}
{{ if .IsHome }}
{{ $PageContext = .Site }}
{{ $pages = where $PageContext.RegularPages "Type" $contentTypeName }}

View File

@ -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">
{{- if .Date }}
{{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }}
@ -22,3 +25,4 @@
</div>
{{ end -}}
</div>
{{ end -}}