File tree Expand file tree Collapse file tree 11 files changed +15
-25
lines changed
Expand file tree Collapse file tree 11 files changed +15
-25
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,6 @@ locale = fa_IR
8181
8282[packages]
8383lektor-github-repos = 0.1.1
84- lektor-gravatar = 0.1.3
8584lektor-markdown-admonition = 0.3.1
8685git+https://github.com/beeware/lektor-i18n-plugin@v0.5.4 =
8786
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ DevOps, and User Experience.
88---
99uid: 08385cbd
1010---
11- email: info@lincolnloop .com
11+ email: info@****** .com
1212---
1313url: https://lincolnloop.com
1414---
@@ -18,3 +18,5 @@ join_date:
1818
19192018-05-12
2020
21+ ---
22+ image: avatar.png
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -2,8 +2,10 @@ name: Matthias Kestenholz
22---
33uid: 815a460b
44---
5- email: mk@feinheit .ch
5+ email: mk@****** .ch
66---
77level: professional
88---
99join_date: 2023-02-04
10+ ---
11+ image: avatar.png
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -2,8 +2,10 @@ name: Al Sweigart
22---
33uid: da70075a
44---
5- email: asweigart@gmail .com
5+ email: asweigart@****** .com
66---
77level: professional
88---
99join_date: 2019-10-19
10+ ---
11+ image: avatar.png
Original file line number Diff line number Diff line change @@ -36,8 +36,7 @@ def generate(filename, basedir):
3636 'BeeWare Gold Membership' : 'gold' ,
3737 }.get (line [1 ], 'other' )
3838
39- if level != "professional" :
40- email = "%s@******.com" % email .split ("@" )[0 ]
39+ email = "%s@******.com" % email .split ("@" )[0 ]
4140
4241 outdir = os .path .join (basedir , uid )
4342 if os .path .exists (outdir ):
@@ -55,6 +54,10 @@ def generate(filename, basedir):
5554 outfile .write ('level: %s\n ' % level )
5655 outfile .write ('---\n ' )
5756 outfile .write ('join_date: %s\n ' % join_date )
57+ outfile .write ('---\n ' )
58+ outfile .write ('image: avatar.png' )
59+ if level == 'professional' :
60+ print (f"Professional member { uid } - add 80x80px image to members/{ uid } directory." )
5861
5962if __name__ == '__main__' :
6063 if len (sys .argv ) != 3 :
You can’t perform that action at this time.
0 commit comments