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,
|
||||
"[html]": {
|
||||
"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.
|
||||
|
||||
## <!--more-->
|
||||
|
||||
## 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?.
|
||||
|
||||
@@ -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),
|
||||
]),
|
||||
};
|
||||
|
||||
@@ -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 <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