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

github.com/hivickylai/hugo-theme-sam.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVicky <vicky@vickylai.com>2018-08-04 23:25:50 +0300
committerVicky <vicky@vickylai.com>2018-08-04 23:25:50 +0300
commit93dbce549e9e1ca1fcf89847e51052a5ca7ee372 (patch)
treed865c096cf2df40a5b67f2ef5684a0868f407f14 /exampleSite
parent5271401f5c39ca8ff541b372e9db1df7666c876b (diff)
Add image thumbnails, fix config.toml comment
- add sample thumbnails to exampleSite for feature testing - clarify language in config.toml comments for specifying folder names
Diffstat (limited to 'exampleSite')
-rw-r--r--exampleSite/config.toml6
-rw-r--r--exampleSite/content/gallery/images/small/900-1.jpgbin0 -> 72956 bytes
-rw-r--r--exampleSite/content/gallery/images/small/900-2.jpgbin0 -> 41863 bytes
-rw-r--r--exampleSite/content/gallery/images/small/900-3.jpgbin0 -> 65630 bytes
-rw-r--r--exampleSite/content/gallery/images/small/900-4.jpgbin0 -> 134720 bytes
-rw-r--r--exampleSite/content/gallery/images/small/900-5.jpgbin0 -> 66798 bytes
-rw-r--r--exampleSite/content/gallery/images/small/900-6.jpgbin0 -> 63104 bytes
-rw-r--r--exampleSite/content/gallery/images/small/900-7.jpgbin0 -> 74324 bytes
-rw-r--r--exampleSite/content/gallery/images/small/900-8.jpgbin0 -> 132064 bytes
9 files changed, 3 insertions, 3 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index c04a518..6d1283b 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -11,11 +11,11 @@ pygmentsCodefences = true
dateformfull = "Mon Jan 2 2006 15:04:05 EST"
favicon = "/sam.ico"
homepage = "main" # What to call the home page link
- galleryFolder = "images/" # Where you've put your images, after "/content/gallery/"
+ galleryFolder = "images/" # Where you've put your images, after "/content/gallery/" (eg. "images/")
clickablePhotos = true # Allow links to the full size images
- smallPreviewImages = false # Show small images from the subfolder instead of the big versions in the gallery
+ smallPreviewImages = true # Show thumbnails (small images) instead of using full size images on the gallery page
# Note: This will only become active if clickablePhotos is also true.
- smallImagesSubfolder = "small/" # The subfolder for the small versions of the images under the gallery (with trailing slash)
+ smallImagesSubfolder = "small/" # Folder for image thumbnails (small versions) after "/content/gallery/[galleryFolder]" (eg. "small/")
# For each image the small version has to have the same filename as the big version.
footerText = "Call me Sam, a theme for Hugo."
diff --git a/exampleSite/content/gallery/images/small/900-1.jpg b/exampleSite/content/gallery/images/small/900-1.jpg
new file mode 100644
index 0000000..6ba9bc0
--- /dev/null
+++ b/exampleSite/content/gallery/images/small/900-1.jpg
Binary files differ
diff --git a/exampleSite/content/gallery/images/small/900-2.jpg b/exampleSite/content/gallery/images/small/900-2.jpg
new file mode 100644
index 0000000..e4fef01
--- /dev/null
+++ b/exampleSite/content/gallery/images/small/900-2.jpg
Binary files differ
diff --git a/exampleSite/content/gallery/images/small/900-3.jpg b/exampleSite/content/gallery/images/small/900-3.jpg
new file mode 100644
index 0000000..61a32ea
--- /dev/null
+++ b/exampleSite/content/gallery/images/small/900-3.jpg
Binary files differ
diff --git a/exampleSite/content/gallery/images/small/900-4.jpg b/exampleSite/content/gallery/images/small/900-4.jpg
new file mode 100644
index 0000000..876c648
--- /dev/null
+++ b/exampleSite/content/gallery/images/small/900-4.jpg
Binary files differ
diff --git a/exampleSite/content/gallery/images/small/900-5.jpg b/exampleSite/content/gallery/images/small/900-5.jpg
new file mode 100644
index 0000000..61537e4
--- /dev/null
+++ b/exampleSite/content/gallery/images/small/900-5.jpg
Binary files differ
diff --git a/exampleSite/content/gallery/images/small/900-6.jpg b/exampleSite/content/gallery/images/small/900-6.jpg
new file mode 100644
index 0000000..a4ad40e
--- /dev/null
+++ b/exampleSite/content/gallery/images/small/900-6.jpg
Binary files differ
diff --git a/exampleSite/content/gallery/images/small/900-7.jpg b/exampleSite/content/gallery/images/small/900-7.jpg
new file mode 100644
index 0000000..ae3eab3
--- /dev/null
+++ b/exampleSite/content/gallery/images/small/900-7.jpg
Binary files differ
diff --git a/exampleSite/content/gallery/images/small/900-8.jpg b/exampleSite/content/gallery/images/small/900-8.jpg
new file mode 100644
index 0000000..bc89322
--- /dev/null
+++ b/exampleSite/content/gallery/images/small/900-8.jpg
Binary files differ