Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e9b5a0be39 | |||
| 23d867c36b | |||
| 7a02a7fe49 | |||
| dd9d9732e8 | |||
|
|
f5c34ce532 | ||
|
|
dc4ae437c6 |
@ -9,6 +9,7 @@
|
||||
var newview
|
||||
, analytics
|
||||
, comments
|
||||
, desi = {}
|
||||
;
|
||||
|
||||
comments = view.site.disqus_shortname &&
|
||||
@ -19,16 +20,26 @@
|
||||
}})
|
||||
;
|
||||
|
||||
analytics = view.site.google_analytics_tracking_id &&
|
||||
analytics = view.site.google_analytics_tracking_id &&
|
||||
Mustache.render(view.desi.partials.google_analytics, { google_analytics: {
|
||||
tracking_id: view.site.google_analytics_tracking_id
|
||||
}})
|
||||
;
|
||||
|
||||
Object.keys(view).forEach(function (key) {
|
||||
desi[key] = view[key];
|
||||
});
|
||||
desi.desi = {};
|
||||
Object.keys(view).forEach(function (key) {
|
||||
desi.desi[key] = view[key];
|
||||
});
|
||||
|
||||
newview = {
|
||||
content: view.contents
|
||||
desi: desi
|
||||
, content: view.contents
|
||||
, page: {
|
||||
title: view.entity.yml.title || view.site.title // in rt
|
||||
, filename: view.entity.name // in rt
|
||||
, tagline: view.entity.yml.tagline // in rt
|
||||
, description: view.entity.yml.description // in rt
|
||||
, content: view.contents
|
||||
|
||||
12
package.json
12
package.json
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "desirae-datamap-ruhoh",
|
||||
"version": "1.0.2",
|
||||
"version": "1.0.6",
|
||||
"description": "A ruhoh datamap plugin for desirae",
|
||||
"main": "datamapper-ruhoh.js",
|
||||
"scripts": {
|
||||
@ -8,7 +8,7 @@
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/DearDesi/datamap-ruhoh.git"
|
||||
"url": "https://git.coolaj86.com/coolaj86/desirae-datamap-ruhoh.js.git"
|
||||
},
|
||||
"keywords": [
|
||||
"ruhoh",
|
||||
@ -18,12 +18,12 @@
|
||||
"datamap"
|
||||
],
|
||||
"author": "AJ ONeal <coolaj86@gmail.com> (http://coolaj86.com/)",
|
||||
"license": "Apache2",
|
||||
"license": "(MIT OR ISC OR Apache-2.0)",
|
||||
"bugs": {
|
||||
"url": "https://github.com/DearDesi/datamap-ruhoh/issues"
|
||||
"url": "https://git.coolaj86.com/coolaj86/desirae-datamap-ruhoh.js/issues"
|
||||
},
|
||||
"homepage": "https://github.com/DearDesi/datamap-ruhoh",
|
||||
"homepage": "https://git.coolaj86.com/coolaj86/desirae-datamap-ruhoh.js",
|
||||
"dependencies": {
|
||||
"mustache": "^1.0.0"
|
||||
"mustache": "^2.3.2"
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user