Quellcode durchsuchen

Revert "pagina news"

This reverts commit 220e6c3f258c0b53efca43792547393e45b0e270.
boyska vor 3 Jahren
Ursprung
Commit
65052eb9fc
2 geänderte Dateien mit 19 neuen und 62 gelöschten Zeilen
  1. 19 27
      themes/maya0x17/static/theme.scss
  2. 0 35
      themes/maya0x17/templates/index.html

+ 19 - 27
themes/maya0x17/static/theme.scss

@@ -86,6 +86,25 @@ h1 > (a, a:focus, a:active) { color: $c-titles; }
     max-width: 50em;
     margin: auto;
 }
+#menu-row {
+    display: none;
+    position: fixed;
+    z-index: 20;
+    top: 3em;
+    left: 8vw;
+    background: $c-bg-menu; 
+    width: 89vw;
+    margin-top: 8vw;
+    border-radius: 1em;
+    padding: 1em 0px;
+    ul { list-style: none; }
+    font-size: 120%;
+    > div {
+        max-width: 15em;
+        text-align: center;
+        margin: auto;
+    }
+}
 #logo-div {
     position: fixed;
     top: 5vw;
@@ -136,27 +155,6 @@ code {
     border: 1px solid #888;
     border-radius: 0.4em;
 }
-
-// BEGIN menu
-#menu-row {
-    display: none;
-    position: fixed;
-    z-index: 20;
-    top: 3em;
-    left: 8vw;
-    background: $c-bg-menu; 
-    width: 89vw;
-    margin-top: 8vw;
-    border-radius: 1em;
-    padding: 1em 0px;
-    ul { list-style: none; }
-    font-size: 120%;
-    > div {
-        max-width: 15em;
-        text-align: center;
-        margin: auto;
-    }
-}
 #overlay {
     display: block;
     position: fixed;
@@ -181,11 +179,5 @@ code {
         li { display: inline; padding-right: 3em;}
     }
 }
-// END menu
-.news > #content { // pagina news
-    #posts-list { list-style: none; }
-    .published { text-align: right; font-size: 80%; }
-}
 // Contenta, 朱莉娅 酷  ?
 #talk-maschio-femmina-palle .caps { font-variant-caps: all-small-caps; }
-

+ 0 - 35
themes/maya0x17/templates/index.html

@@ -1,36 +1 @@
 {% extends "base.html" %}
-{% block content_title %}{% endblock %}
-{% block content %}
-    <div class="news">
-{% if articles %}
-    {% for article in articles_page.object_list %}
-
-            {% if loop.first %}
-                <section id="content" class="body">
-                    <ol id="posts-list" class="hfeed" start="{{ articles_paginator.per_page -1 }}">
-            {% endif %}
-            <li><article class="hentry">
-                <header>
-                    <h1><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark"
-                           title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h1>
-                </header>
-
-                <div class="entry-content">
-                {% include 'article_infos.html' %}
-                {{ article.summary }}
-                <a class="readmore" href="{{ SITEURL }}/{{ article.url }}">read more</a>
-                </div><!-- /.entry-content -->
-            </article></li>
-        {% if loop.last %}
-            {% if loop.length > 1 or articles_page.has_other_pages() %}
-                </ol><!-- /#posts-list -->
-                {% if articles_page.has_other_pages() %}
-                    {% include 'pagination.html' %}
-                {% endif %}
-                </section><!-- /#content -->
-            {% endif %}
-            {% endif %}
-    {% endfor %}
-{% endif %}
-    </div>
-{% endblock content %}