Skip to content
Browse files

switched back to absolute urls. derp.

  • Loading branch information...
1 parent 6e2482b commit c1c0cbeac54f1fc068755c4be5a105fb98b110d6 @kylemcdonald kylemcdonald committed Dec 11, 2011
View
2 _templates/community.mako
@@ -13,7 +13,7 @@
<div class="page-wide">
<h1>people</h1>
% for member in members:
- <a href="user.html?user=${member.user}" title="${member.name}"><img width="109" height="109" src="${member.avatar}" alt="${member.name}"/></a>
+ <a href="user/?user=${member.user}" title="${member.name}"><img width="109" height="109" src="${member.avatar}" alt="${member.name}"/></a>
% endfor
</div>
</div>
View
8 _templates/docs.mako
@@ -28,10 +28,10 @@
</p-->
<div id="docs-ebook">
<h2>download</h2>
- <p><a href="../epub/ofReference.zip"><strong>html</strong></a></p>
- <p><a href="../epub/ofReference.pdf"><strong>pdf</strong></a></p>
- <p><a href="../epub/ofReference.epub"><strong>epub</strong></a></p>
- <p><a href="../epub/ofReference.mobi"><strong>mobi (kindle)</strong></a></p>
+ <p><a href="${bf.config.site.url}/epub/ofReference.zip"><strong>html</strong></a></p>
+ <p><a href="${bf.config.site.url}/epub/ofReference.pdf"><strong>pdf</strong></a></p>
+ <p><a href="${bf.config.site.url}/epub/ofReference.epub"><strong>epub</strong></a></p>
+ <p><a href="${bf.config.site.url}/epub/ofReference.mobi"><strong>mobi (kindle)</strong></a></p>
</div>
</div>
View
6 _templates/head.mako
@@ -1,9 +1,9 @@
<title>${bf.config.blog.name}</title>
-<link rel="stylesheet" type="text/css" href="../css/style.css" media="all" />
-<link rel="stylesheet" type="text/css" href="../css/print.css" media="print" />
+<link rel="stylesheet" type="text/css" href="${bf.config.site.url}/css/style.css" media="all" />
+<link rel="stylesheet" type="text/css" href="${bf.config.site.url}/css/print.css" media="print" />
-<link rel="search" type="application/opensearchdescription+xml" href="http://www.openframeworks.cc/opensearch.xml" title="openFrameworks" />
+<link rel="search" type="application/opensearchdescription+xml" href="${bf.config.site.url}/opensearch.xml" title="openFrameworks" />
<link rel="shortcut icon" href="http://forum.openframeworks.cc/favicon.ico" />
<link rel="icon" href="http://forum.openframeworks.cc/favicon.ico" type="image/x-icon" />
View
12 _templates/header.mako
@@ -3,17 +3,17 @@
<div id="head">
<div id="head-left">
- <a href=".." class="nohover"><img src="../images/ofw-logo.png" border="0" alt="openFrameworks" /></a>
+ <a href=".." class="nohover"><img src="${bf.config.site.url}/images/ofw-logo.png" border="0" alt="openFrameworks" /></a>
</div>
<div id="head-right">
<ul>
- <li><a href="../about" class="${'active' if active=='about' else ''}">about</a></li>
- <li><a href="../download" class="${'active' if active=='download' else ''}" >download</a></li>
- <li><a href="../docs" class="${'active' if active=='docs' else ''}">documentation</a></li>
- <li><a href="../gallery" class="${'active' if active=='gallery' else ''}">gallery</a></li>
- <li><a href="../community" class="${'active' if active=='community' else ''}">community</a></li>
+ <li><a href="${bf.config.site.url}/about" class="${'active' if active=='about' else ''}">about</a></li>
+ <li><a href="${bf.config.site.url}/download" class="${'active' if active=='download' else ''}" >download</a></li>
+ <li><a href="${bf.config.site.url}/docs" class="${'active' if active=='docs' else ''}">documentation</a></li>
+ <li><a href="${bf.config.site.url}/gallery" class="${'active' if active=='gallery' else ''}">gallery</a></li>
+ <li><a href="${bf.config.site.url}/community" class="${'active' if active=='community' else ''}">community</a></li>
</ul>
<ul class="menu-externals">
View
8 _templates/home.mako
@@ -6,12 +6,12 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
${self.head()}
- <script language="javascript" src="../js/jquery.tweet.js" type="text/javascript"></script>
+ <script language="javascript" src="${bf.config.site.url}/js/jquery.tweet.js" type="text/javascript"></script>
<script src="http://www.google.com/jsapi?key=AIzaSyA5m1Nc8ws2BbmPRwKu5gFradvD_hgq6G0" type="text/javascript"></script>
- <script type="text/javascript" src="../js/encoder.js"></script>
+ <script type="text/javascript" src="${bf.config.site.url}/js/encoder.js"></script>
<script type="text/javascript" src="http://cloud.github.com/downloads/malsup/cycle/jquery.cycle.all.latest.js"></script>
- <script type="text/javascript" src="../js/socialwidgets.js"> </script>
- <script type="text/javascript" src="../js/home.js"> </script>
+ <script type="text/javascript" src="${bf.config.site.url}/js/socialwidgets.js"> </script>
+ <script type="text/javascript" src="${bf.config.site.url}/js/home.js"> </script>
</head>
<body>
<div id="content">
View
8 community/user.html.mako → community/user/index.html.mako
@@ -5,12 +5,12 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
${self.head()}
- <script language="javascript" src="../../js/jquery.tweet.js" type="text/javascript"></script>
+ <script language="javascript" src="${bf.config.site.url}/js/jquery.tweet.js" type="text/javascript"></script>
<script src="http://www.google.com/jsapi?key=AIzaSyA5m1Nc8ws2BbmPRwKu5gFradvD_hgq6G0" type="text/javascript"></script>
- <script type="text/javascript" src="../../js/encoder.js"></script>
+ <script type="text/javascript" src="${bf.config.site.url}/js/encoder.js"></script>
<script type="text/javascript" src="http://cloud.github.com/downloads/malsup/cycle/jquery.cycle.all.latest.js"></script>
- <script type="text/javascript" src="../../js/socialwidgets.js"> </script>
- <script type="text/javascript" src="../../js/community.js"> </script>
+ <script type="text/javascript" src="${bf.config.site.url}/js/socialwidgets.js"> </script>
+ <script type="text/javascript" src="${bf.config.site.url}/js/community.js"> </script>
</head>
View
4 gallery/index.html.mako
@@ -6,8 +6,8 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
${self.head()}
<script src="http://www.google.com/jsapi?key=AIzaSyA5m1Nc8ws2BbmPRwKu5gFradvD_hgq6G0" type="text/javascript"></script>
- <script type="text/javascript" src="../js/encoder.js"></script>
- <script type="text/javascript" src="../js/gallery.js"> </script>
+ <script type="text/javascript" src="${bf.config.site.url}/js/encoder.js"></script>
+ <script type="text/javascript" src="${bf.config.site.url}/js/gallery.js"> </script>
</head>
<body>
<div id="content">

0 comments on commit c1c0cbe

Please sign in to comment.
Something went wrong with that request. Please try again.