Skip to content

Commit 1b3cf73

Browse files
committed
Ready for public tests
1 parent 21024a2 commit 1b3cf73

7 files changed

Lines changed: 72 additions & 0 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
*.swp
22
*.lock
3+
resources/

content/about/_index.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
title: "About Salt Lake City Python"
3+
---
4+
5+
SLCPython was started as an idea in the back of Sugar House Coffee.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
title: "July 2023"
3+
date: 2023-07-12T13:41:16-06:00
4+
draft: false
5+
---
6+
7+
# July 2023
8+
9+
[RSVP on meetup.com](https://www.meetup.com/slcpython/events/ptpwwsyfckbhb/)
10+
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
image: "meetup-photo.jpg"
3+
title: "2023 07 12 Meetup"
4+
date: 2023-07-12T13:46:35-06:00
5+
draft: true
6+
---
7+
8+
# June meetup photo
9+
4.57 MB
Loading

layouts/index.html

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{{ define "main" }}
2+
3+
<h1>About</h1>
4+
5+
<p>
6+
SLCPython is a collective of intrepid Pythonistas in the Salt Lake City Valley seeking to better Utah through technology &amp; education.<a href="about/">(more)</a> <a href="https://www.meetup.com/slcpython/" target="_blank">(meetup)</a>
7+
</p>
8+
<br/>
9+
10+
<h1>Meetups</h1>
11+
12+
<div class="posts-list">
13+
{{ with .Site.GetPage "/events" }}
14+
{{ range first 3 (sort .Data.Pages "Date" "desc" (where .Pages ".Params.private" "!=" true))}}
15+
<div class="post">
16+
<p>
17+
<div class="date">{{ .PublishDate.Format "Jan. 2, 2006" }}</div>
18+
<h1><a href="{{ .Permalink }}" title="{{ .Title }}">{{ .Title }}</a></h1>
19+
{{ .Summary }}
20+
</p>
21+
</div>
22+
{{ end }}
23+
{{ end }}
24+
</div>
25+
26+
{{ if .Site.GetPage "/photos" }}
27+
<h1>Latest photos</h1>
28+
29+
<div class="image-grid">
30+
{{ with .Site.GetPage "/photos" }}
31+
{{ range first 3 (sort .Data.Pages "Date" "desc")}}
32+
<a href="{{ .Permalink }}" title="{{ .Title }}">
33+
{{ $image := .Page.Resources.GetMatch .Params.image }}
34+
{{ with $image }}
35+
{{ $thumb := .Resize "400x" }}
36+
<img src="{{ $thumb.RelPermalink }}" alt="{{ .Title }}" class="img-responsive">
37+
{{end}}
38+
</a>
39+
{{ end }}
40+
{{ end }}
41+
</div>
42+
{{ end }}
43+
44+
{{ end }}

layouts/partials/footer.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<div class="footer">
2+
Developed by <a href="https://github.com/SLCPython/slcpython.com.hugo">Pythonistas like you</a>. Thank You. Feel free to make Pull Requests!
3+
</div>

0 commit comments

Comments
 (0)