Skip to content

Commit c958ad5

Browse files
redfrobrongodfrey
and
ngodfrey
authored
about page (#698)
* fixed css link * fixed js link * fixed js link added About page --------- Co-authored-by: ngodfrey <[email protected]>
1 parent 02d79ce commit c958ad5

File tree

9 files changed

+28
-21
lines changed

9 files changed

+28
-21
lines changed

_articles/es/index.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ <h3 class="pico-color-pumpkin-50">Amplíe su alcance</h3>
2323
<p class="pico-color-pumpkin-50">Existen grandes programas. Nuestro objetivo es ayudar a que esos programas se conviertan en nuestras comunidades locales.</p>
2424
<p><a class="contrast" href="/es/about/">Aprende Más</a></p>
2525
</article>
26-
<article class="pico-background-zinc-800"
27-
">
26+
<article class="pico-background-zinc-800">
2827
<h3 class="pico-color-pumpkin-50">¡Dilo en voz alta!</h3>
2928
<p class="pico-color-pumpkin-50">Nuestra pila y nuestras decisiones son de código abierto por defecto y compartimos lo que estamos haciendo de la forma más alta y frecuente posible.</p>
3029
<p><a class="contrast" href="/es/about/">Aprende Más</a></p>

_layouts/_includes/footer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ <h3>About us</h3>
1010
<div class="footer-col">
1111
<h3>Quick link</h3>
1212
<ul>
13-
<li><a href="/about/">About Us</a></li>
13+
<li><a href="/about.html">About Us</a></li>
1414
<li><a href="/event/">Events</a></li>
1515
<li><a href="/community/">Community</a></li>
1616
<li><a href="/support/">Support</a></li>

_layouts/default.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
{{ content }}
2424
</main>
2525
{%- include '_includes/footer.html' -%}
26-
<script src="/assets/js/index.js"></script>
26+
<script src="/assets/js/jquery.min.js"></script>
27+
<script src="/assets/js/bpd.js"></script>
2728
<script src="https://kit.fontawesome.com/1bbe56de49.js" crossorigin="anonymous"></script>
2829
</body>
2930
</html>

_layouts/event.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!doctype html>
2-
<html lang="{{ page.lang | default: site.lang | default: "en" }}">
2+
<html lang="{{ page.lang | default: site.lang | default: 'en' }}">
33
<head>
44
<meta charset="UTF-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1" />

app.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,9 @@ class Index(Page):
2020
template = "index.html"
2121
current = "nav-current"
2222
content_path = "index.html"
23+
24+
25+
@app.page
26+
class About(Page):
27+
content_path = "pages/about.html"
28+
template = "default.html"

index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,22 @@ <h2>Our Mission</h2>
99
<article class="pico-background-sand-100">
1010
<h3>Secure the bag</h3>
1111
<p>Establish guidance, mentorship, and career support for <em>Black Python Devs</em> Members</p>
12-
<p><a class="contrast" href="/about">Learn More</a></p>
12+
<p><a class="contrast" href="/about.html">Learn More</a></p>
1313
</article>
1414
<article class="pico-background-pumpkin-650">
1515
<h3 class="pico-color-pumpkin-50">Diversity By Inclusion</h3>
1616
<p class="pico-color-pumpkin-50">We encourage members to get involved beyond participation. Members can become maintainers, maintainers become leaders.</p>
17-
<p><a class="contrast" href="/about">Learn More</a></p>
17+
<p><a class="contrast" href="/about.html">Learn More</a></p>
1818
</article>
1919
<article class="pico-background-pumpkin-800">
2020
<h3 class="pico-color-pumpkin-50">Extend their reach</h3>
2121
<p class="pico-color-pumpkin-50">Great programs exist. Our goal is to help those programs make it our local communities.</p>
22-
<p><a class="contrast" href="/about">Learn More</a></p>
22+
<p><a class="contrast" href="/about.html">Learn More</a></p>
2323
</article>
2424
<article class="pico-background-zinc-800">
2525
<h3 class="pico-color-pumpkin-50">Say it loud!</h3>
2626
<p class="pico-color-pumpkin-50">Our stack and our decisions are open source by default and we share what we're doing as loudly and often as possible.</p>
27-
<p><a class="contrast" href="/about">Learn More</a></p>
27+
<p><a class="contrast" href="/about.html">Learn More</a></p>
2828
</article>
2929
</div>
3030

output/home.html

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,22 @@ <h2>Our Mission</h2>
33
<article class="pico-background-sand-100">
44
<h3>Secure the bag</h3>
55
<p>Establish guidance, mentorship, and career support for <em>Black Python Devs</em> Members</p>
6-
<p><a class="contrast" href="/about">Learn More</a></p>
6+
<p><a class="contrast" href="//about.html">Learn More</a></p>
77
</article>
88
<article class="pico-background-pumpkin-650">
99
<h3 class="pico-color-pumpkin-50">Diversity By Inclusion</h3>
1010
<p class="pico-color-pumpkin-50">We encourage members to get involved beyond participation. Members can become maintainers, maintainers become leaders.</p>
11-
<p><a class="contrast" href="/about">Learn More</a></p>
11+
<p><a class="contrast" href="/about.html">Learn More</a></p>
1212
</article>
1313
<article class="pico-background-pumpkin-800">
1414
<h3 class="pico-color-pumpkin-50">Extend their reach</h3>
1515
<p class="pico-color-pumpkin-50">Great programs exist. Our goal is to help those programs make it our local communities.</p>
16-
<p><a class="contrast" href="/about">Learn More</a></p>
16+
<p><a class="contrast" href="/about.html">Learn More</a></p>
1717
</article>
18-
<article class="pico-background-zinc-800"
19-
">
18+
<article class="pico-background-zinc-800">
2019
<h3 class="pico-color-pumpkin-50">Say it loud!</h3>
2120
<p class="pico-color-pumpkin-50">Our stack and our decisions are open source by default and we share what we're doing as loudly and often as possible.</p>
22-
<p><a class="contrast" href="/about">Learn More</a></p>
21+
<p><a class="contrast" href="/about.html">Learn More</a></p>
2322
</article>
2423
</div>
2524

output/index.html

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,22 +36,22 @@ <h2>Our Mission</h2>
3636
<article class="pico-background-sand-100">
3737
<h3>Secure the bag</h3>
3838
<p>Establish guidance, mentorship, and career support for <em>Black Python Devs</em> Members</p>
39-
<p><a class="contrast" href="/about">Learn More</a></p>
39+
<p><a class="contrast" href="/about.html">Learn More</a></p>
4040
</article>
4141
<article class="pico-background-pumpkin-650">
4242
<h3 class="pico-color-pumpkin-50">Diversity By Inclusion</h3>
4343
<p class="pico-color-pumpkin-50">We encourage members to get involved beyond participation. Members can become maintainers, maintainers become leaders.</p>
44-
<p><a class="contrast" href="/about">Learn More</a></p>
44+
<p><a class="contrast" href="/about.html">Learn More</a></p>
4545
</article>
4646
<article class="pico-background-pumpkin-800">
4747
<h3 class="pico-color-pumpkin-50">Extend their reach</h3>
4848
<p class="pico-color-pumpkin-50">Great programs exist. Our goal is to help those programs make it our local communities.</p>
49-
<p><a class="contrast" href="/about">Learn More</a></p>
49+
<p><a class="contrast" href="/about.html">Learn More</a></p>
5050
</article>
5151
<article class="pico-background-zinc-800">
5252
<h3 class="pico-color-pumpkin-50">Say it loud!</h3>
5353
<p class="pico-color-pumpkin-50">Our stack and our decisions are open source by default and we share what we're doing as loudly and often as possible.</p>
54-
<p><a class="contrast" href="/about">Learn More</a></p>
54+
<p><a class="contrast" href="/about.html">Learn More</a></p>
5555
</article>
5656
</div>
5757

@@ -68,7 +68,7 @@ <h3>About us</h3>
6868
<div class="footer-col">
6969
<h3>Quick link</h3>
7070
<ul>
71-
<li><a href="/about/">About Us</a></li>
71+
<li><a href="/about.html">About Us</a></li>
7272
<li><a href="/event/">Events</a></li>
7373
<li><a href="/community/">Community</a></li>
7474
<li><a href="/support/">Support</a></li>
@@ -87,7 +87,8 @@ <h3>Contact Us</h3>
8787
<small>&copy; now </small>
8888
</div>
8989
</div>
90-
</footer><script src="/assets/js/index.js"></script>
90+
</footer><script src="/assets/js/jquery.min.js"></script>
91+
<script src="/assets/js/bpd.js"></script>
9192
<script src="https://kit.fontawesome.com/1bbe56de49.js" crossorigin="anonymous"></script>
9293
</body>
9394
</html>

about.html renamed to pages/about.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
layout: default
33
lang: en
44
title: About Us
5+
slug: about
56
---
67

78
<section>

0 commit comments

Comments
 (0)