Skip to content

Commit e84e14a

Browse files
toshywoshymattstrattonMatty Stratton
authored
[SITE] Image Rendering (#14341)
* add resource gen folder to ignore list Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com> * change the event logo to render and fit correctly * the event page logos render to 236x236, making all logos square #14336 * the welcome page shortcode will render the event logo Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com> * render organizer images Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com> * render sponsor logos Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com> * render speaker/program/talk images Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com> * update hugo version and ensure extended version Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com> * add missing organizer images Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com> * add resource gen folder to ignore list Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com> * change the event logo to render and fit correctly * the event page logos render to 236x236, making all logos square #14336 * the welcome page shortcode will render the event logo Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com> * render organizer images Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com> * render sponsor logos Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com> * render speaker/program/talk images Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com> * update hugo version and ensure extended version Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com> * add missing organizer images Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com> * Fix for case of no speaker directory Signed-off-by: Matty Stratton <matty.stratton@aiven.io> * Fix edge case for no org directory Signed-off-by: Matty Stratton <matty.stratton@aiven.io> * Make asset pipeline for sponsor images smaller Signed-off-by: Matty Stratton <matty.stratton@aiven.io> * use alphabet index folder for sponsor images Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com> * remove old files Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com> * add caching and buildstats to understand builds * add caching to prevent rebuilding everything everytime * enable stats so we can understand the build speed Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com> * move all sponsors to the assets folder * move all static sponsor images to the assets folder * alphabetize the sorting to use the first letter * remove several images that generate problems - lenovo.png - oracle-mysql.png - netlabs.png - igv.png - nexa.png - universidad-de-montevideo.png - montevideocomm.png - idatha.png there may be more, but this is the list I found Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com> * add missing d assets sponsor images images not copied from static * dasa.png * devops-meetup-capetown.png Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com> * add the netlify plugin for resource caching Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com> * add assets sponsors '4' folder Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com> * add '1' sponsor asset images Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com> * add '3' sponsor asset images Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com> * add '5' sponsor asset images Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com> * add '6' sponsor asset images Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com> * add '9' sponsor asset images Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com> --------- Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com> Signed-off-by: Matty Stratton <matty.stratton@aiven.io> Co-authored-by: Matty Stratton <matt.stratton@gmail.com> Co-authored-by: Matty Stratton <matty.stratton@aiven.io> Co-authored-by: Matty Stratton <github@mattstratton.com>
1 parent 97bf78a commit e84e14a

3,636 files changed

Lines changed: 135 additions & 24 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/hugo.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on: [pull_request]
44

55
env:
66
NODE_VERSION: 16
7-
HUGO_VERSION: 0.123.3
7+
HUGO_VERSION: 0.126.1
88

99
jobs:
1010
lint:
@@ -33,10 +33,10 @@ jobs:
3333
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
3434

3535
- name: Setup Hugo
36-
uses: peaceiris/actions-hugo@v2
36+
uses: peaceiris/actions-hugo@v3
3737
with:
3838
hugo-version: ${{ env.HUGO_VERSION }}
39-
# extended: true
39+
extended: true
4040

4141
- name: Build Hugo
4242
run: hugo -v

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,3 +85,6 @@ hugo.log
8585

8686
# we don't use yarn
8787
yarn.lock
88+
89+
# hugo rendering folder
90+
resources/_gen/
237 KB
35.1 KB
10.2 KB
130 KB
203 KB
277 KB
322 KB
35.1 KB

0 commit comments

Comments
 (0)