Commits

Christian Jann committed fd52275 Merge

Merged html-aggregated-context

Comments (0)

Files changed (9)

tinkerer/ext/aggregator.py

File contents unchanged.

tinkerer/ext/blog.py

File contents unchanged.

tinkerer/ext/patch.py

File contents unchanged.

tinkerer/ext/readmore.py

 
 
     def run(self):
-        return [nodes.raw("", '<a name="more"> </a>', format="html")] 
+        return [nodes.raw("", '<div id="more"> </div>', format="html")]
 

tinkerer/ext/rss.py

         context["items"].append({
                     "title": env.titles[post].astext(),
                     "link": link,
-                    "description": patch.strip_xml_declaration(patch.patch_links(
+                    "description": patch.patch_links(app,
                             env.blog_metadata[post].body, 
                             app.config.website + post[:11], # first 11 characters is path (YYYY/MM/DD/)
-                            post[11:])), # following characters represent filename
+                            post[11:]), # following characters represent filename
                     "categories": categories,
                     "pubDate": timestamp
                 })

tinkerer/themes/dark/layout.html

           <h1><a href="{{ pathto(pages[0][0]) }}">{{ shorttitle|e }}</a></h1>
           <h4>{{ tagline|e }}</h4>
         </div>
-        <nav>
+        <nav {%- if pages|count > 2 %} class="big_nav"{%- endif -%}>
           <ul>
             {% for page in pages -%}
             <li class="main-nav">

tinkerer/themes/dark/static/dark.css

     line-height: 16px;
 }
 
+pre span::-moz-selection,
+pre::-moz-selection {
+    background: #1919BC;
+    text-shadow: none;
+}
+
+pre span::selection,
+pre::selection {
+    background: #1919BC;
+    text-shadow: none;
+}
+
 .docutils, div.admonition p .docutils {
     padding: 0 1px;
     border: 1px dashed #ccc;
         font-size: 15px;
     }
 
+    nav.big_nav a {
+        padding: 25px 0;
+        width: 20%;
+    }
+
     nav li:first-child a {
         margin-left: 0;
     }
         width: 35%;
     }
 
+    nav.big_nav a {
+        width: 22%;
+        padding: 25px 0;
+    }
+
 /* ============
     WIDE: Main
    ============ */

tinkerer/themes/responsive/layout.html

           <h1><a href="{{ pathto(pages[0][0]) }}">{{ shorttitle|e }}</a></h1>
           <h4>{{ tagline|e }}</h4>
         </div>
-        <nav>
+        <nav {%- if pages|count > 2 %} class="big_nav"{%- endif -%}>
           <ul>
             {%- block quicklinks -%}
               {%- if rss_in_page_nav -%}

tinkerer/themes/responsive/static/responsive.css

         margin-bottom: 0;
     }
 
+    nav.big_nav a {
+        padding: 25px 0;
+        width: 20%;
+    }
+
     nav li:first-child a {
         margin-left: 0;
     }
         width: 38%;
     }
 
+    nav.big_nav a {
+        width: 22%;
+        padding: 25px 0;
+    }
+
 /* ============
     WIDE: Main
    ============ */