mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 10:18:40 +00:00
Update introduction.md
This commit is contained in:
1 parent
30b060dff7
commit
cb5608dbfe
1 file changed
+1
-1
@@ -613,7 +613,7 @@ Go allows you to do more than what's shown here. Using Hugo's [`where` function]
|
|||||||
<h4>Upcoming Events</h4>
|
<h4>Upcoming Events</h4>
|
||||||
<ul class="upcoming-events">
|
<ul class="upcoming-events">
|
||||||
{{ range where .Pages.ByDate "Section" "events" }}
|
{{ range where .Pages.ByDate "Section" "events" }}
|
||||||
{{ if ge .Date.Unix .Now.Unix }}
|
{{ if ge .Date.Unix now.Unix }}
|
||||||
<li>
|
<li>
|
||||||
<!-- add span for event type -->
|
<!-- add span for event type -->
|
||||||
<span>{{ .Type | title }} —</span>
|
<span>{{ .Type | title }} —</span>
|
||||||
|
|||||||
Reference in new issue
Block a user