diff options
| author | Serghei Iakovlev <egrep@protonmail.ch> | 2022-05-01 11:56:29 +0200 |
|---|---|---|
| committer | Serghei Iakovlev <egrep@protonmail.ch> | 2022-05-01 11:56:29 +0200 |
| commit | 4c3f5c2b8c890be8798d1bf25205d8249fe8faec (patch) | |
| tree | c8ca654c9e87420b565a2ba976e0a0adfbc8775f /layouts/index.html | |
| parent | a135e9bc110cb3337101e7e9d6d29c391430b0fc (diff) | |
| download | gohugo-theme-ed-4c3f5c2b8c890be8798d1bf25205d8249fe8faec.tar.gz | |
Use site function instead of .Site or $.Site
Diffstat (limited to 'layouts/index.html')
| -rw-r--r-- | layouts/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/index.html b/layouts/index.html index 16d16c7..e051c4d 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -9,7 +9,7 @@ <div class="toc"> <h2>Latest Publications</h2> <ul class="texts"> - {{ range first 10 (where .Site.RegularPages "Section" "!=" "" ) }} + {{ range first 10 (where site.RegularPages "Section" "!=" "" ) }} <li class="text-title"> <a href="{{ .Permalink }}">{{ .Title }}</a> </li> |
