ctakes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seanfi...@apache.org
Subject svn commit: r1664513 - in /ctakes/site/trunk: content/examples.mdtext templates/skeleton.html
Date Thu, 05 Mar 2015 22:28:09 GMT
Author: seanfinan
Date: Thu Mar  5 22:28:09 2015
New Revision: 1664513

URL: http://svn.apache.org/r1664513
Log:
attempting script placement

Modified:
    ctakes/site/trunk/content/examples.mdtext
    ctakes/site/trunk/templates/skeleton.html

Modified: ctakes/site/trunk/content/examples.mdtext
URL: http://svn.apache.org/viewvc/ctakes/site/trunk/content/examples.mdtext?rev=1664513&r1=1664512&r2=1664513&view=diff
==============================================================================
--- ctakes/site/trunk/content/examples.mdtext (original)
+++ ctakes/site/trunk/content/examples.mdtext Thu Mar  5 22:28:09 2015
@@ -1,4 +1,3 @@
-{% block content %}
 <div class="container">
    <div class="row">
       <h1>Examples</h1>
@@ -88,8 +87,8 @@
       </div>
    </div>
 </div>
+
 <!-- show enlarged image -->
-{% endblock %}
 
 {% block script %}
 <script type="text/javascript">

Modified: ctakes/site/trunk/templates/skeleton.html
URL: http://svn.apache.org/viewvc/ctakes/site/trunk/templates/skeleton.html?rev=1664513&r1=1664512&r2=1664513&view=diff
==============================================================================
--- ctakes/site/trunk/templates/skeleton.html (original)
+++ ctakes/site/trunk/templates/skeleton.html Thu Mar  5 22:28:09 2015
@@ -127,7 +127,7 @@
 </nav>
 	
 <!--- BEGIN MAIN CONTENT -->
-    {% block content %}{% endblock %}
+    {% block content %}{{ content|markdown }}{% endblock %}
 <!--- END MAIN CONTENT --> 
 
 <footer class="small">
@@ -139,7 +139,7 @@
 <script src="https://code.jquery.com/jquery.js"></script>
 <script src="https://netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js"></script>
 
-{% block script %}{% endblock %}
+{% if content.script %}{{ content.script }}{% endif %}
 
 </body>
 </html>



Mime
View raw message