Skip to content
Snippets Groups Projects
Commit a092761c authored by alexisben's avatar alexisben
Browse files

Merge branch 'main' of github.com:noesya/osuny-hugo-theme-aaa

parents b01a43ba 8dd8e973
No related branches found
No related tags found
No related merge requests found
......@@ -18,7 +18,7 @@
aspect-ratio: 16/9
object-fit: cover
width: 100%
h2, h3, h4, h5, h6
.page-title
@include h3
a
@include stretched-link(before)
......
......@@ -2,7 +2,10 @@
{{ $show_images := .show_images }}
{{ $image_class := "" }}
{{ $heading_level := .heading_level | default 3 }}
{{ $heading_tag := partial "GetHeadingTag" $heading_level }}
{{ $heading_tag := partial "GetHeadingTag" (dict
"level" $heading_level
"attributes" "class='page-title'"
)}}
<div class="grid">
{{ range .pages }}
......
{{ $show_descriptions := .show_descriptions }}
{{ $show_images := .show_images }}
{{ $heading_level := .heading_level | default 3 }}
{{ $heading_tag := partial "GetHeadingTag" $heading_level }}
{{ $heading_tag := partial "GetHeadingTag" (dict
"level" $heading_level
"attributes" "class='page-title'"
)}}
<div class="cards">
{{ range .pages }}
{{ $page := site.GetPage .file }}
......
{{ $show_descriptions := .show_descriptions }}
{{ $show_images := .show_images }}
{{ $heading_level := .heading_level | default 3 }}
{{ $heading_tag := partial "GetHeadingTag" $heading_level }}
{{ $heading_tag := partial "GetHeadingTag" (dict
"level" $heading_level
"attributes" "class='page-title'"
)}}
<div class="grid">
{{ range .pages }}
{{- $file := false -}}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment