Преглед на файлове

Fix deprecated URL, disable unused taxonomy kinds

master
Chris Smith преди 5 години
родител
ревизия
61032847fb
променени са 2 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 1
    0
      site/config.yaml
  2. 1
    1
      site/layouts/partials/album.html

+ 1
- 0
site/config.yaml Целия файл

@@ -2,5 +2,6 @@ baseurl: https://www.chameth.com
2 2
 disablePathToLower: true
3 3
 languageCode: en-gb
4 4
 title: Chameth.com
5
+disableKinds: ["taxonomy", "taxonomyTerm"]
5 6
 
6 7
 pygmentsuseclasses: true

+ 1
- 1
site/layouts/partials/album.html Целия файл

@@ -7,7 +7,7 @@
7 7
   </header>
8 8
 
9 9
   {{ range $photo := .Params.photos }}
10
-    <a href="{{ replace $.URL "/photos/" "https://photos.chameth.com/" }}{{ $photo.file }}"
10
+    <a href="{{ replace $.RelPermalink "/photos/" "https://photos.chameth.com/" }}{{ $photo.file }}"
11 11
        class="image gallery"
12 12
        data-lightbox="gallery"
13 13
        data-title="{{ $photo.caption }}">

Loading…
Отказ
Запис