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

gitlab.com/VincentTam/huginn.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Tam <sere@live.hk>2019-05-20 22:18:35 +0300
committerVincent Tam <sere@live.hk>2019-05-20 22:18:35 +0300
commit37c259fc127f562561d5c90c145b61f90eee2070 (patch)
tree1c5438ee17858a49a22809c93871a94078ee8943 /README.md
parent4dea197f5b9aed929473f2f99e4720f8e48c1d20 (diff)
Formattage de README encore
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 79f5796..4f5a6a4 100644
--- a/README.md
+++ b/README.md
@@ -15,7 +15,7 @@ As of today **Huginn** supports :
- JavaScript lightbox powered by [baguetteBox.js](https://github.com/feimosi/baguetteBox.js)
- A `lightbox` shortcode for simple one-image display
- A `gallery` partial to display a nice gallery at the end of your post
- - Displaying a link and the name of a song you were listening at while writing a post (activated in front-matter with `song: [title](link)`)
+ - Displaying a link and the name of a song you were listening at while writing a post (activated in front-matter with `song: [title](link)`)
- Comments powered by [Isso](https://posativ.org/isso/) for
now. A parameter in `config.yaml` is used to specify Isso server
`{{ .Site.Params.isso_server }}`
@@ -33,7 +33,7 @@ The `lightbox` shortcode is pretty simple and looks like this:
{{ $img := (.Page.Resources.ByType "image").GetMatch ( printf "images/lightbox/%s*" (.Get "img")) }}
{{ $align := (.Get "align") }}
{{ .Scratch.Set "image" ($img.Resize "256x q80") }}
-{{ $scaled := .Scratch.Get "image" }}
+{{ $scaled := .Scratch.Get "image" }}
<a href="{{ $img.RelPermalink }}">
<img class="thumbnail {{ with $align }}{{ . }}{{ end }}" src="{{ $scaled.Permalink }}">
</a>