diff --git a/content/photography/index.md b/content/photography/index.md index 21cf463..507eab7 100644 --- a/content/photography/index.md +++ b/content/photography/index.md @@ -6,10 +6,11 @@ layout = "photography" +++ {{< gallery - match="*.jpg|*.jpeg|*.png|*.webp|*.gif" + match="*.webp" sortOrder="desc" rowHeight="150" margins="5" thumbnailResizeOptions="600x600 q90 Lanczos" previewType="blur" >}} +{{< /gallery >}} diff --git a/layouts/shortcodes/gallery.html b/layouts/shortcodes/gallery.html new file mode 100644 index 0000000..4773be6 --- /dev/null +++ b/layouts/shortcodes/gallery.html @@ -0,0 +1,462 @@ + + + + + + + + + + +{{/* The following is a fallback: you may want to copy the full upstream gallery.html here for more advanced features. */}} +
+ {{ .Inner }} +
+ +{{ $currentPage := . }} + +{{ $images := slice }} +{{ $globalMatch := .Get "globalMatch" }} +{{ $localMatch := .Get "match" }} + +{{ if $localMatch }} + {{ $images = (.Page.Resources.Match $localMatch )}} +{{ else if $globalMatch }} + {{ $images = (resources.Match (.Get "globalMatch")) }} +{{ else }} + {{ $images = (.Page.Resources.ByType "image") }} +{{ end }} + +{{ $filterOptions := .Get "filterOptions" | default (.Site.Params.galleryFilterOptions | default "[]") }} +{{ if not $filterOptions }} + {{ $filterOptions = "[]" }} +{{ end }} + +{{ $storeSelectedFilterInUrl := .Get "storeSelectedFilterInUrl" | default (.Site.Params.storeSelectedFilterInUrl | default false) }} + +{{ $sortOrder := .Get "sortOrder" | default (.Site.Params.gallerySortOrder | default "asc") }} + +{{ $rowHeight := .Get "rowHeight" | default (.Site.Params.galleryRowHeight | default 150) }} + +{{ $margins := .Get "margins" | default (.Site.Params.galleryRowMargins | default 5) }} + +{{ $randomize := .Get "randomize" | default (.Site.Params.galleryRandomize | default false) }} + +{{ $thumbnailResizeOptions := .Get "thumbnailResizeOptions" | default (.Site.Params.galleryThumbnailResizeOptions | default "300x150 q85 Lanczos") }} + +{{ $imageResizeOptions := .Get "imageResizeOptions" | default .Site.Params.galleryImageResizeOptions }} + +{{ $loadJQuery := .Get "loadJQuery" | default (.Site.Params.galleryLoadJQuery | default false) }} + +{{ $showExif := .Get "showExif" | default (.Site.Params.galleryShowExif | default false) }} + +{{ $swipeboxParameters := .Get "swipeboxParameters" | default (.Site.Params.gallerySwipeboxParameters | default "") }} + +{{ $justifiedGalleryParameters := .Get "justifiedGalleryParameters" | default (.Site.Params.galleryJustifiedGalleryParameters | default "") }} + +{{ $previewType := .Get "previewType" | default (.Site.Params.galleryPreviewType | default "blur") }} + +{{ $embedPreview := .Get "embedPreview" | default (.Site.Params.galleryEmbedPreview | default true) }} + +{{ $thumbnailHoverEffect := .Get "thumbnailHoverEffect" | default (.Site.Params.galleryThumbnailHoverEffect | default "none") }} + + +{{ $thumbnailResourceDir := printf "%s%s" (.Site.Params.resourceDir | default "resources") "/_gen/images/" }} + + +{{ if not (.Page.Scratch.Get "galleryLoaded") }} + {{ .Page.Scratch.Set "galleryLoaded" true }} + + + + + + {{ if not (eq $previewType "none") }} + + {{ end }} + + + + + + +{{ end }} + + + + +{{ $galleryId := (printf "gallery-%v-%v" .Page.File.UniqueID .Ordinal)}} +{{ $galleryWrapperId := (printf "gallery-%v-%v-wrapper" .Page.File.UniqueID .Ordinal)}} + + + + \ No newline at end of file diff --git a/public/photography/alaska_hu34a3db403a6d15e1be6b8915f5f3957b_481414_164b32309cb0a00acd0e77a5b81f21fe.webp b/public/photography/alaska_hu34a3db403a6d15e1be6b8915f5f3957b_481414_164b32309cb0a00acd0e77a5b81f21fe.webp new file mode 100644 index 0000000..b28bad2 Binary files /dev/null and b/public/photography/alaska_hu34a3db403a6d15e1be6b8915f5f3957b_481414_164b32309cb0a00acd0e77a5b81f21fe.webp differ diff --git a/public/photography/amsterdam_hue897c24a4be3635a85443ea7a87e4df2_4283874_4602035e2a12212668cd57cc3caa71fb.webp b/public/photography/amsterdam_hue897c24a4be3635a85443ea7a87e4df2_4283874_4602035e2a12212668cd57cc3caa71fb.webp new file mode 100644 index 0000000..e696358 Binary files /dev/null and b/public/photography/amsterdam_hue897c24a4be3635a85443ea7a87e4df2_4283874_4602035e2a12212668cd57cc3caa71fb.webp differ diff --git a/public/photography/blacksand_hu73858c18f56baa7ee2d63062e408eeb7_282138_d41bd39882b66874bdb253acf872148d.webp b/public/photography/blacksand_hu73858c18f56baa7ee2d63062e408eeb7_282138_d41bd39882b66874bdb253acf872148d.webp new file mode 100644 index 0000000..80f64ef Binary files /dev/null and b/public/photography/blacksand_hu73858c18f56baa7ee2d63062e408eeb7_282138_d41bd39882b66874bdb253acf872148d.webp differ diff --git a/public/photography/burnedtrees_hu922fd06174a174b422330b14b49d9159_2653202_a3288c472107c7bf2d3973f3829715d4.webp b/public/photography/burnedtrees_hu922fd06174a174b422330b14b49d9159_2653202_a3288c472107c7bf2d3973f3829715d4.webp new file mode 100644 index 0000000..1629026 Binary files /dev/null and b/public/photography/burnedtrees_hu922fd06174a174b422330b14b49d9159_2653202_a3288c472107c7bf2d3973f3829715d4.webp differ diff --git a/public/photography/camping_hu137a80eeed953400983d66aba62e9405_710606_bd112485d87d0429fd990a73db822c20.webp b/public/photography/camping_hu137a80eeed953400983d66aba62e9405_710606_bd112485d87d0429fd990a73db822c20.webp new file mode 100644 index 0000000..d7a05e5 Binary files /dev/null and b/public/photography/camping_hu137a80eeed953400983d66aba62e9405_710606_bd112485d87d0429fd990a73db822c20.webp differ diff --git a/public/photography/chair21_hu5a8bed7e330da2bf8e00c15886428055_221068_b2612d35b8ffa9ca08fcf3019091956c.webp b/public/photography/chair21_hu5a8bed7e330da2bf8e00c15886428055_221068_b2612d35b8ffa9ca08fcf3019091956c.webp new file mode 100644 index 0000000..b33861f Binary files /dev/null and b/public/photography/chair21_hu5a8bed7e330da2bf8e00c15886428055_221068_b2612d35b8ffa9ca08fcf3019091956c.webp differ diff --git a/public/photography/chair9_hu283ca2ad9a635a9664d9270c4221bd5d_116514_2ed61182132ed728938d5f3404f5bb5d.webp b/public/photography/chair9_hu283ca2ad9a635a9664d9270c4221bd5d_116514_2ed61182132ed728938d5f3404f5bb5d.webp new file mode 100644 index 0000000..5b4ddf0 Binary files /dev/null and b/public/photography/chair9_hu283ca2ad9a635a9664d9270c4221bd5d_116514_2ed61182132ed728938d5f3404f5bb5d.webp differ diff --git a/public/photography/chair9face_hu207d6db51b73dc00bd8b914b245772a8_194308_cd989a124649846cb4331bbed7d42b71.webp b/public/photography/chair9face_hu207d6db51b73dc00bd8b914b245772a8_194308_cd989a124649846cb4331bbed7d42b71.webp new file mode 100644 index 0000000..d2b5b74 Binary files /dev/null and b/public/photography/chair9face_hu207d6db51b73dc00bd8b914b245772a8_194308_cd989a124649846cb4331bbed7d42b71.webp differ diff --git a/public/photography/chopper_hu6b797327885e01f90de1b6c097009bbe_588286_f195dd3f3512eef974d920a0ca4bba50.webp b/public/photography/chopper_hu6b797327885e01f90de1b6c097009bbe_588286_f195dd3f3512eef974d920a0ca4bba50.webp new file mode 100644 index 0000000..1cf35a7 Binary files /dev/null and b/public/photography/chopper_hu6b797327885e01f90de1b6c097009bbe_588286_f195dd3f3512eef974d920a0ca4bba50.webp differ diff --git a/public/photography/cistern_hud0d1fa3ca83dc856476d7eda2a1ce91d_205430_4131ef026aa7d2faeaa3260c792baec8.webp b/public/photography/cistern_hud0d1fa3ca83dc856476d7eda2a1ce91d_205430_4131ef026aa7d2faeaa3260c792baec8.webp new file mode 100644 index 0000000..1a74213 Binary files /dev/null and b/public/photography/cistern_hud0d1fa3ca83dc856476d7eda2a1ce91d_205430_4131ef026aa7d2faeaa3260c792baec8.webp differ diff --git a/public/photography/cruise_hu37d435ba3601b7812baa6afe6a8bff23_227444_bb17316e293b5dd2aa09fc84ee2afee0.webp b/public/photography/cruise_hu37d435ba3601b7812baa6afe6a8bff23_227444_bb17316e293b5dd2aa09fc84ee2afee0.webp new file mode 100644 index 0000000..97b74e6 Binary files /dev/null and b/public/photography/cruise_hu37d435ba3601b7812baa6afe6a8bff23_227444_bb17316e293b5dd2aa09fc84ee2afee0.webp differ diff --git a/public/photography/embarcadero_hua60847b03662c0478a62762125e5b495_267866_d9b7418eb31e4173b539d68f7ec84c5c.webp b/public/photography/embarcadero_hua60847b03662c0478a62762125e5b495_267866_d9b7418eb31e4173b539d68f7ec84c5c.webp new file mode 100644 index 0000000..7f662ed Binary files /dev/null and b/public/photography/embarcadero_hua60847b03662c0478a62762125e5b495_267866_d9b7418eb31e4173b539d68f7ec84c5c.webp differ diff --git a/public/photography/glade_hu8488c2ae69af3b2fce2d6f3fc64b8e83_1735054_74f1a223614dce2d3ec4c56aff2474e7.webp b/public/photography/glade_hu8488c2ae69af3b2fce2d6f3fc64b8e83_1735054_74f1a223614dce2d3ec4c56aff2474e7.webp new file mode 100644 index 0000000..368f59a Binary files /dev/null and b/public/photography/glade_hu8488c2ae69af3b2fce2d6f3fc64b8e83_1735054_74f1a223614dce2d3ec4c56aff2474e7.webp differ diff --git a/public/photography/grandcanyon_huad6c0442c0d0b6395872bf121e569c80_1367694_36d2f811f450943163f344f93acdb7f5.webp b/public/photography/grandcanyon_huad6c0442c0d0b6395872bf121e569c80_1367694_36d2f811f450943163f344f93acdb7f5.webp new file mode 100644 index 0000000..c78e6b0 Binary files /dev/null and b/public/photography/grandcanyon_huad6c0442c0d0b6395872bf121e569c80_1367694_36d2f811f450943163f344f93acdb7f5.webp differ diff --git a/public/photography/hawaii_hu8a7aec7f863e2e92bd8c70f929d4b7e1_587086_1b1094ee0e94871229d904912d548c6c.webp b/public/photography/hawaii_hu8a7aec7f863e2e92bd8c70f929d4b7e1_587086_1b1094ee0e94871229d904912d548c6c.webp new file mode 100644 index 0000000..83745e4 Binary files /dev/null and b/public/photography/hawaii_hu8a7aec7f863e2e92bd8c70f929d4b7e1_587086_1b1094ee0e94871229d904912d548c6c.webp differ diff --git a/public/photography/hooverdam_hud466c72f2a0596c66a1b231394d14ff6_824702_acd8a8af8bca30c974ae1045367168ee.webp b/public/photography/hooverdam_hud466c72f2a0596c66a1b231394d14ff6_824702_acd8a8af8bca30c974ae1045367168ee.webp new file mode 100644 index 0000000..bb1cbd0 Binary files /dev/null and b/public/photography/hooverdam_hud466c72f2a0596c66a1b231394d14ff6_824702_acd8a8af8bca30c974ae1045367168ee.webp differ diff --git a/public/photography/iguana_hu09bccf8b7decf26c0a87e6108f4f88bf_1016840_5077f46fe9458b5434f2d6ecf051ea15.webp b/public/photography/iguana_hu09bccf8b7decf26c0a87e6108f4f88bf_1016840_5077f46fe9458b5434f2d6ecf051ea15.webp new file mode 100644 index 0000000..01812a8 Binary files /dev/null and b/public/photography/iguana_hu09bccf8b7decf26c0a87e6108f4f88bf_1016840_5077f46fe9458b5434f2d6ecf051ea15.webp differ diff --git a/public/photography/index.html b/public/photography/index.html index 177ee36..48b6ae8 100644 --- a/public/photography/index.html +++ b/public/photography/index.html @@ -1,3 +1,3 @@ Photography :: Conner Chu

