initial commit
This commit is contained in:
commit
6ccdb684ec
11 changed files with 496 additions and 0 deletions
27
templates/base.html
Normal file
27
templates/base.html
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
<html>
|
||||
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<title>
|
||||
Rochester Food Not Bombs
|
||||
</title>
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Teko:wght@300..700&display=swap" rel="stylesheet">
|
||||
<script>
|
||||
function start_animation() {
|
||||
var element = document.getElementById("biglogo")
|
||||
element.style.animation = 'none';
|
||||
element.offsetHeight;
|
||||
element.style.animation = null;
|
||||
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
{% block content %}
|
||||
{% endblock %}
|
||||
</body>
|
||||
|
||||
</html>
|
||||
14
templates/blog_template.html
Normal file
14
templates/blog_template.html
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{% extends "base.html" %}
|
||||
{% block content %}
|
||||
<h1>Blog not bombs ;)</h1>
|
||||
<div class="flex-container">
|
||||
{% for post in posts %}
|
||||
<div class="post-container fancy-border">
|
||||
<a href="posts/{{ post['timestamp'] }}.html">
|
||||
<img src="{{ post['pictures'][0] }}" width="200rem" alt="post image from {{ post['datetime'] }}">
|
||||
<p>{{ post['datetime'] }}</p>
|
||||
</a>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
53
templates/index.html
Normal file
53
templates/index.html
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
{% extends "base.html" %}
|
||||
{% block content %}
|
||||
<img id="biglogo" class="spinny" onclick="start_animation()" src="assets/logo.png" alt="logo">
|
||||
<h1>Rochester Food Not Bombs!</h1>
|
||||
Solidarity not charity: From Rochester, New York.
|
||||
<p>Free hot meals are served every Saturday at 6:30PM in front of the <a
|
||||
href="https://maps.app.goo.gl/gDNseCg1RQyeLKXF8">RTS Transit Center on St. Paul. </a></p>
|
||||
<p>Help us cook every Saturday at 4PM at the <a href="http://thesquirrel.org/">Flying Squirrel Community Space.</a>
|
||||
</p>
|
||||
<div class="flex-container">
|
||||
|
||||
<div id="resources-box" class="fancy-border">
|
||||
<h2>Quick resources</h2>
|
||||
<ul id="resources-list">
|
||||
<li><a href="https://docs.google.com/document/d/1UcoQ984Qwq22aR8YgyVk76VepxxFZM1QNllVeaHzWIs/edit?tab=t.0">List
|
||||
of food stands</a></li>
|
||||
<li><a href="https://docs.google.com/document/d/1UcoQ984Qwq22aR8YgyVk76VepxxFZM1QNllVeaHzWIs/edit?tab=t.0">List
|
||||
of free food stands</a></li>
|
||||
<li><a
|
||||
href="https://www.google.com/maps/d/u/0/viewer?ll=43.19335689697014%2C-77.66649769973144&z=12&mid=1hGQ70VxoHncH6ardfHs6uh3HcrCp7iI">Map
|
||||
of free food stands</a></li>
|
||||
<li>Venmo: @rocfoodnotbombs</li>
|
||||
<li>Email: <a href="mailto:RocFoodNotBombs@proton.me">RocFoodNotBombs@proton.me</a></li>
|
||||
<li>Instagram: <a href="https://www.instagram.com/rocfnb/">@rocfnb</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div id="blurb" class="fancy-border">
|
||||
<p>Rochester Food Not Bombs recovers resources to create free vegetarian and vegan meals in our local
|
||||
community.
|
||||
We
|
||||
are a decentralized all-volunteer run group, with no hierarchy or formal leaders, making decisions based
|
||||
on
|
||||
consensus. </p>
|
||||
<p>
|
||||
We recognize poverty as a form of violence, and think access to food should be viewed as a right, rather
|
||||
than a
|
||||
privilege. In this practice, we strive to reduce waste by turning donated food into productive meals. We
|
||||
source
|
||||
food from vendors at the Public Market, as well as relying on donations. Food should be a source of
|
||||
nutrition
|
||||
for
|
||||
people, not profit under capitalism. Through Community organizing and outreach, we support other local
|
||||
and
|
||||
national peace and justice groups to create a broader sense of social responsibility -- If you would
|
||||
like to
|
||||
get
|
||||
involved, please reach out to us!
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<h2><a href="blog.html">See what we're up to :-)</a></h1>
|
||||
{% endblock %}
|
||||
16
templates/post.html
Normal file
16
templates/post.html
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{% extends "base.html" %}
|
||||
{% block content %}
|
||||
<h1>{{ post['datetime'] }}</h1>
|
||||
{% for paragraph in post['caption'].split('\n') %}
|
||||
<p>{{ paragraph }}</p>
|
||||
{% endfor %}
|
||||
<ul>
|
||||
{% for picture in post['pictures'] %}
|
||||
<li>
|
||||
<img src="../{{ picture }}" width="400rem">
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
|
||||
{% endblock %}
|
||||
10
templates/rss.xml
Normal file
10
templates/rss.xml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<rss version="2.0">
|
||||
<channel>
|
||||
<title>Rochester Food Not Bombs</title>
|
||||
<link>https://rocfoodnotbombs.com/blog.html</link>
|
||||
<description>
|
||||
Updates on the Rochester Food not Bombs chapter, automatically mirrored from Instagram.
|
||||
</description>
|
||||
<language>en-us</language>
|
||||
<lastBuildDate>{{ date }}</lastBuildDate>
|
||||
{% for %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue