diff options
author | it-gro <13005925+it-gro@users.noreply.github.com> | 2019-08-16 00:58:54 +0300 |
---|---|---|
committer | it-gro <13005925+it-gro@users.noreply.github.com> | 2019-08-16 00:58:54 +0300 |
commit | 6a157d9d8f21700ffc633936754739a5946d6fd1 (patch) | |
tree | 99cf5d1bb9638a9d1a7a3f8c737d98150202adfd | |
parent | f6a063f4ee06f3cb89c0d8a80f9584ce9920a5e3 (diff) |
wip
-rw-r--r-- | images/screenshot.1.png | bin | 1009163 -> 0 bytes | |||
-rw-r--r-- | images/screenshot.1.xcf | bin | 3531062 -> 0 bytes | |||
-rw-r--r-- | images/tn.1.xcf | bin | 780499 -> 0 bytes | |||
-rw-r--r-- | images/tn.2.xcf | bin | 841222 -> 0 bytes | |||
-rw-r--r-- | images/tn.3.xcf | bin | 413606 -> 0 bytes | |||
-rw-r--r-- | images/tn.4.xcf | bin | 878802 -> 0 bytes | |||
-rw-r--r-- | images/tn.5.xcf | bin | 803694 -> 0 bytes | |||
-rw-r--r-- | images/tn.6.xcf | bin | 621313 -> 0 bytes | |||
-rw-r--r-- | images/tn.7.xcf | bin | 701729 -> 0 bytes | |||
-rw-r--r-- | images/tn.png | bin | 488616 -> 438246 bytes | |||
-rw-r--r-- | layouts/_default/baseof.html | 9 | ||||
-rw-r--r-- | theme.toml | 2 |
12 files changed, 7 insertions, 4 deletions
diff --git a/images/screenshot.1.png b/images/screenshot.1.png Binary files differdeleted file mode 100644 index 94c53d0..0000000 --- a/images/screenshot.1.png +++ /dev/null diff --git a/images/screenshot.1.xcf b/images/screenshot.1.xcf Binary files differdeleted file mode 100644 index e243e33..0000000 --- a/images/screenshot.1.xcf +++ /dev/null diff --git a/images/tn.1.xcf b/images/tn.1.xcf Binary files differdeleted file mode 100644 index 69ea8b1..0000000 --- a/images/tn.1.xcf +++ /dev/null diff --git a/images/tn.2.xcf b/images/tn.2.xcf Binary files differdeleted file mode 100644 index 892ef10..0000000 --- a/images/tn.2.xcf +++ /dev/null diff --git a/images/tn.3.xcf b/images/tn.3.xcf Binary files differdeleted file mode 100644 index 9b16bc4..0000000 --- a/images/tn.3.xcf +++ /dev/null diff --git a/images/tn.4.xcf b/images/tn.4.xcf Binary files differdeleted file mode 100644 index 249e99c..0000000 --- a/images/tn.4.xcf +++ /dev/null diff --git a/images/tn.5.xcf b/images/tn.5.xcf Binary files differdeleted file mode 100644 index eacf183..0000000 --- a/images/tn.5.xcf +++ /dev/null diff --git a/images/tn.6.xcf b/images/tn.6.xcf Binary files differdeleted file mode 100644 index c2a78ed..0000000 --- a/images/tn.6.xcf +++ /dev/null diff --git a/images/tn.7.xcf b/images/tn.7.xcf Binary files differdeleted file mode 100644 index cca631c..0000000 --- a/images/tn.7.xcf +++ /dev/null diff --git a/images/tn.png b/images/tn.png Binary files differindex 71f1918..957aa81 100644 --- a/images/tn.png +++ b/images/tn.png 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} <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} <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} <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 }} @@ -86,7 +86,7 @@ features = [ , "tracing" , "w3css" ] -min_version = "0.55" +min_version = "0.57.1" [author] name = "it-gro" |