Photography


\ No newline at end of file +

Photography


\ No newline at end of file diff --git a/public/photography/july4_hu48f6a22d1baf13cf32e2f5b868f2d951_665148_f7a6004437e3226f6ef929777dd2aedb.webp b/public/photography/july4_hu48f6a22d1baf13cf32e2f5b868f2d951_665148_f7a6004437e3226f6ef929777dd2aedb.webp new file mode 100644 index 0000000..c2a31cf Binary files /dev/null and b/public/photography/july4_hu48f6a22d1baf13cf32e2f5b868f2d951_665148_f7a6004437e3226f6ef929777dd2aedb.webp differ diff --git a/public/photography/lobos_hu32bdfe69e1bf728b70f6e1ad18ba57a5_958534_3fdedffd1ef011811d28daa5cf53394d.webp b/public/photography/lobos_hu32bdfe69e1bf728b70f6e1ad18ba57a5_958534_3fdedffd1ef011811d28daa5cf53394d.webp new file mode 100644 index 0000000..c599c0d Binary files /dev/null and b/public/photography/lobos_hu32bdfe69e1bf728b70f6e1ad18ba57a5_958534_3fdedffd1ef011811d28daa5cf53394d.webp differ diff --git a/public/photography/maine_huf42ec27e52fe373e7925510cba06fbdb_1409890_f0825100591df4d215fbe15c0e290915.webp b/public/photography/maine_huf42ec27e52fe373e7925510cba06fbdb_1409890_f0825100591df4d215fbe15c0e290915.webp new file mode 100644 index 0000000..33a0a8b Binary files /dev/null and b/public/photography/maine_huf42ec27e52fe373e7925510cba06fbdb_1409890_f0825100591df4d215fbe15c0e290915.webp differ diff --git a/public/photography/newport_hue42e86eac3c2eee61228bc7311e1d47c_825022_87de34a7458fc08d28b6ecea005bce2e.webp b/public/photography/newport_hue42e86eac3c2eee61228bc7311e1d47c_825022_87de34a7458fc08d28b6ecea005bce2e.webp new file mode 100644 index 0000000..bf3cc70 Binary files /dev/null and b/public/photography/newport_hue42e86eac3c2eee61228bc7311e1d47c_825022_87de34a7458fc08d28b6ecea005bce2e.webp differ diff --git a/public/photography/pinos_huf4270023e6732522d9aaebd663663e70_1638102_c580ce259e38127140afa5a77b866d40.webp b/public/photography/pinos_huf4270023e6732522d9aaebd663663e70_1638102_c580ce259e38127140afa5a77b866d40.webp new file mode 100644 index 0000000..fc3fd4c Binary files /dev/null and b/public/photography/pinos_huf4270023e6732522d9aaebd663663e70_1638102_c580ce259e38127140afa5a77b866d40.webp differ diff --git a/public/photography/railBlazerClose_hud53d636c2d70466a66ae5112076f463b_627920_3104a346bcf30fecb789515667ba02d8.webp b/public/photography/railBlazerClose_hud53d636c2d70466a66ae5112076f463b_627920_3104a346bcf30fecb789515667ba02d8.webp new file mode 100644 index 0000000..c1f0e93 Binary files /dev/null and b/public/photography/railBlazerClose_hud53d636c2d70466a66ae5112076f463b_627920_3104a346bcf30fecb789515667ba02d8.webp differ diff --git a/public/photography/rice_hu9308a2bd4e77880a567bd16fa440b23c_84794_dabe847c2b435eb7b7b551bc62e2f4ae.webp b/public/photography/rice_hu9308a2bd4e77880a567bd16fa440b23c_84794_dabe847c2b435eb7b7b551bc62e2f4ae.webp new file mode 100644 index 0000000..658de17 Binary files /dev/null and b/public/photography/rice_hu9308a2bd4e77880a567bd16fa440b23c_84794_dabe847c2b435eb7b7b551bc62e2f4ae.webp differ diff --git a/public/photography/tulum_hu60d0334f7e21280506329128e5a1e30c_710048_1c2bed33c59c1b8cc988b28544c32178.webp b/public/photography/tulum_hu60d0334f7e21280506329128e5a1e30c_710048_1c2bed33c59c1b8cc988b28544c32178.webp new file mode 100644 index 0000000..bcd4000 Binary files /dev/null and b/public/photography/tulum_hu60d0334f7e21280506329128e5a1e30c_710048_1c2bed33c59c1b8cc988b28544c32178.webp differ diff --git a/public/tidbits/index.html b/public/tidbits/index.html index fddc31e..1de7d22 100644 --- a/public/tidbits/index.html +++ b/public/tidbits/index.html @@ -1,8 +1,256 @@ -Tidbits :: Conner Chu -

Tidbits

\ No newline at end of file + + + + + + + + + + + + + + + + + + Tidbits :: Conner Chu + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+ + +
+ + + +
+

Tidbits

+ + + + + + + + + + + + +
+ +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + diff --git a/public/tidbits/page/1/index.html b/public/tidbits/page/1/index.html index 5af98b5..30e638c 100644 --- a/public/tidbits/page/1/index.html +++ b/public/tidbits/page/1/index.html @@ -1,2 +1,10 @@ -https://connerchu.com/tidbits/ - \ No newline at end of file + + + + http://localhost:44669/tidbits/ + + + + + +