Skip to content

Commit

Permalink
git hash + h1
Browse files Browse the repository at this point in the history
  • Loading branch information
arturoc committed Dec 22, 2011
1 parent 7af8c54 commit 064100c
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 4 deletions.
1 change: 1 addition & 0 deletions _templates/community.mako
Expand Up @@ -11,6 +11,7 @@
${self.header()}
<div id="body-wrap">
<div class="page-wide">
<h1>community</h1>
<div class="page-left-split">
<p>This community page is auto generated from the most active members on the OF forum. Please see <a href="https://github.com/openframeworks/ofSite/wiki/community"> this guide</a> for info about how to update your profile. If you'd like to get added to this page, we will add a forum thread in the near future where you can let us know and we'll manually add you.</p>
</div>
Expand Down
1 change: 1 addition & 0 deletions _templates/documentation.mako
Expand Up @@ -13,6 +13,7 @@

<div class="page-wide">

<h1>documentation</h1>
<div class="page-left-split">
<p>This page is the reference for the openFrameworks core and included addons. There are also <a href="http://ofxaddons.com/">contributed addons</a>. The openFrameworks API is constantly evolving: any corrections, additions or comments are very welcome!</p>
<p>You can contribute to this documentation from GitHub by following these <a href="https://github.com/openframeworks/openFrameworks/wiki/Contributing-documentation">instructions.</a>
Expand Down
14 changes: 12 additions & 2 deletions _templates/footer.mako
@@ -1,6 +1,6 @@
<p id="credits">

Last updated ${self.getTime()}
Last updated ${self.getTime()}&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;&nbsp;<a href="https://github.com/openframeworks/ofSite/commit/${self.getLastCommitHash()}">${self.getLastCommitHash()}</a>

<!--br/>RSS feeds for <a href="${bf.util.site_path_helper(bf.config.blog.path,'feed')}">Entries</a-->

Expand Down Expand Up @@ -36,5 +36,15 @@ href="http://${bf.config.blog.disqus.name}.disqus.com/latest.rss">Comments</a>.
from time import gmtime, strftime
currentTime = strftime("%A, %d %B %Y %H:%M:%S UTC", gmtime())
%>
${currentTime}
${currentTime}
</%def>

<%def name="getLastCommitHash()">
<%
import subprocess
p1 = subprocess.Popen(["git", "log", "-1"], stdout=subprocess.PIPE)
out = p1.communicate()
hash = out[0][len("commit "):out[0].find('\n')].strip()
%>
${hash}
</%def>
2 changes: 1 addition & 1 deletion _tools/markdown_file.py
Expand Up @@ -187,7 +187,7 @@ def getclass(clazz):
var.linenum = linenum
var.file = os.path.join(root,name)

elif state == 'class' and line.find('##Description')==-1:
elif state == 'class' and line.find('##Description')==-1 and line!='\n':
documentation_clazz.reference = documentation_clazz.reference + line
linenum = linenum + 1
if state == 'vardescription':
Expand Down
1 change: 1 addition & 0 deletions about/index.html.mako
@@ -1,5 +1,6 @@
<%inherit file="/_templates/slideshow.mako" />

<h1>about</h1>
<div id="myslides">
<img src="0.jpg" />
<img src="1.jpg" />
Expand Down
8 changes: 7 additions & 1 deletion css/style.css
Expand Up @@ -986,7 +986,13 @@ div#github .github_avatar img {
color: #666;
font-size: .8em;
}
#footer a{
color: #666;
}
#footer a:hover{
color: #fff;
}
.github_time {
font-size: .8em;
margin-left: 5px;
}
}
1 change: 1 addition & 0 deletions download/index.html.mako
@@ -1,5 +1,6 @@
<%inherit file="/_templates/slideshow.mako" />

<h1>download</h1>
<div id="download-latest-header">
<h2>007</h2>
<p><strong>is the most recent release. It has a lot of new features, new interfaces, and probably some new bugs too. 007 is not 100% compatible with 0062 projects. Please see the <a href="https://github.com/openframeworks/openFrameworks/blob/develop/changes.txt">changelog</a> to get an overview of the differences between versions.</strong></p>
Expand Down
1 change: 1 addition & 0 deletions gallery/index.html.mako
Expand Up @@ -14,6 +14,7 @@
${self.header()}
<div id="body-wrap">
<div class="page-wide">
<h1>gallery</h1>
<h3>Curated by <a href="http://creativeapplications.net">creativeapplications.net</a></h3>
<br/><br/>
<div id="gallery"></div>
Expand Down

0 comments on commit 064100c

Please sign in to comment.