فهرست منبع

updated templates to show dates in title for posts, and added usage comments to templates

Harlan Iverson 7 سال پیش
والد
کامیت
5e5d0499bd

+ 2 - 2
app/resources/templates/themes/ispooge/html/base.html

@@ -53,9 +53,9 @@
                     <ul class="dropdown-menu" role="menu">
 
                       {% if latest-posts|not-empty %}
-                        <li class="dropdown-header">Recent Posts</li>
+                        <li class="dropdown-header">Recently</li>
                         {% for post in latest-posts %}
-                          <li><a href="{{post.uri}}">{{post.title}}</a></li>
+                          <li><a href="{{post.uri}}">{{post.title}} <small>on {{post.date|date:"MM.dd"}}</small></a></li>
                           {% endfor %}
                       {% endif %}
 

+ 7 - 0
app/resources/templates/themes/ispooge/html/live-event.html

@@ -1,4 +1,11 @@
 {% extends "/html/base.html" %}
+<!--
+This is to be used while an event post is live. after live, it takes the normal
+video page. 
+in our ops guide, we have creating live stream and creating a video from a live
+stream. the change would be made there. start live stream with layout live-event, 
+change to video layout in latter.
+-->
 {%block subtitle %}: {{post.title}}{% endblock %}
 
 {% block head %}

+ 3 - 0
app/resources/templates/themes/ispooge/html/live.html

@@ -1,4 +1,7 @@
 {% extends "/html/base.html" %}
+<!--
+This is used for live broadcasts (general stream, not necessarily event)
+-->
 {%block subtitle %}: Live{% endblock %}
 
 

+ 1 - 1
app/resources/templates/themes/ispooge/html/post.html

@@ -1,5 +1,5 @@
 {% extends "/html/base.html" %}
-{%block subtitle %}: {{post.title}}{% endblock %}
+{%block subtitle %}: f {{post.title}} on {{post.date|date:"MM.dd"}}{% endblock %}
 {% block content %}
 <div id="post">
     {% include "/html/post-content.html" %}

+ 1 - 1
app/resources/templates/themes/ispooge/html/video.html

@@ -1,5 +1,5 @@
 {% extends "/html/base.html" %}
-{%block subtitle %}: {{post.title}}{% endblock %}
+{%block subtitle %}: {{post.title}} on {{post.date|date:"MM.dd"}}{% endblock %}
 
 {% block head %}
 

+ 1 - 1
scripts/env.sh

@@ -16,5 +16,5 @@ HOSTS=ispooge.com
 
 
 NAME_STATIC=ispooge.com-static
-IMAGE_STATIC=docker-registry.local:5000/ispooge.com/ispooge-static:18
+IMAGE_STATIC=docker-registry.local:5000/ispooge.com/ispooge-static:19
 IMAGE_STATIC_LOCAL=ispooge-static