删除冗余icon地址
This commit is contained in:
parent
adb49e6f3f
commit
e37edc2af5
@ -30,14 +30,14 @@
|
|||||||
|
|
||||||
<a href="{{ blogBase['homeUrl'] }}"><button id="buttonHome" class="btn btn-invisible circle" title="{{ i18n['home'] }}">
|
<a href="{{ blogBase['homeUrl'] }}"><button id="buttonHome" class="btn btn-invisible circle" title="{{ i18n['home'] }}">
|
||||||
<svg class="octicon" width="16" height="16">
|
<svg class="octicon" width="16" height="16">
|
||||||
<path id="pathHome" fill-rule="evenodd" d="{{ IconList['home'] }}"></path>
|
<path id="pathHome" fill-rule="evenodd"></path>
|
||||||
</svg>
|
</svg>
|
||||||
</button></a>
|
</button></a>
|
||||||
|
|
||||||
{% if blogBase['showPostSource']==1 %}
|
{% if blogBase['showPostSource']==1 %}
|
||||||
<a href="{{ blogBase['postSourceUrl'] }}" target="_blank"><button class="btn btn-invisible circle" title="Issue">
|
<a href="{{ blogBase['postSourceUrl'] }}" target="_blank"><button class="btn btn-invisible circle" title="Issue">
|
||||||
<svg class="octicon" width="16" height="16">
|
<svg class="octicon" width="16" height="16">
|
||||||
<path id="pathIssue" fill-rule="evenodd" d="{{ IconList['github'] }}"></path>
|
<path id="pathIssue" fill-rule="evenodd"></path>
|
||||||
</svg>
|
</svg>
|
||||||
</button></a>
|
</button></a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@ -60,7 +60,8 @@
|
|||||||
|
|
||||||
{% block script %}
|
{% block script %}
|
||||||
<script>
|
<script>
|
||||||
|
document.getElementById("pathHome").setAttribute("d",IconList["home"]);
|
||||||
|
document.getElementById("pathIssue").setAttribute("d",IconList["github"]);
|
||||||
{% if blogBase['commentNum']>0 -%}
|
{% if blogBase['commentNum']>0 -%}
|
||||||
cmButton=document.getElementById("cmButton");
|
cmButton=document.getElementById("cmButton");
|
||||||
span=document.createElement("span");
|
span=document.createElement("span");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user