Updating documentation

This commit is contained in:
2020-06-08 03:34:48 +01:00
parent 58a26bf36d
commit 825a12e541
4 changed files with 19 additions and 7 deletions

View File

@@ -1,5 +1,5 @@
{ {
"editor.defaultFormatter": "HookyQR.beautify", "editor.defaultFormatter": "akmittal.hugofy",
"editor.formatOnPaste": false, "editor.formatOnPaste": false,
"[html]": { "[html]": {
"editor.defaultFormatter": "HookyQR.beautify" "editor.defaultFormatter": "HookyQR.beautify"

View File

@@ -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. 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.
## <!--more-->
## Test code ## Test code
```python ```python
@@ -57,6 +55,10 @@ def flask():
{{< img "images/banner.svg*" >}} {{< img "images/banner.svg*" >}}
### Test indent
something
## Test table ## Test table
Does Hugo put the class of the table as `content table`? If so do we need to add the bootstrap `table` class?. Does Hugo put the class of the table as `content table`? If so do we need to add the bootstrap `table` class?.

View File

@@ -103,7 +103,7 @@ function minifyJS() {
function insertLunrJS() { function insertLunrJS() {
var streams = []; var streams = [];
jsFiles.forEach(function (module) { jsFiles.forEach(function (module) {
console.log(JSON.stringify(module["minimizedFile"])); // console.log(JSON.stringify(module["minimizedFile"]));
var stream = gulp var stream = gulp
.src([`${themeDir}/layouts/search/single.html`]) .src([`${themeDir}/layouts/search/single.html`])
.pipe(replace(module["module"], module["minimizedFile"])) .pipe(replace(module["module"], module["minimizedFile"]))
@@ -125,11 +125,11 @@ module.exports = {
cleanJS: cleanJS, cleanJS: cleanJS,
minifyJS: minifyJS, minifyJS: minifyJS,
buildLunr: gulp.series(cleanJS, minifyJS, insertLunrJS), buildLunr: gulp.series(cleanJS, minifyJS, insertLunrJS),
buildBlog: gulp.parallel([ buildBlog: gulp.series([
buildSearch, buildSearch,
buildHugo, buildHugo,
buildTheme, buildTheme,
minifyImages, minifyImages,
buildLunr, gulp.series(cleanJS, minifyJS, insertLunrJS),
]), ]),
}; };

View File

@@ -16,8 +16,18 @@ Tasks:
☐ Using archetypes. ☐ Using archetypes.
☐ Theme similar to forestry. ☐ 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: 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: Gulp:
✔ Using <https://stackoverflow.com/questions/23247642/modify-file-in-place-same-dest-using-gulp-js-and-a-globbing-pattern> and <https://www.npmjs.com/package/gulp-replace> to handle hashed images. @done (6/4/2020, 1:28:15 AM) ✔ Using <https://stackoverflow.com/questions/23247642/modify-file-in-place-same-dest-using-gulp-js-and-a-globbing-pattern> and <https://www.npmjs.com/package/gulp-replace> to handle hashed images. @done (6/4/2020, 1:28:15 AM)