Added community and showcase header

This commit is contained in:
Armin Ronacher 2015-12-29 20:01:17 +01:00
parent 05cdd82c9b
commit 98cd036c72
5 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,28 @@
_model: page
---
title: Community
---
body:
#### banner ####
image: header.jpg
#### text-block ####
text:
Working with Lektor is more fun when you can ask questions to other users.
Because the project is so new there are not that many channels for it yet.
Here is where you can find other Lektor users:
* [Find us on Stack Overflow](http://stackoverflow.com/questions/tagged/lektor)
* [Ask us a question on Stack Overflow](http://stackoverflow.com/questions/ask?tags=lektor)
* [Chat with us on Gitter](gitter/)
Want to get in contact with us otherwise?
* [Reach us via Twitter at @getlektor](https://twitter.com/getlektor)
## Chat with Us
<iframe src="https://gitter.im/lektor/lektor/~embed" style="width: 100%; height: 500px; border: 1px solid #eee"></iframe>
----
class: default

Binary file not shown.

After

Width:  |  Height:  |  Size: 236 KiB

BIN
content/showcase/header.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 289 KiB

View File

@ -10,6 +10,10 @@ label = Documentation
path = /showcase path = /showcase
label = Showcase label = Showcase
[community]
path = /community
label = Community
[blog] [blog]
path = /blog path = /blog
label = Blog label = Blog

View File

@ -1,5 +1,12 @@
{% extends "layout.html" %} {% extends "layout.html" %}
{% block title %}Showcase{% endblock %} {% block title %}Showcase{% endblock %}
{% block outerbody %}
{% set image = site.get('/showcase').attachments.images.first() %}
{% if image %}
<div class="page-banner page-banner-300" style="background-image: url({{ image|url }})"></div>
{% endif %}
{{ super() }}
{% endblock %}
{% block body %} {% block body %}
<h1>Showcase</h1> <h1>Showcase</h1>
<p> <p>