feat: use content to generate presentation section (#6)
This commit is contained in:
parent
dd76a16223
commit
ab624fef65
|
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 28 KiB |
|
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 29 KiB |
|
|
@ -0,0 +1,6 @@
|
||||||
|
- name: Aurel
|
||||||
|
presentation: Art
|
||||||
|
avatar: ./aurel.png
|
||||||
|
- name: Adrien
|
||||||
|
presentation: Dev
|
||||||
|
avatar: ./adrien.png
|
||||||
|
|
@ -0,0 +1,29 @@
|
||||||
|
### This is a markdown title
|
||||||
|
|
||||||
|
* You can
|
||||||
|
* Use
|
||||||
|
* Markdown
|
||||||
|
|
||||||
|
Welcome to the cozy world of the Frog Collective, where big dreams come in
|
||||||
|
small packages! We're not your typical gaming behemoth with a massive team and
|
||||||
|
towering office buildings. Nope, we're just two passionate souls huddled
|
||||||
|
around a couple of computers, fueled by an insatiable love for crafting little
|
||||||
|
nuggets of joy that won't break the bank.
|
||||||
|
|
||||||
|
Here we specialize in creating bite-sized adventures that anyone can pick up
|
||||||
|
and play, but only the true gaming aficionados can conquer. Think of us as the
|
||||||
|
David to the Goliaths of the gaming industry. Our games might be small, but
|
||||||
|
they will keep you coming back for more. Now, you might be wondering, how on
|
||||||
|
earth do two people manage to steer the ship in this vast ocean of pixels?
|
||||||
|
Well, let me tell you, it's all about that sweet, sweet collective
|
||||||
|
decision-making magic. We're like yin and yang, balancing each other's quirks
|
||||||
|
and strengths as we navigate the treacherous waters of game development.
|
||||||
|
|
||||||
|
Whether it's brainstorming ideas over a late-night pizza session or duking it
|
||||||
|
out over the perfect shade of blue for our protagonist's cape, every decision
|
||||||
|
is a team effort. And hey, when you've only got two heads in the game, you
|
||||||
|
learn to trust each other's instincts real quick. So, if you're tired of the
|
||||||
|
same old cookie-cutter games and fancy a little dose of indie charm, strap in
|
||||||
|
and join us on this wild ride through the pixelated cosmos. Who knows, you
|
||||||
|
might just discover your new favorite addiction in the unlikeliest of places.
|
||||||
|
Welcome to Frog Collective – where small is mighty, and fun knows no bounds!
|
||||||
2
site.py
2
site.py
|
|
@ -1 +1 @@
|
||||||
site.render('index.html.j2', 'index.html')
|
site.render('pages/index/page.html', 'index.html')
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,10 @@
|
||||||
|
<div class="section"
|
||||||
|
style="
|
||||||
|
--image:url('{{ title_image }}');
|
||||||
|
--hover-image:url('{{ title_image_over or title_image }}');
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h2 class="section--title">{{ title }}</h2>
|
||||||
|
{% block content %}{% endblock %}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
@ -50,65 +50,7 @@
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<div class="section"
|
{% include "pages/index/presentation.html" %}
|
||||||
style="
|
|
||||||
--image:url('/img/section-collective.png');
|
|
||||||
--hover-image:url('/img/section-collective-hover.png');
|
|
||||||
"
|
|
||||||
>
|
|
||||||
<h2 class="section--title">Frog Collective</h2>
|
|
||||||
<div class="section--content">
|
|
||||||
<p>
|
|
||||||
Welcome to the cozy world of the Frog Collective, where big
|
|
||||||
dreams come in small packages! We're not your typical
|
|
||||||
gaming behemoth with a massive team and towering office
|
|
||||||
buildings. Nope, we're just two passionate souls huddled
|
|
||||||
around a couple of computers, fueled by an insatiable love
|
|
||||||
for crafting little nuggets of joy that won't break the
|
|
||||||
bank.
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
Here we specialize in creating bite-sized adventures that
|
|
||||||
anyone can pick up and play, but only the true gaming
|
|
||||||
aficionados can conquer. Think of us as the David to the
|
|
||||||
Goliaths of the gaming industry. Our games might be small,
|
|
||||||
but they will keep you coming back for more. Now, you might
|
|
||||||
be wondering, how on earth do two people manage to steer
|
|
||||||
the ship in this vast ocean of pixels? Well, let me tell
|
|
||||||
you, it's all about that sweet, sweet collective
|
|
||||||
decision-making magic. We're like yin and yang, balancing
|
|
||||||
each other's quirks and strengths as we navigate the
|
|
||||||
treacherous waters of game development.
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
Whether it's brainstorming ideas over a late-night pizza
|
|
||||||
session or duking it out over the perfect shade of blue for
|
|
||||||
our protagonist's cape, every decision is a team effort.
|
|
||||||
And hey, when you've only got two heads in the game, you
|
|
||||||
learn to trust each other's instincts real quick. So, if
|
|
||||||
you're tired of the same old cookie-cutter games and fancy
|
|
||||||
a little dose of indie charm, strap in and join us on this
|
|
||||||
wild ride through the pixelated cosmos. Who knows, you
|
|
||||||
might just discover your new favorite addiction in the
|
|
||||||
unlikeliest of places. Welcome to Frog Collective – where
|
|
||||||
small is mighty, and fun knows no bounds!
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<h3>Members</h3>
|
|
||||||
<div class="members">
|
|
||||||
<div class="member">
|
|
||||||
<img class="member--avatar" src="img/aurel.png"></img>
|
|
||||||
<h4 class="member--name">Aurel</h4>
|
|
||||||
<div class="member--description">Art</div>
|
|
||||||
</div>
|
|
||||||
<div class="member">
|
|
||||||
<img class="member--avatar" src="img/adrien.png"></img>
|
|
||||||
<h4 class="member--name">Adrien</h4>
|
|
||||||
<div class="member--description">Dev</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="section"
|
<div class="section"
|
||||||
style="
|
style="
|
||||||
|
|
@ -0,0 +1,24 @@
|
||||||
|
{% set title = "Frog Collective" %}
|
||||||
|
{% set title_image = "/img/section-collective.png" %}
|
||||||
|
{% set title_image_hover = "/img/section-collective-hover.png" %}
|
||||||
|
|
||||||
|
{% extends "lib/section.html.j2" %}
|
||||||
|
|
||||||
|
{% block content %}
|
||||||
|
{% with content = site.content.load("presentation") %}
|
||||||
|
{% with presentation = content.load("presentation.md") %}
|
||||||
|
{{ presentation.html }}
|
||||||
|
{% endwith %}
|
||||||
|
|
||||||
|
<h3>Members</h3>
|
||||||
|
<div class="members">
|
||||||
|
{% for member in content.load("members.yaml") %}
|
||||||
|
<div class="member">
|
||||||
|
<img class="member--avatar" src="{{ member.avatar.as_path() | output }}"></img>
|
||||||
|
<h4 class="member--name">{{ member.name }}</h4>
|
||||||
|
<div class="member--description">{{ member.description }}</div>
|
||||||
|
</div>
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
{% endwith %}
|
||||||
|
{% endblock %}
|
||||||
Loading…
Reference in New Issue