diff options
author | it-gro <grossnik@tuvok> | 2018-08-25 19:12:04 +0300 |
---|---|---|
committer | it-gro <grossnik@tuvok> | 2018-08-25 19:12:04 +0300 |
commit | b97c2195e9719fde529653404799fc6dde595f57 (patch) | |
tree | 7b6cef13322e2b49db25a561163696eadc576428 | |
parent | f7b22c927877f446a057141536744588073b12e1 (diff) |
Undo debug code
-rw-r--r-- | exampleSite/.config.w3css-basic-exampleSite.toml | 3 | ||||
-rw-r--r-- | exampleSite/config.toml | 1 | ||||
-rw-r--r-- | layouts/partials/resource.image.html | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/exampleSite/.config.w3css-basic-exampleSite.toml b/exampleSite/.config.w3css-basic-exampleSite.toml index 8027cfd..a328717 100644 --- a/exampleSite/.config.w3css-basic-exampleSite.toml +++ b/exampleSite/.config.w3css-basic-exampleSite.toml @@ -2,7 +2,7 @@ # ################################################## # Hugo-defined variables -baseURL = "https://example.com" +baseURL = "https://example.com/hugo-theme-w3css-basic.github.io" title = "W3.CSS Basic exampleSite" theme = "hugo-theme-w3css-basic" @@ -546,6 +546,7 @@ consectetuer adipiscing #traceFlags = "html-comment:debug-shortcodes" #traceFlags = "html-comment:debug-shortcode-res-figure" #traceFlags = "html-comment:debug-shortcode-res-debug" + #traceFlags = "html-comment:debug-partial-resource-image" traceFlags = "html-comment" # custom css and custom js diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 81fc55b..07d2f00 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -541,6 +541,7 @@ consectetuer adipiscing #traceFlags = "html-comment:debug-shortcodes" #traceFlags = "html-comment:debug-shortcode-res-figure" #traceFlags = "html-comment:debug-shortcode-res-debug" + #traceFlags = "html-comment:debug-partial-resource-image" traceFlags = "html-comment" # custom css and custom js diff --git a/layouts/partials/resource.image.html b/layouts/partials/resource.image.html index 7c786f7..8976044 100644 --- a/layouts/partials/resource.image.html +++ b/layouts/partials/resource.image.html @@ -70,7 +70,7 @@ theResImgOpt : {{- $theResImgOpt }} <br/> <img class="{{ $theImgClass }}" style="{{ $theImgStyle | safeCSS }}" - src='{{ $myImage.Permalink }}' + src='{{$thePage.Site.BaseURL}}/{{ $myImage.RelPermalink }}' alt='{{ $myImage.RelPermalink }}' > {{- end }} |