Commit b1bdb2fc authored by Curtis Adam's avatar Curtis Adam

Make it easier to update markdeep

parent 9bf333db
......@@ -22,7 +22,8 @@ let jscs = require('gulp-jscs');
let stylish = require('jshint-stylish');
let paths = [
'./{client,imports,i18n,server,tests}/**/*.js'
'./{imports,i18n,server,tests}/**/*.js',
'./client/head.js'
];
gulp.task('watch', function () {
......
......@@ -23,7 +23,7 @@
<link href="https://fonts.googleapis.com/css?family=Roboto+Mono" rel="stylesheet">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="white">
<script>window.markdeepOptions = {mode: 'html', detectMath: false};</script>
<script>window.markdeepOptions = {mode: 'script', detectMath: false};</script>
<meta name="google-site-verification" content="rN3x14QkdqbdL3gcMmu8uzuqQ7mvfWaWME3bmM0ShNY" />
<script src="https://js.braintreegateway.com/v2/braintree.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.0/cookieconsent.min.js"></script>
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -118,4 +118,8 @@ export let MarkdeepContent = class MarkdeepContent {
content += this.addCustomMathJax();
return content;
}
static initializeStylesheet () {
$('head').append(window.markdeep.stylesheet());
}
};
......@@ -28,6 +28,7 @@ import "../loadingScreen/loadingScreen.js";
import "../card/editor/editor.js";
import {Route} from "../../api/route";
import {CardVisuals} from "../../api/cardVisuals";
import {MarkdeepContent} from "../../api/markdeep";
Meteor.subscribe("Users");
Meteor.subscribe("notifications");
......@@ -223,6 +224,7 @@ Template.main.helpers({
});
Template.main.onCreated(function () {
MarkdeepContent.initializeStylesheet();
document.title = Meteor.settings.public.welcome.title.first + "." + Meteor.settings.public.welcome.title.last;
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment