Skip to content

Commit e1a6eb3

Browse files
social card update
links shared on social media look more beautiful, attempt #1 it requires imaging libraries to be installed via ci.yml. this should also help optimize our site images in general
1 parent 04601c1 commit e1a6eb3

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

Diff for: .github/workflows/ci.yml

+2
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,7 @@ jobs:
2828

2929
- name: Deploy
3030
run: |
31+
apt-get install pngquant
3132
pip install mkdocs-material
33+
pip install mkdocs-material[imaging]
3234
mkdocs gh-deploy

Diff for: mkdocs.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,12 @@ extra:
145145

146146
plugins:
147147
- search
148-
- privacy
148+
- privacy:
149+
enabled: !ENV [CI, false] # requires external google links, disable on local build
149150
- tags
150151
- meta
152+
- social:
153+
enabled: !ENV [CI, false] # requires image processing libraries, disable on local build
151154

152155
copyright: >
153156
© Team MSRebirth. Goldsource & Half-Life are trademarks of Valve Corporation. Website is under Unlicensed license -

0 commit comments

Comments
 (0)