Lmfao
BEHOLD, FUCKING MEMES.
God damn, this thing is really flexible. Just added a layouts/shortcodes/gallery.html
and slapped a little Go Html Template and some lightbox.js and whatever, and bing-o bang-o boom; motherfucker is an autogallery
. BOOYAH, BITCH.
Cool as fuck.
Of course there’s a little more to it than that. Gotta do some page bundling as well, which is easy enough. Just run your hugo new post/2022-01-01-Title/index.md
and dump your images into content/post/2022-01-01-Title/img
.
This is my gallery.html
:
|
|
BOOM, done! Enjoy some memes.
EDIT: Oh yeah… There’s one more thing. If your template isn’t already using jQuery lightbox you’re going to have to work that shit out on your own. I’m sure it’s not rocket surgery, but best of luck to you.
![](https://redlegion.org/2022-07-19/lmfao/img/1656503932089_huc9471749205cdd465869160987489c23_40938_150x115_fill_q90_h2_lanczos_smart1.webp)
![](https://redlegion.org/2022-07-19/lmfao/img/1656508464014_hu729d1f9d9f131eec356ce9189593639d_36002_150x115_fill_q90_h2_lanczos_smart1.webp)
![](https://redlegion.org/2022-07-19/lmfao/img/1656508526790m_hud79a9cd594126a90955021e145a20dc6_86107_150x115_fill_q90_h2_lanczos_smart1.webp)
![](https://redlegion.org/2022-07-19/lmfao/img/1656508609459_hu4a31184fe167a593a9f87aa560e191ac_107473_150x115_fill_q90_h2_lanczos_smart1.webp)
![](https://redlegion.org/2022-07-19/lmfao/img/1656520680592_hu92cc3363750195f3595de52ae8d34d30_104355_150x115_fill_q90_h2_lanczos_smart1.webp)
![](https://redlegion.org/2022-07-19/lmfao/img/1656531485439_hu1909dc64cd92534807d78c77c6d83ac0_94460_150x115_fill_q90_h2_lanczos_smart1.webp)
![](https://redlegion.org/2022-07-19/lmfao/img/1657847213706_hu4654bb807527654ec497f5cfada12cfe_459013_150x115_fill_q90_h2_lanczos_smart1.webp)
![](https://redlegion.org/2022-07-19/lmfao/img/217_hubce0957812bf5d8d0b53e14e4263a0f7_41600_150x115_fill_q90_h2_lanczos_smart1.webp)
![](https://redlegion.org/2022-07-19/lmfao/img/765_hu81bb74e68a485eeb86231e06b174afd4_44016_150x115_fill_q90_h2_lanczos_smart1.webp)
![](https://redlegion.org/2022-07-19/lmfao/img/CkYMtRHUoAE-D6D_hu430efd9d6d39ce481901bde2986ef09f_14583_150x115_fill_q90_h2_lanczos_smart1.webp)
![](https://redlegion.org/2022-07-19/lmfao/img/CkYWiSsUoAIQ2CN_huc522639670208ade142a1c3703220334_69386_150x115_fill_q90_h2_lanczos_smart1.webp)
![](https://redlegion.org/2022-07-19/lmfao/img/IMG_20220530_181100_603_hubf247c444b2738b09bbecbb4b828843f_43367_150x115_fill_q90_h2_lanczos_smart1.webp)
![](https://redlegion.org/2022-07-19/lmfao/img/IMG_20220603_133813_828_hudf779b47e0d219fa7de1e739563a35f0_24433_150x115_fill_q90_h2_lanczos_smart1.webp)
![](https://redlegion.org/2022-07-19/lmfao/img/IMG_20220608_131928_658_hu4607b1fb31c8a8be962ac46442e66b31_65398_150x115_fill_q90_h2_lanczos_smart1.webp)
![](https://redlegion.org/2022-07-19/lmfao/img/IMG_20220608_145549_888_hu4338bff3e5f2ef5411b7bff49835353f_36826_150x115_fill_q90_h2_lanczos_smart1.webp)
![](https://redlegion.org/2022-07-19/lmfao/img/IMG_20220608_153913_812_hu878cf1424c159c0ccc7c1bc44e4fb545_70430_150x115_fill_q90_h2_lanczos_smart1.webp)
![](https://redlegion.org/2022-07-19/lmfao/img/IMG_20220611_183459_025_hu70bbe590080111dea3a17e46a1ad5f9e_181749_150x115_fill_q90_h2_lanczos_smart1.webp)
![](https://redlegion.org/2022-07-19/lmfao/img/IMG_20220621_085537_046_hu8a12d4904c8b5b065bae661506fc738c_44072_150x115_fill_q90_h2_lanczos_smart1.webp)
![](https://redlegion.org/2022-07-19/lmfao/img/IMG_20220627_175444_622_hub848a9593ecea6c3730300ad4cada374_46074_150x115_fill_q90_h2_lanczos_smart1.webp)
![](https://redlegion.org/2022-07-19/lmfao/img/IMG_20220627_185231_578_huc112c5836ede6bbe448ad96371cd7e16_53922_150x115_fill_q90_h2_lanczos_smart1.webp)
![](https://redlegion.org/2022-07-19/lmfao/img/IMG_20220627_185428_870_huc9996adfe2c149a96502e77aa1d04949_83892_150x115_fill_q90_h2_lanczos_smart1.webp)
![](https://redlegion.org/2022-07-19/lmfao/img/IMG_20220628_180014_724_hu19e3d4e313a8fb9c7fe37aa7ca95f2cb_68468_150x115_fill_q90_h2_lanczos_smart1.webp)
![](https://redlegion.org/2022-07-19/lmfao/img/IMG_20220701_145408_205_hu7a6d0215b375d1029c1b8342b3b3c276_72950_150x115_fill_q90_h2_lanczos_smart1.webp)
![](https://redlegion.org/2022-07-19/lmfao/img/IMG_20220702_205622_799_hu49d1f2ba98985aa324acfac7b3345acf_103263_150x115_fill_q90_h2_lanczos_smart1.webp)
![](https://redlegion.org/2022-07-19/lmfao/img/IMG_20220702_210206_827_hu40003720d3f279a614134a13a4020ca5_153149_150x115_fill_q90_h2_lanczos_smart1.webp)
![](https://redlegion.org/2022-07-19/lmfao/img/IMG_20220706_084936_224_hu5537b1775747db9643ec6dac6a59297b_111950_150x115_fill_q90_h2_lanczos_smart1.webp)
![](https://redlegion.org/2022-07-19/lmfao/img/IMG_20220708_105005_055_hu02d0ed8b92f0033f5265c831830e32dc_74914_150x115_fill_q90_h2_lanczos_smart1.webp)
![](https://redlegion.org/2022-07-19/lmfao/img/IMG_20220708_130438_494_hue4f3025c5bd4e5cc6ddffa12601f293f_59326_150x115_fill_q90_h2_lanczos_smart1.webp)
![](https://redlegion.org/2022-07-19/lmfao/img/IMG_20220711_172936_206_hu144c456dcb848c136b5567ae7bf7f1c4_57136_150x115_fill_q90_h2_lanczos_smart1.webp)
![](https://redlegion.org/2022-07-19/lmfao/img/IMG_20220711_173611_233_huf92dcaa8675cf065cae32ff4ee859cb3_74749_150x115_fill_q90_h2_lanczos_smart1.webp)
![](https://redlegion.org/2022-07-19/lmfao/img/IMG_20220711_174003_586_hu38c16d068e6d436967224954aa8b990e_116842_150x115_fill_q90_h2_lanczos_smart1.webp)
![](https://redlegion.org/2022-07-19/lmfao/img/IMG_20220711_174126_408_hu57c7729778073958c352408d3fa294f5_183546_150x115_fill_q90_h2_lanczos_smart1.webp)
![](https://redlegion.org/2022-07-19/lmfao/img/IMG_20220712_073237_171_hu943385b12003510171357bb9f877516a_32190_150x115_fill_q90_h2_lanczos_smart1.webp)
![](https://redlegion.org/2022-07-19/lmfao/img/IMG_20220712_073552_950_hu579ede5595905bf62f6eb46adab73439_88773_150x115_fill_q90_h2_lanczos_smart1.webp)
![](https://redlegion.org/2022-07-19/lmfao/img/IMG_20220712_073657_854_huc353adfc6be903098f7bf86436eaf48e_150835_150x115_fill_q90_h2_lanczos_smart1.webp)
![](https://redlegion.org/2022-07-19/lmfao/img/IMG_20220712_073835_411_hu5b134db1a354c721821f4f64fa371bf2_134751_150x115_fill_q90_h2_lanczos_smart1.webp)
![](https://redlegion.org/2022-07-19/lmfao/img/IMG_20220712_074725_801_hu3018d5143f54af67e9b7230d295a08c3_91237_150x115_fill_q90_h2_lanczos_smart1.webp)
![](https://redlegion.org/2022-07-19/lmfao/img/IMG_20220713_111401_978_hu5c8d121f040d4c2614a29184a7610246_103142_150x115_fill_q90_h2_lanczos_smart1.webp)
![](https://redlegion.org/2022-07-19/lmfao/img/IMG_20220713_192317_860_hucd7796cf9d06c68f1fa686d3d1a76d2c_63164_150x115_fill_q90_h2_lanczos_smart1.webp)
![](https://redlegion.org/2022-07-19/lmfao/img/IMG_20220715_215549_559_hu3a9b80cbb5e4f04a2389ab44bf726668_106141_150x115_fill_q90_h2_lanczos_smart1.webp)
![](https://redlegion.org/2022-07-19/lmfao/img/IMG_20220715_215757_465_hudae1e1bbfa139f0140e83bea85c44180_73947_150x115_fill_q90_h2_lanczos_smart1.webp)
![](https://redlegion.org/2022-07-19/lmfao/img/IMG_20220718_162422_274_hudc1237416a8f3df4205a79e0a35f1703_26550_150x115_fill_q90_h2_lanczos_smart1.webp)
![](https://redlegion.org/2022-07-19/lmfao/img/IMG_20220718_162500_107_hu9e7bf57917020ea7d550bf81cdd5f2c6_61203_150x115_fill_q90_h2_lanczos_smart1.webp)
![](https://redlegion.org/2022-07-19/lmfao/img/c30_hu3d03a01dcc18bc5be0e67db3d8d209a6_110815_150x115_fill_q90_h2_lanczos_smart1.webp)
![](https://redlegion.org/2022-07-19/lmfao/img/zgYqLbW_hub8f756d53da12b8562ace9c6395f6cca_21213_150x115_fill_q90_h2_lanczos_smart1.webp)