-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathevent.html
More file actions
83 lines (83 loc) · 5.53 KB
/
Copy pathevent.html
File metadata and controls
83 lines (83 loc) · 5.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<article class="post type-post status-publish format-standard has-post-thumbnail hentry category-art category-editing tag-block tag-editor tag-gutenberg tag-wordpress pt-40 pb-40">
<header class="has-text-align-center pb-30">
<div class="entry-header-inner section-inner medium">
<div class="entry-categories">
<span class="screen-reader-text">Categories</span>
<div class="entry-categories-inner">
{{ range .Params.Categories }}
<a href="{{ `categories/` | relLangURL }}{{ . | urlize | lower }}" rel="category tag">{{ . | humanize }}</a>
{{ end }}
</div>
</div>
<h3 class="entry-title mt-30"><a href="{{ .Permalink }}">{{ .Title }}</a></h3>
<div class="post-meta-wrapper post-meta-single post-meta-single-top">
<ul class="post-meta">
<li class="post-date meta-wrapper">
<span class="meta-icon">
<span class="screen-reader-text">Post date</span>
<svg class="svg-icon" aria-hidden="true" role="img" focusable="false" xmlns="http://www.w3.org/2000/svg"
width="18" height="19" viewbox="0 0 18 19">
<path fill=""
d="M4.60069444,4.09375 L3.25,4.09375 C2.47334957,4.09375 1.84375,4.72334957 1.84375,5.5 L1.84375,7.26736111 L16.15625,7.26736111 L16.15625,5.5 C16.15625,4.72334957 15.5266504,4.09375 14.75,4.09375 L13.3993056,4.09375 L13.3993056,4.55555556 C13.3993056,5.02154581 13.0215458,5.39930556 12.5555556,5.39930556 C12.0895653,5.39930556 11.7118056,5.02154581 11.7118056,4.55555556 L11.7118056,4.09375 L6.28819444,4.09375 L6.28819444,4.55555556 C6.28819444,5.02154581 5.9104347,5.39930556 5.44444444,5.39930556 C4.97845419,5.39930556 4.60069444,5.02154581 4.60069444,4.55555556 L4.60069444,4.09375 Z M6.28819444,2.40625 L11.7118056,2.40625 L11.7118056,1 C11.7118056,0.534009742 12.0895653,0.15625 12.5555556,0.15625 C13.0215458,0.15625 13.3993056,0.534009742 13.3993056,1 L13.3993056,2.40625 L14.75,2.40625 C16.4586309,2.40625 17.84375,3.79136906 17.84375,5.5 L17.84375,15.875 C17.84375,17.5836309 16.4586309,18.96875 14.75,18.96875 L3.25,18.96875 C1.54136906,18.96875 0.15625,17.5836309 0.15625,15.875 L0.15625,5.5 C0.15625,3.79136906 1.54136906,2.40625 3.25,2.40625 L4.60069444,2.40625 L4.60069444,1 C4.60069444,0.534009742 4.97845419,0.15625 5.44444444,0.15625 C5.9104347,0.15625 6.28819444,0.534009742 6.28819444,1 L6.28819444,2.40625 Z M1.84375,8.95486111 L1.84375,15.875 C1.84375,16.6516504 2.47334957,17.28125 3.25,17.28125 L14.75,17.28125 C15.5266504,17.28125 16.15625,16.6516504 16.15625,15.875 L16.15625,8.95486111 L1.84375,8.95486111 Z" />
</svg> </span>
<span class="meta-text">
{{ .Date.Format "Jan 02 2006, 15:04 MST"}}
</span>
</li>
</ul>
</div><!-- .post-meta-wrapper -->
{{ if ge .Date.Unix now.Unix }}
<h6 class="upcoming mt-0">
<i class="fa fa-meetup"></i>
Upcoming Event!
</h6>
{{ end }}
</div><!-- .entry-header-inner -->
</header><!-- .entry-header -->
{{if .Params.Path }}
<figure>
{{ $path := .Params.Path }}
{{ $filepath := printf "/static%s" $path }}
{{- $files := readDir $filepath }}
<div class="slideshow featured-media-event section-inner medium">
{{- range $files -}}
{{ if ne .Name ".DS_Store" }}
{{- $absoluteUrl := print $path "/" .Name | absURL }}
<img src="{{ $absoluteUrl | absURL }}" width="1000" height="769">
{{ end }}
{{- end }}
</div><!-- .featured-media-event -->
</figure>
{{end}}
<div class="post-inner thin pt-30">
<div class="entry-content summary">
<p>{{ .Summary }}</p>
<div class="wp-block-button is-style-outline">
<a href="{{.Permalink}}" class="wp-block-button__link">READ MORE</a>
{{ if and (ge .Date.Unix now.Unix) (.Params.Registration) }}
<a class="wp-block-button__link" href="{{ .Params.Registration }}" target="_blank">Register</a>
{{ end }}
</div>
</div><!-- .entry-content -->
</div><!-- .post-inner -->
<div class="section-inner">
<div class="post-meta-wrapper post-meta-single post-meta-single-bottom">
<ul class="post-meta">
<li class="post-tags meta-wrapper">
<span class="meta-icon">
<span class="screen-reader-text">Tags</span>
<svg class="svg-icon" aria-hidden="true" role="img" focusable="false" xmlns="http://www.w3.org/2000/svg"
width="18" height="18" viewBox="0 0 18 18">
<path fill=""
d="M15.4496399,8.42490555 L8.66109799,1.63636364 L1.63636364,1.63636364 L1.63636364,8.66081885 L8.42522727,15.44178 C8.57869221,15.5954158 8.78693789,15.6817418 9.00409091,15.6817418 C9.22124393,15.6817418 9.42948961,15.5954158 9.58327627,15.4414581 L15.4486339,9.57610048 C15.7651495,9.25692435 15.7649133,8.74206554 15.4496399,8.42490555 Z M16.6084423,10.7304545 L10.7406818,16.59822 C10.280287,17.0591273 9.65554997,17.3181054 9.00409091,17.3181054 C8.35263185,17.3181054 7.72789481,17.0591273 7.26815877,16.5988788 L0.239976954,9.57887876 C0.0863319284,9.4254126 0,9.21716044 0,9 L0,0.818181818 C0,0.366312477 0.366312477,0 0.818181818,0 L9,0 C9.21699531,0 9.42510306,0.0862010512 9.57854191,0.239639906 L16.6084423,7.26954545 C17.5601275,8.22691012 17.5601275,9.77308988 16.6084423,10.7304545 Z M5,6 C4.44771525,6 4,5.55228475 4,5 C4,4.44771525 4.44771525,4 5,4 C5.55228475,4 6,4.44771525 6,5 C6,5.55228475 5.55228475,6 5,6 Z">
</path>
</svg> </span>
<span class="meta-text">
{{ range $i,$p:= .Params.Tags }}{{if ne $i 0}},{{end}}
<a href="{{ `tags/` | relLangURL }}{{ . | urlize | lower }}" rel="tag">{{ . | humanize }}</a>
{{end}}</span>
</li>
</ul><!-- .post-meta -->
</div><!-- .post-meta-wrapper -->
</div><!-- .section-inner -->
</article>