Final launch tweaks
Some checks are pending
Deploy to Netlify / Deploy Hugo site to Netlify (push) Waiting to run
Some checks are pending
Deploy to Netlify / Deploy Hugo site to Netlify (push) Waiting to run
This commit is contained in:
@ -25,14 +25,16 @@
|
||||
<section class="w-100 mw8">
|
||||
{{/* Range through the first $n_posts items of the section */}}
|
||||
{{ range (first $n_posts $section) }}
|
||||
{{ if ne .Title "About" }}
|
||||
<div class="relative w-100 mb4">
|
||||
{{ .Render "summary-with-image" }}
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</section>
|
||||
|
||||
{{ if ge $section_count (add $n_posts 1) }}
|
||||
<section class="w-100">
|
||||
<!-- <section class="w-100">
|
||||
<h1 class="f3">{{ i18n "more" }}</h1>
|
||||
{{/* Now, range through the next four after the initial $n_posts items. Nest the requirements, "after" then "first" on the outside */}}
|
||||
{{ range (first 4 (after $n_posts $section)) }}
|
||||
@ -41,13 +43,13 @@
|
||||
{{ .Title }}
|
||||
</a>
|
||||
</h2>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
{{/* As above, Use $section_name to get the section title, and URL. Use "with" to only show it if it exists */}}
|
||||
{{ with .Site.GetPage "section" $section_name }}
|
||||
<a href="{{ .RelPermalink }}" class="link db f6 pa2 br3 bg-mid-gray white dim w4 tc">{{ i18n "allTitle" . }}</a>
|
||||
{{ end }}
|
||||
</section>
|
||||
</section> -->
|
||||
{{ end }}
|
||||
|
||||
</div>
|
||||
|
@ -1,10 +1,10 @@
|
||||
<nav class="pv3 ph3 ph4-ns" role="navigation">
|
||||
<div class="flex-l justify-between items-center center">
|
||||
<a href="{{ .Site.Home.RelPermalink }}" class="f3 fw2 hover-white no-underline white-90 dib">
|
||||
<a href="{{ .Site.Home.RelPermalink }}" class="f3 fw2 hover-white no-underline white-90 dib"> <b>Home</b>
|
||||
{{ with .Site.Params.site_logo }}
|
||||
<img src="{{ relURL . }}" class="w100 mw5-ns" alt="{{ $.Site.Title }}" />
|
||||
{{ else }}
|
||||
{{ .Site.Title }}
|
||||
<!--{{ .Site.Title }}-->
|
||||
{{ end }}
|
||||
</a>
|
||||
<div class="flex-l items-center">
|
||||
@ -18,6 +18,9 @@
|
||||
</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
<li class="list f5 f4-ns fw4 dib {{ cond (eq $.Site.Language.LanguageDirection "rtl") "pl3" "pr3" }}">
|
||||
<a class="hover-white no-underline white-90" href="https://www.bonfire.com/new-beginnings-community-operations/" target="_blank" rel="noreferrer noopener" title="Fundraising">Fundraising</a>
|
||||
</li>
|
||||
</ul>
|
||||
{{ end }}
|
||||
{{ partialCached "social-follow.html" . }}
|
||||
|
Reference in New Issue
Block a user