diff --git a/.eslintrc.yml b/.eslintrc.yml new file mode 100644 index 00000000..2d78818b --- /dev/null +++ b/.eslintrc.yml @@ -0,0 +1,22 @@ +env: + browser: true + es6: true +extends: 'eslint:recommended' +rules: + indent: + - error + - 4 + linebreak-style: + - error + - unix + quotes: + - error + - single + semi: + - error + - always + no-console: + - error + - allow: + - warn + - error diff --git a/gulpfile.js b/gulpfile.js index 6395c379..eb43841e 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -22,17 +22,17 @@ elixir(function(mix) { 'assets/css/alertify.css', 'assets/css/sanitize.min.css', 'assets/css/prism.css', + 'assets/js/libs/fetch.js', + 'assets/js/libs/alertify.js', + 'assets/js/libs/store2.min.js', + 'assets/js/libs/Autolinker.min.js', + 'assets/js/libs/marked.min.js', + 'assets/js/libs/prism.js', 'assets/js/form-save.js', 'assets/js/links.js', 'assets/js/maps.js', 'assets/js/newplace.js', 'assets/js/newnote.js', - 'assets/js/fetch.js', - 'assets/js/alertify.js', - 'assets/js/store2.min.js', - 'assets/js/Autolinker.min.js', - 'assets/js/marked.min.js', - 'assets/js/prism.js', ]); }); @@ -60,6 +60,18 @@ gulp.task('br-built-js', function() { .pipe(gulp.dest('public/build/assets/js/')); }); +gulp.task('gzip-built-libs-js', function() { + return gulp.src('public/build/assets/js/libs/*.js') + .pipe(zopfli({ format: 'gzip', append: true })) + .pipe(gulp.dest('public/build/assets/js/libs/')); +}); + +gulp.task('br-built-libs-js', function() { + return gulp.src('public/build/assets/js/libs/*.js') + .pipe(brotli.compress({mode: 1, quality: 11})) + .pipe(gulp.dest('public/build/assets/js/libs/')); +}); + gulp.task('bower', function() { //copy JS files gulp.src([ @@ -69,7 +81,7 @@ gulp.task('bower', function() { 'bower_components/Autolinker.js/dist/Autolinker.min.js', 'bower_components/marked/marked.min.js', ]) - .pipe(gulp.dest('public/assets/js/')); + .pipe(gulp.dest('public/assets/js/libs/')); //copy CSS files gulp.src([ 'bower_components/alertify.js/dist/css/alertify.css', @@ -78,4 +90,4 @@ gulp.task('bower', function() { .pipe(gulp.dest('public/assets/css/')); }); -gulp.task('compress', ['gzip-built-css', 'br-built-css', 'gzip-built-js', 'br-built-js']); +gulp.task('compress', ['gzip-built-css', 'br-built-css', 'gzip-built-js', 'br-built-js', 'gzip-built-libs-js', 'br-built-libs-js']); diff --git a/package.json b/package.json index a4c57cca..6076b82b 100644 --- a/package.json +++ b/package.json @@ -1,19 +1,24 @@ { - "name": "jbuk-frontend", - "version": "0.0.1", - "repository": "https://github.com/jonnybarnes/jonnybarnes.uk", - "license": "CC0-1.0", - "devDependencies": { - "gulp": "~3.9", - "gulp-brotli": "^1.0.1", - "gulp-zopfli": "^1.0.0", - "laravel-elixir": "^5.0.0", - "lint-staged": "^1.0.1", - "pre-commit": "^1.1.3" - }, - "private": true, - "scripts": { - "prod": "gulp --production", - "dev": "gulp watch" - } + "name": "jbuk-frontend", + "version": "0.0.1", + "repository": "https://github.com/jonnybarnes/jonnybarnes.uk", + "license": "CC0-1.0", + "devDependencies": { + "gulp": "~3.9", + "gulp-brotli": "^1.0.1", + "gulp-zopfli": "^1.0.0", + "laravel-elixir": "^5.0.0", + "lint-staged": "^1.0.1", + "pre-commit": "^1.1.3" + }, + "private": true, + "scripts": { + "prod": "gulp --production", + "dev": "gulp watch", + "lint-staged": "lint-staged" + }, + "lint-staged": { + "eslint": "public/assets/js/*.js" + }, + "pre-commit": ["lint-staged"] } diff --git a/public/assets/css/global.css b/public/assets/css/global.css index 1750d873..83a0dfe1 100644 --- a/public/assets/css/global.css +++ b/public/assets/css/global.css @@ -11,10 +11,8 @@ html { box-sizing: inherit; } #topheader { - display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-flow: row; -ms-flex-flow: row; flex-flow: row; } @@ -158,7 +156,6 @@ article header { body { text-rendering: optimizeLegibility; - -webkit-font-feature-settings: "liga"; font-feature-settings: "liga"; font-family: "leitura-news", serif; font-size: 1.2em; } @@ -173,7 +170,6 @@ h1 { text-decoration: none; } nav { - -webkit-font-feature-settings: "dlig"; font-feature-settings: "dlig"; } article header h1 a { diff --git a/public/assets/css/global.css.map b/public/assets/css/global.css.map index fa39372b..c091cdb6 100644 --- a/public/assets/css/global.css.map +++ b/public/assets/css/global.css.map @@ -1 +1 @@ -{"version":3,"sources":["global.scss","layout.scss","components/fonts.scss","components/colours.scss","components/forms.scss","components/twitter.scss"],"names":[],"mappings":"AAyBA;EACC,+CAAe,EACf;;AAED;EACC,cAAc,EACd;;AC5BD;EACC,uBAAuB,EACvB;;AAED;EACC,oBAAoB,EACpB;;AAED;EACC,sBAAc;EAAd,qBAAc;EAAd,cAAc;EACd,uBAAe;EAAf,mBAAe;EAAf,eAAe,EACf;;AAED;EACC,mBAAmB,EACnB;;AAED;EACC,mBAAmB,EACnB;;AAED;EACC,kBAAkB,EAClB;;AAED;EACC,0BDhBkB;ECiBlB,iCDlBkB;ECmBlB,qBAAqB;EACrB,gBAAgB,EAChB;;AAED;EACC,aAAa;EACb,eAAe;EACf,UAAU;EACV,YAAY,EACZ;;AAED;EACC,sBAAsB,EACtB;;AAED;EACC,cAAc,EACd;;AAED;EACC,YAAY,EACZ;;AAED;EACC,aAAa,EACb;;AAED;EACC,sBAAsB,EACtB;;AAED;EACC,YAAY;EACZ,YAAY;EACZ,cD7CkB,EC8ClB;;AAED;EACC,iBAAiB;EACjB,kBAAkB;EAClB,iBAAiB;EACjB,qBAAqB,EACrB;;AAED;EACC,iBAAiB;EACjB,kBAAkB;EAClB,iBAAiB;EACjB,iBAAiB,EACjB;;AAED;EACC,kBAAkB,EAClB;;AAED;EACC,mBAAmB;EACnB,0BD/EkB;ECgFlB,iBAAiB;EACjB,sBAAsB;EACtB,kBAAkB;EAClB,oBAAoB,EACpB;;AAED;EACC,eAAe;EACf,gBAAgB;EAChB,mBAAmB;EACnB,4BAA4B,EAC5B;;AAED;EACC,eAAe,EACf;;AAED;EACC,kBAAkB;EAClB,oBAAoB,EACpB;;AAED;EACC,eAAe,EACf;;AAED;EACC,YAAY;EACZ,aAAa;EACb,8BAA8B,EAC9B;;AAID;EACC,kBAAkB;EAClB,qBAAqB,EACrB;;AAED;EACC,iBAAiB;EACjB,mBAAmB;EACnB,mBAAmB,EACnB;;AAGD;EACC,mBAAmB,EACnB;;AAED;EACC,sBAAsB,EACtB;;AAED;EACC,aAAa;EACb,WAAW;EACX,mBAAmB;EACnB,OAAO;EACP,QAAQ,EACR;;AAED;EACC,iBAAiB,EACjB;;AAED;EACC,cAAc,EACd;;AAED,mBAAmB;AACnB;EACC;IACC,kBAAkB;IAClB,mBAAmB,EACnB;EAED;IACC,kBAAkB;IAClB,mBAAmB,EACnB;EAED;IACC,aAAa;IACb,cAAc,EACd,EAAA;;AAGF;EACC;IACC,kBAAkB;IAClB,mBAAmB,EACnB;EAED;IACC,sBAAsB,EACtB;EAED;IACC,kBAAkB;IAClB,mBAAmB,EACnB;EAED;IACC,YAAY;IACZ,aAAa,EACb,EAAA;;ACjMF;EACC,mCAAmC;EACnC,sCAA8B;EAA9B,8BAA8B;EAC9B,mCFFsC;EEGtC,iBAAiB,EACjB;;AAED;EACC,mCFPsC,EEQtC;;AAED;EACC,mCFVyC,EEWzC;;AAED;EACC,sBAAsB,EACtB;;AAED;EACC,sCAA8B;EAA9B,8BAA8B,EAC9B;;AAED;EACC,sBAAsB,EACtB;;AAED;EACC,sBAAsB,EACtB;;AAED;EACC,iBAAiB,EACjB;;AAED;EACC,YAAY;EACZ,YAAY,EACZ;;ACvCD;EACC,eHKkB,EGJlB;;AAED;EACC,eHCkB,EGAlB;;AAED;EACC,eHUkB,EGTlB;;ACTD;EACC,YAAY,EACZ;;AAED;EACC,aAAa;EACb,YAAY,EACZ;;AAED;EACC,YAAY,EACZ;;AAED;EACC,yBAAyB;EACzB,sBAAsB;EACtB,0BJXkB;EIYlB,eJLkB;EIMlB,0BJNkB;EIOlB,mBAAmB,EACnB;;AAED;EACC,6BAA6B;EAC7B,0BJZkB;EIalB,eJpBkB,EIqBlB;;AAED;EACC,0BJnBkB;EIoBlB,eJzBkB,EI0BlB;;AAED;EACC,6BAA6B;EAC7B,0BAA0B,EAC1B;;AAED;EACC,oBAAoB;EACpB,eAAe;EACf,aAAa,EACb;;AC1CD;EACE,4BAA4B,EAC7B;;AAED;EACE,cAAc,EACf","file":"global.css","sourcesContent":["//global.scss\n\n//variables\n$font-stack-body: \"leitura-news\", serif;\n$font-stack-headers: \"prenton\", sans-serif;\n\n//solarized variables TERMCOL\n$base03: #002b36;//brblack\n$base02: #073642;//black\n$base01: #586e75;//brgreen\n$base00: #657b83;//bryellow\n$base0: #839496;//brblue\n$base1: #93a1a1;//brcyan\n$base2: #eee8d5;//white\n$base3: #fdf6e3;//brwhite\n$yellow: #b58900;\n$orange: #cb4b16;\n$red: #dc322f;\n$magenta: #d33682;\n$violet: #6c71c4;\n$blue: #268bd2;\n$cyan: #2aa198;\n$green: #859900;\n\n//global styles\nhtml {\n\tbackground: url('/assets/img/escheresque.png');\n}\n\n.map {\n\theight: 150px;\n}\n\n//layout\n@import \"layout\";\n\n//components\n@import \"components/fonts\";\n@import \"components/colours\";\n@import \"components/forms\";\n@import \"components/twitter\";\n","//layout.scss\n\n//boxes\nhtml {\n\tbox-sizing: border-box;\n}\n\n*, *:before, *:after {\n\tbox-sizing: inherit;\n}\n\n#topheader {\n\tdisplay: flex;\n\tflex-flow: row;\n}\n\n#topheader a {\n\tpadding: 0.5em 1em;\n}\n\nnav {\n\tpadding-top: 0.5em;\n}\n\n.social-list {\n\tpadding-left: 2em;\n}\n\n.note {\n\tbackground-color: $base2;\n\tbox-shadow: 0 0 10px 2px $base1;\n\tpadding: 0.5em 0.5em;\n\tmargin-top: 1em;\n}\n\n.note:after {\n\tcontent: \" \";\n\tdisplay: block;\n\theight: 0;\n\tclear: both;\n}\n\n.note a {\n\tword-wrap: break-word;\n}\n\n.note .e-content p:first-child {\n\tmargin-top: 0;\n}\n\n.note-metadata {\n\twidth: 100%;\n}\n\n.social-links {\n\tfloat: right;\n}\n\n.social-links a {\n\ttext-decoration: none;\n}\n\n.icon {\n\twidth: auto;\n\theight: 1em;\n\tfill: $blue;\n}\n\n.reply {\n\tmargin-left: 2em;\n\tmargin-right: 2em;\n\tfont-size: 0.8em;\n\tpadding: 0.5em 0.5em;\n}\n\n.reply-to {\n\tmargin-left: 2em;\n\tmargin-right: 2em;\n\tfont-size: 0.8em;\n\tpadding-top: 2em;\n}\n\n.reply-to + .note {\n\tmargin-top: 0.3em;\n}\n\n.mini-h-card {\n\tborder-radius: 2px;\n\tborder: 1px solid $base01;\n\tpadding: 0 0.2em;\n\ttext-decoration: none;\n\tmargin-right: 5px;\n\twhite-space: nowrap;\n}\n\n.mini-h-card img {\n\theight: 1.26em;\n\tdisplay: inline;\n\tborder-radius: 2px;\n\tvertical-align: text-bottom;\n}\n\n.like-photo {\n\theight: 1.26em;\n}\n\n.reply .e-content {\n\tmargin-top: 0.5em;\n\tpadding-left: 0.5em;\n}\n\n.notes-subtitle {\n\tfont-size: 1em;\n}\n\n.note-photo {\n\twidth: 100%;\n\theight: auto;\n\timage-orientation: from-image;\n}\n\n//articles\n\narticle header {\n\tmargin-top: 0.5em;\n\tmargin-bottom: 0.8em;\n}\n\n.post-info {\n\tfont-size: 0.8em;\n\tfont-style: italic;\n\tmargin-top: -0.8em;\n}\n\n//contacts\n.contact {\n\tposition: relative;\n}\n\n.contact-links {\n\tlist-style-type: none;\n}\n\n.contact img {\n\theight: auto;\n\twidth: 2em;\n\tposition: absolute;\n\ttop: 0;\n\tleft: 0;\n}\n\n.contact-info {\n\tmargin-left: 2em;\n}\n\n#map {\n\theight: 300px;\n}\n\n/* media queries */\n@media (min-width: 700px) {\n\tmain {\n\t\tmargin-left: 10em;\n\t\tmargin-right: 10em;\n\t}\n\n\tfooter {\n\t\tmargin-left: 13em;\n\t\tmargin-right: 13em;\n\t}\n\n\t.youtube {\n\t\twidth: 640px;\n\t\theight: 360px;\n\t}\n}\n\n@media (max-width: 699px) {\n\tmain {\n\t\tmargin-left: 10px;\n\t\tmargin-right: 10px;\n\t}\n\n\tarticle {\n\t\tword-wrap: break-word;\n\t}\n\n\tfooter {\n\t\tmargin-left: 15px;\n\t\tmargin-right: 15px;\n\t}\n\n\t.youtube {\n\t\twidth: 100%;\n\t\theight: auto;\n\t}\n}\n","//fonts.scss\n\nbody {\n\ttext-rendering: optimizeLegibility;\n\tfont-feature-settings: \"liga\";\n\tfont-family: $font-stack-body;\n\tfont-size: 1.2em;\n}\n\n#topheader h1 {\n\tfont-family: $font-stack-body;\n}\n\nh1 {\n\tfont-family: $font-stack-headers;\n}\n\n#topheader a {\n\ttext-decoration: none;\n}\n\nnav {\n\tfont-feature-settings: \"dlig\";\n}\n\narticle header h1 a {\n\ttext-decoration: none;\n}\n\narticle div a {\n\ttext-decoration: none;\n}\n\nfooter {\n\tfont-size: 0.8em;\n}\n\n.emoji {\n\twidth: auto;\n\theight: 1em;\n}\n","//colours.scss\nbody {\n\tcolor: $base03;\n}\n\nheader a {\n\tcolor: $base03;\n}\n\na {\n\tcolor: $blue;\n}","//forms.scss\n\nform {\n\twidth: 100%;\n}\n\nfieldset {\n\tmin-width: 0;\n\twidth: 100%;\n}\n\ninput[type=\"text\"], input[type=\"file\"], textarea {\n\twidth: 100%;\n}\n\ninput, button, textarea {\n\t-webkit-appearance: none;\n\t-moz-appearance: none;\n\tbackground-color: $base03;\n\tcolor: $base3;\n\tborder: 1px solid $base3;\n\tborder-radius: 4px;\n}\n\nbutton:hover {\n\ttransition: 0.5s ease-in-out;\n\tbackground-color: $base3;\n\tcolor: $base03;\n}\n\nbutton:disabled {\n\tbackground-color: $base1;\n\tcolor: $base03;\n}\n\ninput[type=\"checkbox\"] {\n\t-webkit-appearance: checkbox;\n\t-moz-appearance: checkbox;\n}\n\n#photo {\n\tbackground: inherit;\n\tcolor: inherit;\n\tborder: none;\n}\n","//twitter.scss\n\n.twitter-tweet-rendered {\n margin-bottom: 0 !important;\n}\n\n.twitter-tweet-rendered + .note {\n margin-top: 0;\n}\n"],"sourceRoot":"/source/"} \ No newline at end of file +{"version":3,"sources":["global.scss","layout.scss","components/fonts.scss","components/colours.scss","components/forms.scss","components/twitter.scss"],"names":[],"mappings":"AAyBA;EACC,+CAAe,EACf;;AAED;EACC,cAAc,EACd;;AC5BD;EACC,uBAAuB,EACvB;;AAED;EACC,oBAAoB,EACpB;;AAED;EACC,qBAAc;EAAd,cAAc;EACd,mBAAe;EAAf,eAAe,EACf;;AAED;EACC,mBAAmB,EACnB;;AAED;EACC,mBAAmB,EACnB;;AAED;EACC,kBAAkB,EAClB;;AAED;EACC,0BDhBkB;ECiBlB,iCDlBkB;ECmBlB,qBAAqB;EACrB,gBAAgB,EAChB;;AAED;EACC,aAAa;EACb,eAAe;EACf,UAAU;EACV,YAAY,EACZ;;AAEK;EACL,sBAAsB,EACtB;;AAEiB;EACjB,cAAc,EACd;;AAED;EACC,YAAY,EACZ;;AAED;EACC,aAAa,EACb;;AAEa;EACb,sBAAsB,EACtB;;AAED;EACC,YAAY;EACZ,YAAY;EACZ,cD7CkB,EC8ClB;;AAED;EACC,iBAAiB;EACjB,kBAAkB;EAClB,iBAAiB;EACjB,qBAAqB,EACrB;;AAED;EACC,iBAAiB;EACjB,kBAAkB;EAClB,iBAAiB;EACjB,iBAAiB,EACjB;;AAED;EACC,kBAAkB,EAClB;;AAED;EACC,mBAAmB;EACnB,0BD/EkB;ECgFlB,iBAAiB;EACjB,sBAAsB;EACtB,kBAAkB;EAClB,oBAAoB,EACpB;;AAED;EACC,eAAe;EACf,gBAAgB;EAChB,mBAAmB;EACnB,4BAA4B,EAC5B;;AAED;EACC,eAAe,EACf;;AAEM;EACN,kBAAkB;EAClB,oBAAoB,EACpB;;AAED;EACC,eAAe,EACf;;AAED;EACC,YAAY;EACZ,aAAa;EACb,8BAA8B,EAC9B;;AAID;EACC,kBAAkB;EAClB,qBAAqB,EACrB;;AAED;EACC,iBAAiB;EACjB,mBAAmB;EACnB,mBAAmB,EACnB;;AAGD;EACC,mBAAmB,EACnB;;AAED;EACC,sBAAsB,EACtB;;AAEQ;EACR,aAAa;EACb,WAAW;EACX,mBAAmB;EACnB,OAAO;EACP,QAAQ,EACR;;AAED;EACC,iBAAiB,EACjB;;AAED;EACC,cAAc,EACd;;AAED,mBAAmB;AACnB;EACC;IACC,kBAAkB;IAClB,mBAAmB,EACnB;EAED;IACC,kBAAkB;IAClB,mBAAmB,EACnB;EAED;IACC,aAAa;IACb,cAAc,EACd,EAAA;;AAGF;EACC;IACC,kBAAkB;IAClB,mBAAmB,EACnB;EAED;IACC,sBAAsB,EACtB;EAED;IACC,kBAAkB;IAClB,mBAAmB,EACnB;EAED;IACC,YAAY;IACZ,aAAa,EACb,EAAA;;ACjMF;EACC,mCAAmC;EACnC,8BAA8B;EAC9B,mCFFsC;EEGtC,iBAAiB,EACjB;;AAEU;EACV,mCFPsC,EEQtC;;AAED;EACC,mCFVyC,EEWzC;;AAEU;EACV,sBAAsB,EACtB;;AAED;EACC,8BAA8B,EAC9B;;AAED;EACC,sBAAsB,EACtB;;AAEW;EACX,sBAAsB,EACtB;;AAED;EACC,iBAAiB,EACjB;;AAED;EACC,YAAY;EACZ,YAAY,EACZ;;ACvCD;EACC,eHKkB,EGJlB;;AAED;EACC,eHCkB,EGAlB;;AAED;EACC,eHUkB,EGTlB;;ACTD;EACC,YAAY,EACZ;;AAED;EACC,aAAa;EACb,YAAY,EACZ;;AAED;EACC,YAAY,EACZ;;AAED;EACC,yBAAyB;EACzB,sBAAsB;EACtB,0BJXkB;EIYlB,eJLkB;EIMlB,0BJNkB;EIOlB,mBAAmB,EACnB;;AAED;EACC,6BAA6B;EAC7B,0BJZkB;EIalB,eJpBkB,EIqBlB;;AAEK;EACL,0BJnBkB;EIoBlB,eJzBkB,EI0BlB;;AAED;EACC,6BAA6B;EAC7B,0BAA0B,EAC1B;;AAED;EACC,oBAAoB;EACpB,eAAe;EACf,aAAa,EACb;;AC1CD;EACE,4BAA4B,EAC7B;;AAED;EACE,cAAc,EACf","file":"global.css","sourcesContent":["//global.scss\n\n//variables\n$font-stack-body: \"leitura-news\", serif;\n$font-stack-headers: \"prenton\", sans-serif;\n\n//solarized variables TERMCOL\n$base03: #002b36;//brblack\n$base02: #073642;//black\n$base01: #586e75;//brgreen\n$base00: #657b83;//bryellow\n$base0: #839496;//brblue\n$base1: #93a1a1;//brcyan\n$base2: #eee8d5;//white\n$base3: #fdf6e3;//brwhite\n$yellow: #b58900;\n$orange: #cb4b16;\n$red: #dc322f;\n$magenta: #d33682;\n$violet: #6c71c4;\n$blue: #268bd2;\n$cyan: #2aa198;\n$green: #859900;\n\n//global styles\nhtml {\n\tbackground: url('/assets/img/escheresque.png');\n}\n\n.map {\n\theight: 150px;\n}\n\n//layout\n@import \"layout\";\n\n//components\n@import \"components/fonts\";\n@import \"components/colours\";\n@import \"components/forms\";\n@import \"components/twitter\";\n","//layout.scss\n\n//boxes\nhtml {\n\tbox-sizing: border-box;\n}\n\n*, *:before, *:after {\n\tbox-sizing: inherit;\n}\n\n#topheader {\n\tdisplay: flex;\n\tflex-flow: row;\n}\n\n#topheader a {\n\tpadding: 0.5em 1em;\n}\n\nnav {\n\tpadding-top: 0.5em;\n}\n\n.social-list {\n\tpadding-left: 2em;\n}\n\n.note {\n\tbackground-color: $base2;\n\tbox-shadow: 0 0 10px 2px $base1;\n\tpadding: 0.5em 0.5em;\n\tmargin-top: 1em;\n}\n\n.note:after {\n\tcontent: \" \";\n\tdisplay: block;\n\theight: 0;\n\tclear: both;\n}\n\n.note a {\n\tword-wrap: break-word;\n}\n\n.note .e-content p:first-child {\n\tmargin-top: 0;\n}\n\n.note-metadata {\n\twidth: 100%;\n}\n\n.social-links {\n\tfloat: right;\n}\n\n.social-links a {\n\ttext-decoration: none;\n}\n\n.icon {\n\twidth: auto;\n\theight: 1em;\n\tfill: $blue;\n}\n\n.reply {\n\tmargin-left: 2em;\n\tmargin-right: 2em;\n\tfont-size: 0.8em;\n\tpadding: 0.5em 0.5em;\n}\n\n.reply-to {\n\tmargin-left: 2em;\n\tmargin-right: 2em;\n\tfont-size: 0.8em;\n\tpadding-top: 2em;\n}\n\n.reply-to + .note {\n\tmargin-top: 0.3em;\n}\n\n.mini-h-card {\n\tborder-radius: 2px;\n\tborder: 1px solid $base01;\n\tpadding: 0 0.2em;\n\ttext-decoration: none;\n\tmargin-right: 5px;\n\twhite-space: nowrap;\n}\n\n.mini-h-card img {\n\theight: 1.26em;\n\tdisplay: inline;\n\tborder-radius: 2px;\n\tvertical-align: text-bottom;\n}\n\n.like-photo {\n\theight: 1.26em;\n}\n\n.reply .e-content {\n\tmargin-top: 0.5em;\n\tpadding-left: 0.5em;\n}\n\n.notes-subtitle {\n\tfont-size: 1em;\n}\n\n.note-photo {\n\twidth: 100%;\n\theight: auto;\n\timage-orientation: from-image;\n}\n\n//articles\n\narticle header {\n\tmargin-top: 0.5em;\n\tmargin-bottom: 0.8em;\n}\n\n.post-info {\n\tfont-size: 0.8em;\n\tfont-style: italic;\n\tmargin-top: -0.8em;\n}\n\n//contacts\n.contact {\n\tposition: relative;\n}\n\n.contact-links {\n\tlist-style-type: none;\n}\n\n.contact img {\n\theight: auto;\n\twidth: 2em;\n\tposition: absolute;\n\ttop: 0;\n\tleft: 0;\n}\n\n.contact-info {\n\tmargin-left: 2em;\n}\n\n#map {\n\theight: 300px;\n}\n\n/* media queries */\n@media (min-width: 700px) {\n\tmain {\n\t\tmargin-left: 10em;\n\t\tmargin-right: 10em;\n\t}\n\n\tfooter {\n\t\tmargin-left: 13em;\n\t\tmargin-right: 13em;\n\t}\n\n\t.youtube {\n\t\twidth: 640px;\n\t\theight: 360px;\n\t}\n}\n\n@media (max-width: 699px) {\n\tmain {\n\t\tmargin-left: 10px;\n\t\tmargin-right: 10px;\n\t}\n\n\tarticle {\n\t\tword-wrap: break-word;\n\t}\n\n\tfooter {\n\t\tmargin-left: 15px;\n\t\tmargin-right: 15px;\n\t}\n\n\t.youtube {\n\t\twidth: 100%;\n\t\theight: auto;\n\t}\n}\n","//fonts.scss\n\nbody {\n\ttext-rendering: optimizeLegibility;\n\tfont-feature-settings: \"liga\";\n\tfont-family: $font-stack-body;\n\tfont-size: 1.2em;\n}\n\n#topheader h1 {\n\tfont-family: $font-stack-body;\n}\n\nh1 {\n\tfont-family: $font-stack-headers;\n}\n\n#topheader a {\n\ttext-decoration: none;\n}\n\nnav {\n\tfont-feature-settings: \"dlig\";\n}\n\narticle header h1 a {\n\ttext-decoration: none;\n}\n\narticle div a {\n\ttext-decoration: none;\n}\n\nfooter {\n\tfont-size: 0.8em;\n}\n\n.emoji {\n\twidth: auto;\n\theight: 1em;\n}\n","//colours.scss\nbody {\n\tcolor: $base03;\n}\n\nheader a {\n\tcolor: $base03;\n}\n\na {\n\tcolor: $blue;\n}","//forms.scss\n\nform {\n\twidth: 100%;\n}\n\nfieldset {\n\tmin-width: 0;\n\twidth: 100%;\n}\n\ninput[type=\"text\"], input[type=\"file\"], textarea {\n\twidth: 100%;\n}\n\ninput, button, textarea {\n\t-webkit-appearance: none;\n\t-moz-appearance: none;\n\tbackground-color: $base03;\n\tcolor: $base3;\n\tborder: 1px solid $base3;\n\tborder-radius: 4px;\n}\n\nbutton:hover {\n\ttransition: 0.5s ease-in-out;\n\tbackground-color: $base3;\n\tcolor: $base03;\n}\n\nbutton:disabled {\n\tbackground-color: $base1;\n\tcolor: $base03;\n}\n\ninput[type=\"checkbox\"] {\n\t-webkit-appearance: checkbox;\n\t-moz-appearance: checkbox;\n}\n\n#photo {\n\tbackground: inherit;\n\tcolor: inherit;\n\tborder: none;\n}\n","//twitter.scss\n\n.twitter-tweet-rendered {\n margin-bottom: 0 !important;\n}\n\n.twitter-tweet-rendered + .note {\n margin-top: 0;\n}\n"],"sourceRoot":"/source/"} \ No newline at end of file diff --git a/public/assets/js/form-save.js b/public/assets/js/form-save.js index 151d1219..20d8f0a7 100644 --- a/public/assets/js/form-save.js +++ b/public/assets/js/form-save.js @@ -1,69 +1,69 @@ +/* global alertify, store */ var feature = { - addEventListener : !!window.addEventListener, - querySelectorAll : !!document.querySelectorAll, + addEventListener : !!window.addEventListener, + querySelectorAll : !!document.querySelectorAll }; -if(feature.addEventListener && feature.querySelectorAll) { - this.init(); -} -function init() { - var keys = getKeys(); - for(var i = 0; i < keys.length; i++) { - if(store.get(keys[i])) { - var formId = keys[i].split("~")[1]; - document.getElementById(formId).value = store.get(keys[i]); + +if (feature.addEventListener && feature.querySelectorAll) { + var keys = getKeys(); + for (var i = 0; i < keys.length; i++) { + if (store.get(keys[i])) { + var formId = keys[i].split('~')[1]; + document.getElementById(formId).value = store.get(keys[i]); + } } - } } + var timerId = window.setInterval(function() { - var saved = false; - var inputs = document.querySelectorAll('input[type=text], textarea'); - for(var i = 0; i < inputs.length; i++) { - var key = getFormElement(inputs[i]).id + '~' + inputs[i].id; - if(store.get(key) !== inputs[i].value && inputs[i].value !== "") { - store.set(key, inputs[i].value); - saved = true; + var saved = false; + var inputs = document.querySelectorAll('input[type=text], textarea'); + for (var i = 0; i < inputs.length; i++) { + var key = getFormElement(inputs[i]).id + '~' + inputs[i].id; + if (store.get(key) !== inputs[i].value && inputs[i].value !== '') { + store.set(key, inputs[i].value); + saved = true; + } + } + if (saved === true) { + alertify.logPosition('top right'); + alertify.success('Auto saved text'); } - } - if(saved === true) { - alertify.logPosition('top right'); - alertify.success('Auto saved text'); - } }, 5000); var forms = document.querySelectorAll('form'); -for(var f = 0; f < forms.length; f++) { - var form = forms[f]; - form.addEventListener('submit', function() { - window.clearInterval(timerId); - var formId = form.id; - var storedKeys = store.keys(); - for(var i = 0; i < storedKeys.length; i++) { - if(storedKeys[i].indexOf(formId) > -1) { - store.remove(storedKeys[i]); - } - } - }); +for (var f = 0; f < forms.length; f++) { + var form = forms[f]; + form.addEventListener('submit', function() { + window.clearInterval(timerId); + var formId = form.id; + var storedKeys = store.keys(); + for (var i = 0; i < storedKeys.length; i++) { + if (storedKeys[i].indexOf(formId) > -1) { + store.remove(storedKeys[i]); + } + } + }); } function getKeys() { - var keys = []; - var formFields = document.querySelectorAll('input[type=text], textarea'); - for(var f = 0; f < formFields.length; f++) { - var parent = getFormElement(formFields[f]); - if(parent !== false) { - var key = parent.id + '~' + formFields[f].id; - keys.push(key); + var keys = []; + var formFields = document.querySelectorAll('input[type=text], textarea'); + for (var f = 0; f < formFields.length; f++) { + var parent = getFormElement(formFields[f]); + if (parent !== false) { + var key = parent.id + '~' + formFields[f].id; + keys.push(key); + } } - } - return keys; + return keys; } function getFormElement(elem) { - if(elem.nodeName.toLowerCase() !== 'body') { - var parent = elem.parentNode; - if(parent.nodeName.toLowerCase() === 'form') { - return parent; + if (elem.nodeName.toLowerCase() !== 'body') { + var parent = elem.parentNode; + if (parent.nodeName.toLowerCase() === 'form') { + return parent; + } else { + return getFormElement(parent); + } } else { - return getFormElement(parent); + return false; } - } else { - return false; - } } diff --git a/public/assets/js/Autolinker.min.js b/public/assets/js/libs/Autolinker.min.js similarity index 100% rename from public/assets/js/Autolinker.min.js rename to public/assets/js/libs/Autolinker.min.js diff --git a/public/assets/js/alertify.js b/public/assets/js/libs/alertify.js similarity index 100% rename from public/assets/js/alertify.js rename to public/assets/js/libs/alertify.js diff --git a/public/assets/js/fetch.js b/public/assets/js/libs/fetch.js similarity index 100% rename from public/assets/js/fetch.js rename to public/assets/js/libs/fetch.js diff --git a/public/assets/js/marked.min.js b/public/assets/js/libs/marked.min.js similarity index 100% rename from public/assets/js/marked.min.js rename to public/assets/js/libs/marked.min.js diff --git a/public/assets/js/prism.js b/public/assets/js/libs/prism.js similarity index 100% rename from public/assets/js/prism.js rename to public/assets/js/libs/prism.js diff --git a/public/assets/js/store2.min.js b/public/assets/js/libs/store2.min.js similarity index 100% rename from public/assets/js/store2.min.js rename to public/assets/js/libs/store2.min.js diff --git a/public/assets/js/links.js b/public/assets/js/links.js index b683edd5..5871e0e3 100644 --- a/public/assets/js/links.js +++ b/public/assets/js/links.js @@ -1,3 +1,4 @@ +/* global Autolinker */ //the autlinker object var autolinker = new Autolinker(); @@ -6,20 +7,20 @@ var ytidregex = /watch\?v=([A-Za-z0-9\-_]+)/; //grab the notes and loop through them var notes = document.querySelectorAll('.e-content'); -for(var i = 0; i < notes.length; i++) { - //get Youtube ID - var ytid = notes[i].textContent.match(ytidregex); - if(ytid !== null) { - var id = ytid[1]; - var iframe = document.createElement('iframe'); - iframe.classList.add('youtube'); - iframe.setAttribute('src', '//www.youtube.com/embed/' + id); - iframe.setAttribute('frameborder', 0); - iframe.setAttribute('allowfullscreen', 'true'); - notes[i].appendChild(iframe); - } - //now linkify everything - var orig = notes[i].innerHTML; - var linked = autolinker.link(orig); - notes[i].innerHTML = linked; -} \ No newline at end of file +for (var i = 0; i < notes.length; i++) { + //get Youtube ID + var ytid = notes[i].textContent.match(ytidregex); + if (ytid !== null) { + var id = ytid[1]; + var iframe = document.createElement('iframe'); + iframe.classList.add('youtube'); + iframe.setAttribute('src', '//www.youtube.com/embed/' + id); + iframe.setAttribute('frameborder', 0); + iframe.setAttribute('allowfullscreen', 'true'); + notes[i].appendChild(iframe); + } + //now linkify everything + var orig = notes[i].innerHTML; + var linked = autolinker.link(orig); + notes[i].innerHTML = linked; +} diff --git a/public/assets/js/maps.js b/public/assets/js/maps.js index 4901c5da..6f178f8c 100644 --- a/public/assets/js/maps.js +++ b/public/assets/js/maps.js @@ -1,6 +1,7 @@ +/* global L */ //This code runs on page load and looks for
, then adds map var mapDivs = document.querySelectorAll('.map'); -for(var i = 0; i < mapDivs.length; i++) { +for (var i = 0; i < mapDivs.length; i++) { var mapDiv = mapDivs[i]; var latitude = mapDiv.dataset.latitude; var longitude = mapDiv.dataset.longitude; @@ -8,8 +9,8 @@ for(var i = 0; i < mapDivs.length; i++) { var map = L.mapbox.map(mapDiv, 'jonnybarnes.gnoihnim') .setView([latitude, longitude], 15) .addLayer(L.mapbox.tileLayer('jonnybarnes.gnoihnim', { - detectRetina: true, - })); - var marker = L.marker([latitude, longitude]).addTo(map); + detectRetina: true + })); + L.marker([latitude, longitude]).addTo(map); map.scrollWheelZoom.disable(); } diff --git a/public/assets/js/newnote.js b/public/assets/js/newnote.js index 2a26b261..54d2edd5 100644 --- a/public/assets/js/newnote.js +++ b/public/assets/js/newnote.js @@ -1,3 +1,4 @@ +/* global L */ if ('geolocation' in navigator) { var button = document.querySelector('#locate'); if (button.addEventListener) { @@ -39,7 +40,7 @@ function addPlaces(latitude, longitude) { addMap(latitude, longitude); } }).catch(function (err) { - console.log(err); + console.error(err); }); } @@ -57,11 +58,11 @@ function addMap(latitude, longitude, places) { var map = L.mapbox.map('map', 'jonnybarnes.gnoihnim') .setView([latitude, longitude], 15) .addLayer(L.mapbox.tileLayer('jonnybarnes.gnoihnim', { - detectRetina: true, + detectRetina: true })); //add a marker for the current location var marker = L.marker([latitude, longitude], { - draggable: true, + draggable: true }).addTo(map); //when the location marker is dragged, if the new place form elements exist //update the lat/lng values @@ -81,13 +82,13 @@ function addMap(latitude, longitude, places) { var noLocation = document.createElement('option'); noLocation.setAttribute('selected', 'selected'); noLocation.setAttribute('value', 'no-location'); - noLocText = document.createTextNode('Select no location'); + var noLocText = document.createTextNode('Select no location'); noLocation.appendChild(noLocText); selectEl.appendChild(noLocation); form.insertBefore(selectEl, div); if (places !== null) { //add the places both to the map and - places.forEach(function (item, index, array) { + places.forEach(function (item) { var option = document.createElement('option'); option.setAttribute('value', item[1]); var text = document.createTextNode(item[0]); @@ -106,7 +107,7 @@ function addMap(latitude, longitude, places) { placeMarker.bindPopup(name, { closeButton: true }); - placeMarker.on('click', function (e) { + placeMarker.on('click', function () { map.panTo([item[2], item[3]]); selectPlace(item[1]); }); @@ -130,7 +131,7 @@ function addMap(latitude, longitude, places) { //add the form elements var nameLabel = document.createElement('label'); nameLabel.setAttribute('for', 'place-name'); - nameLabel.classList.add('place-label') + nameLabel.classList.add('place-label'); nameLabel.appendChild(document.createTextNode('Place Name:')); var nameEl = document.createElement('input'); nameEl.setAttribute('placeholder', 'Name'); @@ -194,8 +195,16 @@ function addMap(latitude, longitude, places) { method: 'post', body: formData }) - .then(status) - .then(json) + .then(function (response) { + if (response.status >= 200 && response.status < 300) { + return Promise.resolve(response); + } else { + return Promise.reject(new Error(response.statusText)); + } + }) + .then(function (response) { + return response.json(); + }) .then(function (placeJson) { //create the slug from the url var urlParts = placeJson.split('/'); @@ -206,8 +215,8 @@ function addMap(latitude, longitude, places) { form.removeChild(document.querySelector('#place-latitude')); form.removeChild(document.querySelector('#place-longitude')); var labels = document.querySelectorAll('.place-label'); - for (var label of labels) { - form.removeChild(label); + for (var i = 0; i < labels.length; ++i) { + form.removeChild(labels[i]); } form.removeChild(document.querySelector('#place-submit')); form.removeChild(document.querySelector('#create-new-place')); @@ -231,16 +240,16 @@ function addMap(latitude, longitude, places) { newPlaceMarker.bindPopup(newName, { closeButton: true }); - newPlaceMarker.on('click', function (e) { + newPlaceMarker.on('click', function () { map.panTo([placeJson['latitude'], placeJson['longitude']]); selectPlace(slug); }); //make selected selectPlace(slug); }).catch(function (placeError) { - console.log(placeError); + console.error(placeError); }); - }) + }); }); form.insertBefore(newLocButton, div); } @@ -270,15 +279,3 @@ function getLongitudeFromMapboxMarker(latlng) { return location[1]; } - -function status(response) { - if (response.status >= 200 && response.status < 300) { - return Promise.resolve(response); - } else { - return Promise.reject(new Error(response.statusText)); - } -} - -function json(response) { - return response.json(); -} diff --git a/public/build/assets/js/newnote-36ff29cdef.js.br b/public/build/assets/js/newnote-36ff29cdef.js.br new file mode 100644 index 00000000..36835332 Binary files /dev/null and b/public/build/assets/js/newnote-36ff29cdef.js.br differ diff --git a/public/build/assets/js/newnote-36ff29cdef.js.gz b/public/build/assets/js/newnote-36ff29cdef.js.gz new file mode 100644 index 00000000..3737ec44 Binary files /dev/null and b/public/build/assets/js/newnote-36ff29cdef.js.gz differ diff --git a/public/build/assets/js/newnote-c1700073b7.js.br b/public/build/assets/js/newnote-c1700073b7.js.br deleted file mode 100644 index 920c3a5b..00000000 Binary files a/public/build/assets/js/newnote-c1700073b7.js.br and /dev/null differ diff --git a/public/build/assets/js/newnote-c1700073b7.js.gz b/public/build/assets/js/newnote-c1700073b7.js.gz deleted file mode 100644 index b1d81ea5..00000000 Binary files a/public/build/assets/js/newnote-c1700073b7.js.gz and /dev/null differ diff --git a/public/build/assets/js/newplace-18722f800b.js.br b/public/build/assets/js/newplace-18722f800b.js.br deleted file mode 100644 index 1634bc75..00000000 Binary files a/public/build/assets/js/newplace-18722f800b.js.br and /dev/null differ diff --git a/public/build/assets/js/newplace-18722f800b.js.gz b/public/build/assets/js/newplace-18722f800b.js.gz deleted file mode 100644 index db9cb1c7..00000000 Binary files a/public/build/assets/js/newplace-18722f800b.js.gz and /dev/null differ diff --git a/public/build/assets/js/newplace-18722f800b.js b/public/build/assets/js/newplace-89a1be080e.js similarity index 90% rename from public/build/assets/js/newplace-18722f800b.js rename to public/build/assets/js/newplace-89a1be080e.js index 166031a4..548b5fff 100644 --- a/public/build/assets/js/newplace-18722f800b.js +++ b/public/build/assets/js/newplace-89a1be080e.js @@ -1,3 +1,4 @@ +/* global L */ var button = document.querySelector('#locate'); if (button.addEventListener) { @@ -12,8 +13,6 @@ function getLocation() { updateForm(position.coords.latitude, position.coords.longitude); addMap(position.coords.latitude, position.coords.longitude); }); - } else { - console.log('I need to do something when geoloaction isn’t available.'); } } @@ -33,10 +32,10 @@ function addMap(latitude, longitude) { var map = L.mapbox.map('map', 'jonnybarnes.gnoihnim') .setView([latitude, longitude], 15) .addLayer(L.mapbox.tileLayer('jonnybarnes.gnoihnim', { - detectRetina: true, + detectRetina: true })); var marker = L.marker([latitude, longitude], { - draggable: true, + draggable: true }).addTo(map); marker.on('dragend', function () { var markerLocation = marker.getLatLng(); diff --git a/public/build/assets/js/newplace-89a1be080e.js.br b/public/build/assets/js/newplace-89a1be080e.js.br new file mode 100644 index 00000000..bd9dd8fc Binary files /dev/null and b/public/build/assets/js/newplace-89a1be080e.js.br differ diff --git a/public/build/assets/js/newplace-89a1be080e.js.gz b/public/build/assets/js/newplace-89a1be080e.js.gz new file mode 100644 index 00000000..3b712e7d Binary files /dev/null and b/public/build/assets/js/newplace-89a1be080e.js.gz differ diff --git a/public/build/assets/js/prism-f6e997bc6d.js.gz b/public/build/assets/js/prism-f6e997bc6d.js.gz deleted file mode 100644 index aaeb5ca2..00000000 Binary files a/public/build/assets/js/prism-f6e997bc6d.js.gz and /dev/null differ diff --git a/public/build/assets/js/store2.min-c4daa8f871.js.gz b/public/build/assets/js/store2.min-c4daa8f871.js.gz deleted file mode 100644 index 657123f1..00000000 Binary files a/public/build/assets/js/store2.min-c4daa8f871.js.gz and /dev/null differ diff --git a/public/build/rev-manifest.json b/public/build/rev-manifest.json index 1ca6076b..9b46a19e 100644 --- a/public/build/rev-manifest.json +++ b/public/build/rev-manifest.json @@ -1,18 +1,18 @@ { "assets/css/alertify.css": "assets/css/alertify-d84546f82d.css", - "assets/css/global.css": "assets/css/global-ef9dfef096.css", + "assets/css/global.css": "assets/css/global-f45e4f1fb0.css", "assets/css/prism.css": "assets/css/prism-5c98941a94.css", "assets/css/projects.css": "assets/css/projects-d945298e4f.css", "assets/css/sanitize.min.css": "assets/css/sanitize.min-535bccd783.css", - "assets/js/Autolinker.min.js": "assets/js/Autolinker.min-b46556773a.js", - "assets/js/alertify.js": "assets/js/alertify-269e23cb46.js", - "assets/js/fetch.js": "assets/js/fetch-5e9040330a.js", - "assets/js/form-save.js": "assets/js/form-save-7849d1a5f3.js", - "assets/js/links.js": "assets/js/links-ea4c99f585.js", - "assets/js/maps.js": "assets/js/maps-ffa37774ae.js", - "assets/js/marked.min.js": "assets/js/marked.min-c2a88705e2.js", - "assets/js/newnote.js": "assets/js/newnote-c1700073b7.js", - "assets/js/newplace.js": "assets/js/newplace-18722f800b.js", - "assets/js/prism.js": "assets/js/prism-f6e997bc6d.js", - "assets/js/store2.min.js": "assets/js/store2.min-c4daa8f871.js" + "assets/js/form-save.js": "assets/js/form-save-4d4f6e1cb8.js", + "assets/js/libs/Autolinker.min.js": "assets/js/libs/Autolinker.min-b46556773a.js", + "assets/js/libs/alertify.js": "assets/js/libs/alertify-269e23cb46.js", + "assets/js/libs/fetch.js": "assets/js/libs/fetch-5e9040330a.js", + "assets/js/libs/marked.min.js": "assets/js/libs/marked.min-c2a88705e2.js", + "assets/js/libs/prism.js": "assets/js/libs/prism-f6e997bc6d.js", + "assets/js/libs/store2.min.js": "assets/js/libs/store2.min-c4daa8f871.js", + "assets/js/links.js": "assets/js/links-c394f9c920.js", + "assets/js/maps.js": "assets/js/maps-a6a01a253b.js", + "assets/js/newnote.js": "assets/js/newnote-36ff29cdef.js", + "assets/js/newplace.js": "assets/js/newplace-89a1be080e.js" } \ No newline at end of file diff --git a/resources/views/admin/editarticle.blade.php b/resources/views/admin/editarticle.blade.php index 3e2ec22f..91750209 100644 --- a/resources/views/admin/editarticle.blade.php +++ b/resources/views/admin/editarticle.blade.php @@ -26,7 +26,7 @@ Edit Article « Admin CP @section('scripts') @parent - + + - - + + diff --git a/resources/views/admin/newnote.blade.php b/resources/views/admin/newnote.blade.php index 9787c822..9ac6ac5b 100644 --- a/resources/views/admin/newnote.blade.php +++ b/resources/views/admin/newnote.blade.php @@ -26,8 +26,8 @@ New Note « Admin CP - - + + diff --git a/resources/views/admin/newplace.blade.php b/resources/views/admin/newplace.blade.php index c4f9b8d4..51d0c86f 100644 --- a/resources/views/admin/newplace.blade.php +++ b/resources/views/admin/newplace.blade.php @@ -19,6 +19,8 @@ New Place « Admin CP @stop @section('scripts') - + + + @stop diff --git a/resources/views/allnotes.blade.php b/resources/views/allnotes.blade.php index eb41df56..64afad1f 100644 --- a/resources/views/allnotes.blade.php +++ b/resources/views/allnotes.blade.php @@ -22,10 +22,10 @@ Notes « Jonny Barnes - + - + @stop diff --git a/resources/views/micropubnewnotepage.blade.php b/resources/views/micropubnewnotepage.blade.php index 4aa5bd38..be528d3a 100644 --- a/resources/views/micropubnewnotepage.blade.php +++ b/resources/views/micropubnewnotepage.blade.php @@ -35,9 +35,9 @@ New Note « Jonny Barnes - - - + + + diff --git a/resources/views/multipost.blade.php b/resources/views/multipost.blade.php index 59bab313..7dd840fa 100644 --- a/resources/views/multipost.blade.php +++ b/resources/views/multipost.blade.php @@ -25,6 +25,6 @@ Articles « Jonny Barnes @stop @section('scripts') - + @stop diff --git a/resources/views/singlenote.blade.php b/resources/views/singlenote.blade.php index 40b0101c..a650a163 100644 --- a/resources/views/singlenote.blade.php +++ b/resources/views/singlenote.blade.php @@ -34,10 +34,10 @@ - + - + @stop diff --git a/resources/views/singlepost.blade.php b/resources/views/singlepost.blade.php index 8b42a7fb..da5ba5de 100644 --- a/resources/views/singlepost.blade.php +++ b/resources/views/singlepost.blade.php @@ -19,6 +19,6 @@ @stop @section('scripts') - + @stop