mirror of https://gitlab.com/mayx/mayx.gitlab.io
Update 3 files
- /assets/css/style.scss - /_layouts/post.html - /_layouts/encrypt.htmlmaster
parent
98e38a212e
commit
368f1eb0d7
|
@ -49,7 +49,7 @@ function onbtnDecrypto() {
|
||||||
document.getElementById("pwinput").style.display = "none";
|
document.getElementById("pwinput").style.display = "none";
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<div id="pwinput">{{ page.tips | default: "请输入密码:" }}<br />
|
<div id="pwinput">{{ page.tips | default: "请输入密码:" }}<br/>
|
||||||
<input id="inputkey" type="password" /> <button onclick="onbtnDecrypto()">解密</button>
|
<input id="inputkey" type="password" /> <button onclick="onbtnDecrypto()">解密</button>
|
||||||
</div>
|
</div>
|
||||||
<div id="output"></div> <br />
|
<div id="output"></div> <br/>
|
||||||
|
|
|
@ -80,6 +80,7 @@ layout: default
|
||||||
{% if page.tags %}
|
{% if page.tags %}
|
||||||
<small style="display: block">tags: {% for tag in page.tags %}<a href="/search.html?keyword={{ tag | url_encode }}"><em>{{ tag }}</em></a>{% unless forloop.last %} - {% endunless %}{% endfor %} <span style="float: right;"><a href="{% if site.github %}{{ site.github.repository_url }}{% else %}https://gitlab.com/mayx/mayx.gitlab.io{% endif %}/tree/master/{{ page.path }}">查看原始文件</a></span></small>
|
<small style="display: block">tags: {% for tag in page.tags %}<a href="/search.html?keyword={{ tag | url_encode }}"><em>{{ tag }}</em></a>{% unless forloop.last %} - {% endunless %}{% endfor %} <span style="float: right;"><a href="{% if site.github %}{{ site.github.repository_url }}{% else %}https://gitlab.com/mayx/mayx.gitlab.io{% endif %}/tree/master/{{ page.path }}">查看原始文件</a></span></small>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% unless post.layout == "encrypt" %}
|
||||||
<!--[if !IE]> -->
|
<!--[if !IE]> -->
|
||||||
<h4 style="border-bottom: 1px solid #e5e5e5;margin: 2em 0 5px;">推荐文章</h4>
|
<h4 style="border-bottom: 1px solid #e5e5e5;margin: 2em 0 5px;">推荐文章</h4>
|
||||||
<p id="suggest-container">Loading...</p>
|
<p id="suggest-container">Loading...</p>
|
||||||
|
@ -106,6 +107,7 @@ $.get(BlogAPI + "/suggest?id={{ page.url }}&update=" + lastUpdated.valueOf(), fu
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
<!-- <![endif]-->
|
<!-- <![endif]-->
|
||||||
|
{% endunless %}
|
||||||
<div class="pagination">
|
<div class="pagination">
|
||||||
{% if page.previous.url %}
|
{% if page.previous.url %}
|
||||||
<span class="prev">
|
<span class="prev">
|
||||||
|
|
|
@ -65,7 +65,6 @@ a:hover {
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-content p {
|
.post-content p {
|
||||||
margin:20px 0 10px;
|
|
||||||
text-indent: 2em;
|
text-indent: 2em;
|
||||||
margin-bottom: 5px;
|
margin-bottom: 5px;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue