[gimp-web/gimp-web-static] Signed-off-by: Pat David <patdavid gmail com>
- From: Pat David <patdavid src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-web/gimp-web-static] Signed-off-by: Pat David <patdavid gmail com>
- Date: Fri, 31 Jul 2015 22:17:06 +0000 (UTC)
commit d0369ccf1f62830a7f883238ac33fe11faf5b72b
Author: Pat David <patdavid gmail com>
Date: Fri Jul 31 17:16:58 2015 -0500
Signed-off-by: Pat David <patdavid gmail com>
themes/newgimp/static/css/article.css | 3 +
themes/newgimp/templates/article.html | 68 +++++++++++++++++++--------------
2 files changed, 42 insertions(+), 29 deletions(-)
---
diff --git a/themes/newgimp/static/css/article.css b/themes/newgimp/static/css/article.css
new file mode 100644
index 0000000..3e03c93
--- /dev/null
+++ b/themes/newgimp/static/css/article.css
@@ -0,0 +1,3 @@
+.entry-content {
+ text-align: left;
+}
diff --git a/themes/newgimp/templates/article.html b/themes/newgimp/templates/article.html
index 7b32f30..7c3efbb 100644
--- a/themes/newgimp/templates/article.html
+++ b/themes/newgimp/templates/article.html
@@ -14,40 +14,50 @@
<meta name="tags" content="{{tag}}" />
{% endfor %}
+ <link rel='stylesheet' type='text/css' href="{{ SITEURL }}/theme/css/article.css" />
+
{% endblock head %}
{% block content %}
<section id="content" class="body">
- <header>
- <h2 class="entry-title">
- <a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark"
- title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h2>
- {% import 'translations.html' as translations with context %}
- {{ translations.translations_for(article) }}
- </header>
-
- <footer class="post-info">
- <abbr class="published" title="{{ article.date.isoformat() }}">
- {{ article.locale_date }}
- </abbr>
- {% if article.modified %}
- <abbr class="modified" title="{{ article.modified.isoformat() }}">
- {{ article.locale_modified }}
- </abbr>
- {% endif %}
- {% if article.authors %}
- <address class="vcard author">
- By {% for author in article.authors %}
- <a class="url fn" href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a>
- {% endfor %}
- </address>
- {% endif %}
- </footer><!-- /.post-info -->
-
- <div class="entry-content">
- {{ article.content }}
- </div><!-- /.entry-content -->
+ <div class='container'>
+ <div class='row clearfix'>
+ <div class='column full'>
+ {# <header> #}
+
+ <h2 class="entry-title">
+ <a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark"
+ title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h2>
+ {% import 'translations.html' as translations with context %}
+ {{ translations.translations_for(article) }}
+
+ {# </header> #}
+
+ <footer class="post-info">
+ <abbr class="published" title="{{ article.date.isoformat() }}">
+ {{ article.locale_date }}
+ </abbr>
+ {% if article.modified %}
+ <abbr class="modified" title="{{ article.modified.isoformat() }}">
+ {{ article.locale_modified }}
+ </abbr>
+ {% endif %}
+ {% if article.authors %}
+ <address class="vcard author">
+ By {% for author in article.authors %}
+ <a class="url fn" href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a>
+ {% endfor %}
+ </address>
+ {% endif %}
+ </footer><!-- /.post-info -->
+
+ <div class="entry-content">
+ {{ article.content }}
+ </div><!-- /.entry-content -->
+ </div>
+ </div>
+ </div>
</section>
{% endblock content %}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]