Updating documentation
This commit is contained in:
2
.vscode/settings.json
vendored
2
.vscode/settings.json
vendored
@@ -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"
|
||||||
|
|||||||
@@ -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?.
|
||||||
|
|||||||
@@ -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),
|
||||||
]),
|
]),
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user