summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2014-11-19 15:51:53 -0500
committerJules Laplace <jules@okfoc.us>2014-11-19 15:51:53 -0500
commitfd91cb2a84c5150f4ffa9f45d3713ebe30e094aa (patch)
treeb9fae39bb54e819a52a0d2f9debaeb70a13a5917
parent4a456e58d8544b949b8bf60fb7dfb4b5f62a7c70 (diff)
fb share image, add credit link to footer
-rw-r--r--server/lib/middleware.js2
-rw-r--r--views/partials/footer.ejs19
2 files changed, 11 insertions, 10 deletions
diff --git a/server/lib/middleware.js b/server/lib/middleware.js
index 60f2e46..7b37658 100644
--- a/server/lib/middleware.js
+++ b/server/lib/middleware.js
@@ -40,7 +40,7 @@ var middleware = {
res.locals.user = req.user || { _id: undefined }
res.locals.config = config
res.locals.profile = null
- res.locals.ogImage = ""
+ res.locals.ogImage = "http://okfocus.s3.amazonaws.com/images/vvalls-fb.png"
res.locals.ogTitle = "VValls"
res.locals.ogUrl = "http://vvalls.com/"
res.locals.ogDescription = "3D gallery space, fully customizable"
diff --git a/views/partials/footer.ejs b/views/partials/footer.ejs
index 15b658f..4005507 100644
--- a/views/partials/footer.ejs
+++ b/views/partials/footer.ejs
@@ -1,15 +1,6 @@
<div class="footer">
- <a href="/about">How To</a>
- <a href="/about/terms">Terms</a>
- <a href="/about/privacy">Privacy</a>
- <a href="mailto:hello@vvalls.com">Contact</a>
-
- <span>©2014 Dot Dash 3, Inc.</span>
-
[[ if (logged_in) { ]]
- <br><br>
-
<span>
signed in as &rarr;
<a href="/profile/[[- user.username ]]"><b>[[- user.displayName ]]</b></a>
@@ -20,4 +11,14 @@
</span>
[[ } ]]
+ <br><br>
+
+ <a href="/about">How To</a>
+ <a href="/about/terms">Terms</a>
+ <a href="/about/privacy">Privacy</a>
+ <a href="mailto:hello@vvalls.com">Contact</a>
+
+ <span>©2014 Dot Dash 3, Inc.</span>
+ <a href="http://okfoc.us/">Site by OKFocus</a>
+
</div>