mirror of
https://github.com/imfing/hextra.git
synced 2025-07-04 01:27:21 -04:00
Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
8e8f7f23c9 | |||
5b71912ab2 | |||
34c6f6c7f3 |
@ -4090,9 +4090,6 @@ body {
|
|||||||
.lg\:grid-cols-3 {
|
.lg\:grid-cols-3 {
|
||||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||||
}
|
}
|
||||||
.lg\:leading-\[1\.1\] {
|
|
||||||
line-height: 1.1;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width: 1280px) {
|
@media (min-width: 1280px) {
|
||||||
|
@ -124,3 +124,16 @@ params:
|
|||||||
editURL: "https://example.com/edit/this/page"
|
editURL: "https://example.com/edit/this/page"
|
||||||
---
|
---
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Footer
|
||||||
|
|
||||||
|
### Copyright
|
||||||
|
|
||||||
|
To modify the copyright text displayed in your website's footer, you'll need to create a file named `i18n/en.yaml`.
|
||||||
|
In this file, specify your new copyright text as shown below:
|
||||||
|
|
||||||
|
```yaml {filename="i18n/en.yaml"}
|
||||||
|
copyright: "© 2023 YOUR TEXT HERE"
|
||||||
|
```
|
||||||
|
|
||||||
|
For your reference, an example [`i18n/en.yaml`](https://github.com/imfing/hextra/blob/main/i18n/en.yaml) file can be found in the GitHub repository. Additionally, you could use Markdown format in the copyright text.
|
||||||
|
@ -312,7 +312,6 @@
|
|||||||
"left-[24px]",
|
"left-[24px]",
|
||||||
"left-[36px]",
|
"left-[36px]",
|
||||||
"lg:grid-cols-3",
|
"lg:grid-cols-3",
|
||||||
"lg:leading-[1.1]",
|
|
||||||
"line-clamp-3",
|
"line-clamp-3",
|
||||||
"list-none",
|
"list-none",
|
||||||
"lntable",
|
"lntable",
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
{{- partial "utils/icon" (dict "name" "arrow-circle-right" "attributes" "height=14") -}}
|
{{- partial "utils/icon" (dict "name" "arrow-circle-right" "attributes" "height=14") -}}
|
||||||
</a>
|
</a>
|
||||||
<h1
|
<h1
|
||||||
class="text-4xl font-bold leading-tight tracking-tighter md:text-5xl lg:leading-[1.1] mt-6 bg-clip-text text-transparent bg-gradient-to-r from-gray-900 to-gray-600 dark:from-gray-100 dark:to-gray-400"
|
class="text-4xl font-bold leading-tight tracking-tighter md:text-5xl mt-6 bg-clip-text text-transparent bg-gradient-to-r from-gray-900 to-gray-600 dark:from-gray-100 dark:to-gray-400"
|
||||||
>
|
>
|
||||||
Build modern websites <br class="sm:block hidden" />
|
Build modern websites <br class="sm:block hidden" />
|
||||||
with Markdown and Hugo
|
with Markdown and Hugo
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
>
|
>
|
||||||
<div class="flex w-full flex-col items-center sm:items-start">
|
<div class="flex w-full flex-col items-center sm:items-start">
|
||||||
{{- if (.Site.Params.footer.displayPoweredBy | default true) }}<div class="font-semibold">{{ template "theme-credit" . }}</div>{{ end }}
|
{{- if (.Site.Params.footer.displayPoweredBy | default true) }}<div class="font-semibold">{{ template "theme-credit" . }}</div>{{ end }}
|
||||||
{{- if .Site.Params.footer.displayCopyright }}<p class="mt-6 text-xs">{{ $copyright }}</p>{{ end }}
|
{{- if .Site.Params.footer.displayCopyright }}<p class="mt-6 text-xs">{{ $copyright | markdownify }}</p>{{ end }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
Reference in New Issue
Block a user