From 825a12e541644b20d53298a5265c8bf083606928 Mon Sep 17 00:00:00 2001 From: Daniel Tomlinson Date: Mon, 8 Jun 2020 03:34:48 +0100 Subject: [PATCH] Updating documentation --- .vscode/settings.json | 2 +- blog/content/post/second_post/index.md | 6 ++++-- blog/gulpfile.js/index.js | 6 +++--- blog/todo-webpack.todo | 12 +++++++++++- 4 files changed, 19 insertions(+), 7 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index daa7680..50e9341 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,5 +1,5 @@ { - "editor.defaultFormatter": "HookyQR.beautify", + "editor.defaultFormatter": "akmittal.hugofy", "editor.formatOnPaste": false, "[html]": { "editor.defaultFormatter": "HookyQR.beautify" diff --git a/blog/content/post/second_post/index.md b/blog/content/post/second_post/index.md index 89d904b..8fbae5f 100644 --- a/blog/content/post/second_post/index.md +++ b/blog/content/post/second_post/index.md @@ -11,8 +11,6 @@ tags: ["Introduction", "test", "another", "tagging", "hugo", "newz"] Hugo ships with several [Built-in Shortcodes](https://gohugo.io/content-management/shortcodes/#use-hugo-s-built-in-shortcodes) for rich content, along with a [Privacy Config](https://gohugo.io/about/hugo-and-gdpr/) and a set of Simple Shortcodes that enable static and no-JS versions of various social media embeds. -## - ## Test code ```python @@ -57,6 +55,10 @@ def flask(): {{< img "images/banner.svg*" >}} +### Test indent + +something + ## Test table Does Hugo put the class of the table as `content table`? If so do we need to add the bootstrap `table` class?. diff --git a/blog/gulpfile.js/index.js b/blog/gulpfile.js/index.js index cd30bd8..8853b41 100644 --- a/blog/gulpfile.js/index.js +++ b/blog/gulpfile.js/index.js @@ -103,7 +103,7 @@ function minifyJS() { function insertLunrJS() { var streams = []; jsFiles.forEach(function (module) { - console.log(JSON.stringify(module["minimizedFile"])); + // console.log(JSON.stringify(module["minimizedFile"])); var stream = gulp .src([`${themeDir}/layouts/search/single.html`]) .pipe(replace(module["module"], module["minimizedFile"])) @@ -125,11 +125,11 @@ module.exports = { cleanJS: cleanJS, minifyJS: minifyJS, buildLunr: gulp.series(cleanJS, minifyJS, insertLunrJS), - buildBlog: gulp.parallel([ + buildBlog: gulp.series([ buildSearch, buildHugo, buildTheme, minifyImages, - buildLunr, + gulp.series(cleanJS, minifyJS, insertLunrJS), ]), }; diff --git a/blog/todo-webpack.todo b/blog/todo-webpack.todo index d8f474e..7e0674c 100644 --- a/blog/todo-webpack.todo +++ b/blog/todo-webpack.todo @@ -16,8 +16,18 @@ Tasks: ☐ Using archetypes. ☐ Theme similar to forestry. +Theme: + ☐ Colour scheme (forestry) + ☐ Choose a Colour + ☐ Change link colour + ☐ Change post info colour + ☐ Info, warning admonitions (using colour scheme) + ☐ Post layout + ☐ TOC + Search: - ☐ Have search auto run whenever a button is pressed + ☐ Search bar like Font awesome + ✔ Have search auto run whenever a button is pressed @done (6/7/2020, 5:38:31 PM) Gulp: ✔ Using and to handle hashed images. @done (6/4/2020, 1:28:15 AM)