on master help sign in
adding meetups, fixing /community pagination
commit1ee8734b954ed87de8d1e11aeb6b74c45610c1bf authorMatilde Park <matilde@tlon.io> dateSun 8 Dec 2019, 00:09 (7 years ago) parent3dd3c64
5 files changed+21−8
content/community/governance.md+2 content/community/hoonschool.md+3 content/community/hosting-a-meetup.md+4 content/community/meetups.md+6−2 templates/partials/pagination.html+6−6
content/community/governance.md+2
@@ -5,6 +5,8 @@ aliases = ["/governance"]
55weight = 3
66[extra]
77hidetitle = "true"
8+hideprevious = "true"
9+hidenext = "true"
810+++
911
1012Our goal is to design Urbit simply, such that as many decisions as possible are made by the architecture of the system itself – that is, code should be law whenever possible. Code can’t anticipate every eventuality, however, and so the system design must include mechanisms that allow decisions to be made outside of the code.
content/community/hoonschool.md+3
@@ -3,6 +3,9 @@ title = "Hoon School"
33description = "A free, instructed, asynchronous program to learn Hoon with peers."
44weight = 0
55aliases = ["/hoonschool"]
6+[extra]
7+hideprevious = "true"
8+hidenext = "true"
69+++
710
811Interested in developing on Urbit? You’ll want to learn [Hoon](https://urbit.org/docs/tutorials/hoon/), a functional programming language that’s custom-designed for use with Arvo, the Urbit operating system.
content/community/hosting-a-meetup.md+4
@@ -2,6 +2,10 @@
22title = "Hosting a Meetup"
33description = "Best practices for hosting your Urbit meetups."
44weight = 2
5+[extra]
6+flatten_pagination = "true"
7+hidenext = "true"
8+hide_previous_title = "true"
59+++
610
711There are already [a few](../meetups) Urbit meetups that take place in cities around the United States. Want to start a meetup in your home town? Consider these best practices.
content/community/meetups.md+6−2
@@ -4,12 +4,14 @@ aliases = ["/meetups"]
44description = "Information on Urbit meetups and other community-led, Urbit IRL groups."
55weight = 1
66[extra]
7−hidetitle = "true"
7+flatten_pagination = "true"
8+hideprevious = "true"
9+hide_next_title = "true"
810+++
911
1012<picture>
1113<source src="https://media.urbit.org/site/meetup.jpg">
12−<img src="https://media.urbit.org/site/meetup.jpg"/>
14+<img class="mt4" src="https://media.urbit.org/site/meetup.jpg"/>
1315</picture>
1416
1517Turns out that getting Urbit fans together in one room is pretty fun. Here's an incomplete list of community-led Urbit IRL groups. These events are generally informal and very approachable – feel free to dive in.
@@ -19,7 +21,9 @@ Interested in hosting an Urbit event of your own? Follow our [guide to meetup be
1921
2022Location | Contact information
2123:------------ | :-------------
24+Phoenix, AZ | [Twitter](https://twitter.com/UrbitPHX)
2225San Francisco, CA | [Meetup.com](https://www.meetup.com/urbit-sf/)
2326New York, NY | [Meetup.com](https://www.meetup.com/Urbit-New-York/)
2427Austin, TX | [Meetup.com](https://www.meetup.com/Urbit-Austin/)
28+Denton, TX | [Twitter](https://twitter.com/UrbitDFW)
2529Seattle, WA | [Meetup.com](https://www.meetup.com/urbit-seattle/)
templates/partials/pagination.html+6−6
@@ -1,6 +1,6 @@
1−<footer class="relative mt4">{% if page.earlier %}
1+<footer class="relative mt4 mb4">{% if page.earlier %}
22 <a class="bb-0" href="{{page.earlier.permalink}}">
3− <nav class="previous absolute right-1 t-right">
3+ <nav class="previous absolute right-1 t-right mb4">
44 {% if page.extra.hide_previous_title %} {% else %}<p class="mb0 f5">Previous Post:</p>{% endif %}
55 <p {% if page.extra.flatten_pagination %}
66 data-flat="true"
@@ -16,7 +16,7 @@
1616 {% elif page.heavier and not page.extra.hidenext %}
1717
1818 <a class="bb-0" href="{{page.heavier.permalink}}">
19− <nav class="previous absolute right-1 t-right">
19+ <nav class="previous absolute right-1 t-right mb4">
2020 {% if page.extra.hide_next_title %} {% else %}<p class="mb0 f5">Next Post:</p>{% endif %}
2121 <p {% if page.extra.flatten_pagination %}
2222 data-flat="true"
@@ -31,7 +31,7 @@
3131
3232 {% if page.relative_path == "understanding-urbit/simple-durable-yours.md" %}
3333 <a class="bb-0" href="/understanding-urbit/">
34− <nav class="next absolute left-1 t-left">
34+ <nav class="next absolute left-1 t-left mb4">
3535 <p {% if page.extra.flatten_pagination %}
3636 data-flat="true"
3737 class="mt5 mb6
@@ -44,7 +44,7 @@
4444 {% elif page.later %}
4545
4646 <a class="bb-0" href="{{page.later.permalink}}">
47− <nav class="next absolute left-1">
47+ <nav class="next absolute left-1 mb4">
4848 {% if page.extra.hide_next_title %} {% else %}<p class="mb0 f5">Next Post:</p>{% endif %}
4949 <p {% if page.extra.flatten_pagination %}
5050 data-flat="true"
@@ -61,7 +61,7 @@
6161 {% elif page.lighter and not page.extra.hideprevious %}
6262
6363 <a class="bb-0" href="{{page.lighter.permalink}}">
64− <nav class="next absolute left-1">
64+ <nav class="next absolute left-1 mb4">
6565 {% if page.extra.hide_previous_title %} {% else %}<p class="mb0 f5">Previous Post:</p>{% endif %}
6666 <p {% if page.extra.flatten_pagination %}
6767 data-flat="true"