Merge commit 'd137efe0222269e09b427325176f0044558e3cc5'
No files matched your search
@@ -1 +1,7 @@
|
|||||||
Theme for gohugo.io sites. More info to come.
|
# GoHugo Sites Theme
|
||||||
|
|
||||||
|
Theme for gohugo.io sites:
|
||||||
|
* [https://gohugo.io/](https://gohugo.io/)
|
||||||
|
* [https://themes.gohugo.io/](https://themes.gohugo.io/)
|
||||||
|
|
||||||
|
More info to come.
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
{{ $section_to_display := .Data.Pages }}
|
{{ $section_to_display := .Pages }}
|
||||||
{{ partial "pagelayout.html" (dict "context" . "section_to_display" $section_to_display ) }}
|
{{ partial "pagelayout.html" (dict "context" . "section_to_display" $section_to_display ) }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{{/* {{ define "header" }}{{ partial "page-header" . }}{{ end }} */}}
|
{{/* {{ define "header" }}{{ partial "page-header" . }}{{ end }} */}}
|
||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
{{ $section_to_display := .Data.Pages }}
|
{{ $section_to_display := .Pages }}
|
||||||
<div class="w-100 ph4 pb5 pb6-ns pt1 pt3-ns">
|
<div class="w-100 ph4 pb5 pb6-ns pt1 pt3-ns">
|
||||||
|
|
||||||
<div class="flex">
|
<div class="flex">
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<!-- <a href="/news/" class="link accent-color tr-ns f6 w-100 w-50-m w-10-l bg-animate hover-bg-accent-color hover-white pv3 pv4-l ph3 ph4-l dib">
|
<!-- <a href="/news/" class="link accent-color tr-ns f6 w-100 w-50-m w-10-l bg-animate hover-bg-accent-color hover-white pv3 pv4-l ph3 ph4-l dib">
|
||||||
Latest News:
|
Latest News:
|
||||||
</a> -->
|
</a> -->
|
||||||
{{ range first 4 ( sort (where .Data.Pages "Section" "news") "Date" "desc" ) }}
|
{{ range first 4 ( sort (where .Pages "Section" "news") "Date" "desc" ) }}
|
||||||
<!-- only show 2 boxes on mobile -->
|
<!-- only show 2 boxes on mobile -->
|
||||||
{{ $.Scratch.Add "i" 1 }}{{ $i := $.Scratch.Get "i" }}
|
{{ $.Scratch.Add "i" 1 }}{{ $i := $.Scratch.Get "i" }}
|
||||||
<a href="{{ .URL }}" class="link lh-copy light-gray f6 w-100 w-50-m w-25-l bg-animate hover-bg-accent-color hover-white pv3 pv4-ns ph3 ph4-ns{{ if ge $i 3 }} dn dib-l{{ else }} dib{{ end }}">
|
<a href="{{ .URL }}" class="link lh-copy light-gray f6 w-100 w-50-m w-25-l bg-animate hover-bg-accent-color hover-white pv3 pv4-ns ph3 ph4-ns{{ if ge $i 3 }} dn dib-l{{ else }} dib{{ end }}">
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 566 B After Width: | Height: | Size: 566 B |
|
Before Width: | Height: | Size: 501 B After Width: | Height: | Size: 501 B |
|
Before Width: | Height: | Size: 874 B After Width: | Height: | Size: 874 B |
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 910 B After Width: | Height: | Size: 910 B |
|
Before Width: | Height: | Size: 312 B After Width: | Height: | Size: 312 B |
|
Before Width: | Height: | Size: 202 B After Width: | Height: | Size: 202 B |
|
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 33 KiB |