File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5656 'background_image' : {
5757 'home' : os .environ .get ('bg_home' ) or 'http://7d9q7a.com1.z0.glb.clouddn.com/octblog-bg.jpg' ,
5858 'post' : os .environ .get ('bg_post' ) or 'http://7d9q7a.com1.z0.glb.clouddn.com/octblog-bg.jpg' ,
59- 'about' : os .environ .get ('bg_about' ) or 'http://7d9q7a.com1.z0.glb.clouddn.com/octblog_about.jpg'
59+ 'about' : os .environ .get ('bg_about' ) or 'http://7d9q7a.com1.z0.glb.clouddn.com/octblog_about.jpg' ,
60+ 'qiniu' : os .environ .get ('qiniu' ) or 'http://assets.qiniu.com/qiniu-transparent.png' ,
6061 },
6162
6263}
Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ def get_base_data():
3737 'bg_home' : BACKGROUND ['home' ],
3838 'bg_post' : BACKGROUND ['post' ],
3939 'bg_about' : BACKGROUND ['about' ],
40+ 'qiniu' : BACKGROUND ['qiniu' ],
4041 }
4142 return data
4243
Original file line number Diff line number Diff line change 145145 </ li >
146146 </ ul >
147147 < p class ="copyright text-muted "> Copyright © Oct Blog 2015</ p >
148- < p class ="copyright text-muted "> < a href ="http://www.qiniu.com " target ="_blank " > < img src ="http://assets. qiniu.com/qiniu-transparent.png "> </ a > </ p >
148+ < p class ="copyright text-muted "> < a href ="http://www.qiniu.com " target ="_blank " > < img src ="{{ qiniu }} "> </ a > </ p >
149149 </ div >
150150 </ div >
151151 </ div >
You can’t perform that action at this time.
0 commit comments