Parcourir la source

added support for posts

Harlan Iverson il y a 7 ans
Parent
commit
bcb580de8c

+ 26 - 4
harlanji.com/Harlanji.com.bfproject

@@ -5,7 +5,10 @@ openfiles: /home/hi/p/tinydatacenter/harlanji.com/app/resources/templates/themes
 openfiles: /home/hi/p/tinydatacenter/harlanji.com/app/resources/templates/themes/harlanji/css/screen.css:68:0:0:
 openfiles: /home/hi/p/tinydatacenter/harlanji.com/app/resources/templates/themes/harlanji/html/base.html:0:0:0:
 openfiles: /home/hi/p/tinydatacenter/harlanji.com/app/resources/templates/themes/harlanji/html/home.html:597:0:0:
-openfiles: /home/hi/p/tinydatacenter/harlanji.com/app/resources/templates/themes/harlanji/html/page.html:174:0:1:
+openfiles: /home/hi/p/tinydatacenter/harlanji.com/app/resources/templates/themes/harlanji/html/page.html:632:0:0:
+openfiles: /home/hi/p/tinydatacenter/harlanji.com/app/resources/templates/md/posts/2018-03-30-review-jsanywhere.md:832:65:0:
+openfiles: /home/hi/p/tinydatacenter/harlanji.com/app/resources/templates/md/posts/2018-03-30-review-bear-markdown-editor.md:701:0:0:
+openfiles: /home/hi/p/tinydatacenter/harlanji.com/app/resources/templates/themes/harlanji/html/archives.html:173:0:1:
 snr_recursion_level: 5
 convertcolumn_horizontally: 0
 adv_open_matchname: 0
@@ -42,12 +45,15 @@ charmap_block: 1
 webroot: http://localhost:3000/
 recent_files: file:///home/hi/p/tinydatacenter/harlanji.com/app/resources/templates/md/pages/index.md
 recent_files: file:///home/hi/p/tinydatacenter/harlanji.com/app/resources/templates/md/pages/recent.md
+recent_files: file:///home/hi/p/tinydatacenter/harlanji.com/app/resources/templates/themes/harlanji/html/page.html
 recent_files: file:///home/hi/p/tinydatacenter/harlanji.com/app/resources/templates/md/pages/software-engineering.md
-recent_files: file:///home/hi/p/tinydatacenter/harlanji.com/app/resources/templates/themes/harlanji/html/software-engineering.html
 recent_files: file:///home/hi/p/tinydatacenter/harlanji.com/app/resources/templates/themes/harlanji/css/screen.css
-recent_files: file:///home/hi/p/tinydatacenter/harlanji.com/app/resources/templates/themes/harlanji/html/base.html
+recent_files: file:///home/hi/p/tinydatacenter/harlanji.com/app/resources/templates/themes/harlanji/html/software-engineering.html
 recent_files: file:///home/hi/p/tinydatacenter/harlanji.com/app/resources/templates/themes/harlanji/html/home.html
-recent_files: file:///home/hi/p/tinydatacenter/harlanji.com/app/resources/templates/themes/harlanji/html/page.html
+recent_files: file:///home/hi/p/tinydatacenter/harlanji.com/app/resources/templates/themes/harlanji/html/base.html
+recent_files: file:///home/hi/p/tinydatacenter/harlanji.com/app/resources/templates/md/posts/2018-03-30-review-jsanywhere.md
+recent_files: file:///home/hi/p/tinydatacenter/harlanji.com/app/resources/templates/md/posts/2018-03-30-review-bear-markdown-editor.md
+recent_files: file:///home/hi/p/tinydatacenter/harlanji.com/app/resources/templates/themes/harlanji/html/archives.html
 snr_replacetype: 0
 savedir: file:///home/hi/p/tinydatacenter/harlanji.com/app/resources/templates/themes/harlanji/html
 spell_check_default: 1
@@ -74,7 +80,23 @@ recent_dirs: file:///home/hi/p/tinydatacenter
 recent_dirs: file:///home/hi/p/tinydatacenter/harlanji.com
 recent_dirs: file:///home/hi/p/tinydatacenter/harlanji.com/app/resources/templates/md/pages
 recent_dirs: file:///home/hi/p/tinydatacenter/harlanji.com/app/resources/templates/themes/harlanji/css
+recent_dirs: file:///home/hi/p/tinydatacenter/harlanji.com/app/resources/templates/md/posts
 recent_dirs: file:///home/hi/p/tinydatacenter/harlanji.com/app/resources/templates/themes/harlanji/html
+filegloblist: *.txt
+filegloblist: *.shtml
+filegloblist: *.py
+filegloblist: *.pl
+filegloblist: *.php
+filegloblist: *.js
+filegloblist: *.java
+filegloblist: *.htm
+filegloblist: *.html
+filegloblist: *.h
+filegloblist: *.css
+filegloblist: *.cpp
+filegloblist: *.cgi
+filegloblist: *.c
+filegloblist: *
 ssearch_unescape: 0
 htmlbar_view: 1
 c2e.convert_xml: 1

+ 13 - 0
harlanji.com/app/resources/templates/themes/harlanji/html/archives.html

@@ -1,10 +1,17 @@
 {% extends "/html/base.html" %}
 {%block subtitle %}: Archives{% endblock %}
 {% block content %}
+
+
 <div id="posts">
+
+<a href="/">Home</a>
+
+
     <div id="page-header">
         <h2>Archives</h2>
     </div>
+
     {% for group in groups %}
         <h4>{{group.group}}</h4>
         <ul>
@@ -16,5 +23,11 @@
         </ul>
     {% endfor %}
 
+    <p>Subscribe via rss:</p>
+    
+    <ul>
+    <li><a href="{{rss-uri}}">Main feed</a></li>
+    </ul>
+
 </div>
 {% endblock %}

+ 1 - 0
harlanji.com/app/resources/templates/themes/harlanji/html/home.html

@@ -13,6 +13,7 @@
     <li {%ifequal page.uri nav-page.uri %} class="active" {% endifequal %}>
       <a href="{{nav-page.uri}}">{{nav-page.title}}</a>
     </li>
+    <li {% if archives %} class="active" {% endif %}><a href="{{archives-uri}}">Writing and Opinions</a></li>
   {% endfor %}
 </ul>
 

+ 2 - 0
harlanji.com/app/resources/templates/themes/harlanji/html/post.html

@@ -2,6 +2,8 @@
 {%block subtitle %}: {{post.title}}{% endblock %}
 {% block content %}
 <div id="post">
+<a href="/">Home</a>
+
     {% include "/html/post-content.html" %}
     <div id="prev-next">
         {% if post.prev %}