Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/it-gro/hugo-theme-w3css-basic.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorit-gro <13005925+it-gro@users.noreply.github.com>2019-08-16 00:58:54 +0300
committerit-gro <13005925+it-gro@users.noreply.github.com>2019-08-16 00:58:54 +0300
commit6a157d9d8f21700ffc633936754739a5946d6fd1 (patch)
tree99cf5d1bb9638a9d1a7a3f8c737d98150202adfd
parentf6a063f4ee06f3cb89c0d8a80f9584ce9920a5e3 (diff)
wip
-rw-r--r--images/screenshot.1.pngbin1009163 -> 0 bytes
-rw-r--r--images/screenshot.1.xcfbin3531062 -> 0 bytes
-rw-r--r--images/tn.1.xcfbin780499 -> 0 bytes
-rw-r--r--images/tn.2.xcfbin841222 -> 0 bytes
-rw-r--r--images/tn.3.xcfbin413606 -> 0 bytes
-rw-r--r--images/tn.4.xcfbin878802 -> 0 bytes
-rw-r--r--images/tn.5.xcfbin803694 -> 0 bytes
-rw-r--r--images/tn.6.xcfbin621313 -> 0 bytes
-rw-r--r--images/tn.7.xcfbin701729 -> 0 bytes
-rw-r--r--images/tn.pngbin488616 -> 438246 bytes
-rw-r--r--layouts/_default/baseof.html9
-rw-r--r--theme.toml2
12 files changed, 7 insertions, 4 deletions
diff --git a/images/screenshot.1.png b/images/screenshot.1.png
deleted file mode 100644
index 94c53d0..0000000
--- a/images/screenshot.1.png
+++ /dev/null
Binary files differ
diff --git a/images/screenshot.1.xcf b/images/screenshot.1.xcf
deleted file mode 100644
index e243e33..0000000
--- a/images/screenshot.1.xcf
+++ /dev/null
Binary files differ
diff --git a/images/tn.1.xcf b/images/tn.1.xcf
deleted file mode 100644
index 69ea8b1..0000000
--- a/images/tn.1.xcf
+++ /dev/null
Binary files differ
diff --git a/images/tn.2.xcf b/images/tn.2.xcf
deleted file mode 100644
index 892ef10..0000000
--- a/images/tn.2.xcf
+++ /dev/null
Binary files differ
diff --git a/images/tn.3.xcf b/images/tn.3.xcf
deleted file mode 100644
index 9b16bc4..0000000
--- a/images/tn.3.xcf
+++ /dev/null
Binary files differ
diff --git a/images/tn.4.xcf b/images/tn.4.xcf
deleted file mode 100644
index 249e99c..0000000
--- a/images/tn.4.xcf
+++ /dev/null
Binary files differ
diff --git a/images/tn.5.xcf b/images/tn.5.xcf
deleted file mode 100644
index eacf183..0000000
--- a/images/tn.5.xcf
+++ /dev/null
Binary files differ
diff --git a/images/tn.6.xcf b/images/tn.6.xcf
deleted file mode 100644
index c2a78ed..0000000
--- a/images/tn.6.xcf
+++ /dev/null
Binary files differ
diff --git a/images/tn.7.xcf b/images/tn.7.xcf
deleted file mode 100644
index cca631c..0000000
--- a/images/tn.7.xcf
+++ /dev/null
Binary files differ
diff --git a/images/tn.png b/images/tn.png
index 71f1918..957aa81 100644
--- a/images/tn.png
+++ b/images/tn.png
Binary files differ
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 062a89e..5b5b5e5 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -50,13 +50,16 @@
{{- end}}
{{- /* .Content */}}
- {{- $.Scratch.Set `myContent` (.Content | replaceRE `(?s:</div>\s?</p>)` `</div>` | replaceRE `(?s:</pre>\s?</p>)` `</pre>` | replaceRE `(?s:</figure>\s*</p>)` `</figure>` ) }}
+ {{/*- $.Scratch.Set `myContent` (.Content | replaceRE `(?s:</div>\s?</p>)` `</div>` | replaceRE `(?s:</pre>\s?</p>)` `</pre>` | replaceRE `(?s:</figure>\s*</p>)` `</figure>` ) */}}
+ {{- $myContent := (.Content | replaceRE `(?s:</div>\s?</p>)` `</div>` | replaceRE `(?s:</pre>\s?</p>)` `</pre>` | replaceRE `(?s:</figure>\s*</p>)` `</figure>` ) }}
{{- if isset $.Site.Params (lower `anchor` ) }}
{{- if $.Site.Params.anchor.enable }}
- {{- $.Scratch.Set `myContent` ( ($.Scratch.Get `myContent`) | replaceRE `(<h[1-9] id="([^"]+)".+)(</h[1-9]+>)` (printf `${1}&nbsp;<a class="anchor w3-small " href="#${2}"><i class="%s"></i></a> ${3}` (default "fas fa-link" $.Site.Params.anchor.icon) ) ) }}
+ {{/*- $.Scratch.Set `myContent` ( ($.Scratch.Get `myContent`) | replaceRE `(<h[1-9] id="([^"]+)".+)(</h[1-9]+>)` (printf `${1}&nbsp;<a class="anchor w3-small " href="#${2}"><i class="%s"></i></a> ${3}` (default "fas fa-link" $.Site.Params.anchor.icon) ) ) */}}
+ {{- $myContent := ( ($.Scratch.Get `myContent`) | replaceRE `(<h[1-9] id="([^"]+)".+)(</h[1-9]+>)` (printf `${1}&nbsp;<a class="anchor w3-small " href="#${2}"><i class="%s"></i></a> ${3}` (default "fas fa-link" $.Site.Params.anchor.icon) ) ) }}
{{- end }}
{{- end }}
- {{- ($.Scratch.Get `myContent`) | safeHTML }}
+ {{/*- ($.Scratch.Get `myContent`) | safeHTML */}}
+ {{- $myContent | safeHTML }}
{{- partial `main.related.html` . -}}
{{- end }}
diff --git a/theme.toml b/theme.toml
index ad430f6..6299b57 100644
--- a/theme.toml
+++ b/theme.toml
@@ -86,7 +86,7 @@ features = [
, "tracing"
, "w3css"
]
-min_version = "0.55"
+min_version = "0.57.1"
[author]
name = "it-gro"