diff --git a/config/config.yml b/config/config.yml
index 4fb7481..376dc2e 100644
--- a/config/config.yml
+++ b/config/config.yml
@@ -21,7 +21,7 @@ twig_config: # Twig template engine config
charset: utf-8 # The charset used by Twig templates
debug: false # Enable Twig's debug mode
cache: .cache # Enable Twig template caching by specifying a path to a writable directory
- auto_reload: false # Recompile Twig templates whenever the source code changes
+ auto_reload: true # Recompile Twig templates whenever the source code changes
##
# Content
diff --git a/content/galerija.md b/content/galerija.md
index 759387a..0a5e717 100644
--- a/content/galerija.md
+++ b/content/galerija.md
@@ -3,6 +3,14 @@ Title: Galerija
Order: 1
---
-Slike pridejo sem nekam?
+## Klemen
+
+[galerija assets/galerije/klemen]
+
+
+
+
+
+## ŠS6
[galerija assets/galerije/gal1]
diff --git a/content/pridruzi.md b/content/pridruzi.md
index 69b2679..304fc9e 100644
--- a/content/pridruzi.md
+++ b/content/pridruzi.md
@@ -21,7 +21,7 @@ Za oporo lahko uporabiš šablono, ki smo jo pripravili in je dostopna [tukaj](h
## Pomagaj na terenu
-Na naslov sisenskasoseska6@gmail.com se javi, če si pripravljen_a sodelovati pri deljenju letakov in zbiranju podpisov.
+Na naslov [sisenskasoseska6](sisenskasoseska6gmail.com){.mlf} se javi, če si pripravljen_a sodelovati pri deljenju letakov in zbiranju podpisov.
## Podpri nas z donacijo
@@ -29,4 +29,4 @@ Trenutno preučujemo pravne možnosti, ki bi nam omogočile ustaviti načrtovane
Vsak evro, ki ga prejmemo iz donacij, bo namenjen za plačilo pravne pomoči.
-Za donacijo nas kontaktiraj na sisenskasoseska6@gmail.com
+Za donacijo nas kontaktiraj na [sisenskasoseska6](sisenskasoseska6gmail.com){.mlf}
diff --git a/plugins/Galerija.php b/plugins/Galerija.php
index 5378f62..7bcccea 100644
--- a/plugins/Galerija.php
+++ b/plugins/Galerija.php
@@ -107,12 +107,15 @@ class Galerija extends AbstractPicoPlugin
protected function getGalerija($path) {
$slike = glob($path . DIRECTORY_SEPARATOR . '*');
+ asort($slike);
$galerija = '' . "\n";
foreach ($slike as $s) {
if (is_file($s)) {
+ //var_dump($this->twig);die;
$thumb = $this->resize($s, $this->width, $this->height);
$lightbox = "data-lightbox=\"hue\"";
+ //$galerija .= " \n";
$galerija .= " \n";
}
}
diff --git a/themes/vihor/css/style.css b/themes/vihor/css/style.css
index c22e08b..5b33fe3 100644
--- a/themes/vihor/css/style.css
+++ b/themes/vihor/css/style.css
@@ -252,6 +252,7 @@ header {
header > a {
display: flex;
flex-direction: column;
+ white-space: nowrap;
}
header img {
max-height: 20rem;
@@ -301,3 +302,7 @@ main > ul {
display: block;
width: 100%;
}
+
+video {
+ width: 100%;
+}
diff --git a/themes/vihor/galerija.twig b/themes/vihor/galerija.twig
deleted file mode 100644
index e1cd321..0000000
--- a/themes/vihor/galerija.twig
+++ /dev/null
@@ -1,80 +0,0 @@
-
-
-
-
-
-
- {% if meta.title %}{{ meta.title }} | {% endif %}{{ site_title }}
-
- {% if meta.description %}
-
- {% endif %}
- {% if meta.robots %}
-
- {% endif %}
-
- {% if current_page %}
-
- {% endif %}
-
-
-
-
-
-
-
-
-
-
- Samoorganizirana skupnost
-
-
-
-
- {% for page in pages if page.title and not page.hidden %}
- {% set page_depth = page.id|split('/')|length %}
- {% if ((page_depth == 2) and (page.id ends with "/index") or (page_depth == 1 and (current_page.id != page.id or current_page.id != "index"))) %}
-
- {{ page.title }}
-
- {% endif %}
- {% endfor %}
-
-
-
- {% if current_page.id ends with "index" %}
- {% set current_tag = current_page.id|split('/')[0] %}
-
- {{ content }}
-
- {% for page in pages|sort_by("time")|reverse if page.title and not page.hidden %}
- {% set page_depth = page.id|split('/')|length %}
- {% set page_tag = page.id|split('/')[0] %}
- {#
- * display all pages in subfolders (depth: 2), that are not index pages for their subfolder (do not end with "index)
- * display pages of all tags on the start page (current_page.id: "index")
- * else display only the tag of the current index
- * do not display pages from the archive (page_tag: "archive") on the start page
- #}
- {% if page_depth == 2 and (current_page.id == "index" or page_tag == current_tag) and not (page.id ends with "index") and not (page_tag == "archive" and current_page.id == "index") %}
-
- / {{ page.date_formatted }} / {% if current_page.id == "index" %}{{ page_tag }} / {% endif %}{{ page.title }}
-
- {% endif %}
- {% endfor %}
-
-
- {% else %}
-
-
- {% set page_depth = current_page.id|split('/')|length %}
- {{ meta.title }}
- {% if page_depth > 1 %}
- ({{ meta.date_formatted }}, {{ meta.author }})
- {% endif %}
-
- {{ content }}
-
- {% endif %}
-
-
diff --git a/themes/vihor/index.twig b/themes/vihor/index.twig
index 09eccfe..888a164 100644
--- a/themes/vihor/index.twig
+++ b/themes/vihor/index.twig
@@ -80,4 +80,5 @@