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:
authorJustin Berthault <justin.berthault@zaclys.net>2017-12-06 10:38:33 +0300
committerJustin Berthault <justin.berthault@zaclys.net>2017-12-06 10:38:33 +0300
commite26f0ff5754cbca6f937914139600a2e252b38ae (patch)
treedd3d2de732fc1adae30d8f21ab4dda4479122274 /README.md
parent4f226e88120a9f603aec05941845c2454995c30b (diff)
Update README
- Featherlight > BaguetteBox
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index 415d6c6..50c9299 100644
--- a/README.md
+++ b/README.md
@@ -12,7 +12,7 @@ As of today **Huginn** supports :
- Related Content
- Rss feeds (tweaked layout to allow full-text rendering)
- Code Highlighting powered by Pygments (might need to install python's pygments package on your computer)
- - Javascript lightbox powered by Featherlight
+ - Javascript lightbox powered by [baguetteBox.js](https://github.com/feimosi/baguetteBox.js)
- A `lightbox` shortcode for simple one-image display (activated in frontmatter with `lightbox = True`)
- A `gallery` shortcode to display all images in a directory(activated in frontmatter with `gallery = True`)
- Displaying a link and the name of a song you were listening at while writing a post (activated in frontmatter with `song: [title](link)`)
@@ -26,7 +26,7 @@ As of today **Huginn** supports :
The `lightbox` shortcode is pretty simple and looks like this :
```
{{- $thumb := .Get "src" | default (printf "%s." ("-thumb") | replace (.Get "img") ".") }}
-<a href={{ .Get "img" }} data-featherlight="{{ .Get "img" }}">
+<a href={{ .Get "img" }}>
<img class="thumbnail {{ .Get "align" }}" src="{{ $thumb }}">
</a>
```
@@ -59,7 +59,7 @@ The `gallery` shortcode is even more simplier than the previous one. All you hav
{{- $thumbexists := where $files "Name" $thumb }}
{{- $thumbURL := print "/img/" ($.Get "dir") "/" $thumb | absURL }}
<div class="gallery-item">
- <a href="{{ $linkURL }}" data-featherlight-gallery="#gallery">
+ <a href="{{ $linkURL }}" >
<img class="thumbnail" src="{{ $thumbURL }}">
</a>
</div>