mirror of
https://github.com/Xevion/v2.xevion.dev.git
synced 2025-12-09 10:09:11 -06:00
Move footer from posts only to default layout
This commit is contained in:
@@ -54,7 +54,7 @@ layout: compress
|
||||
</style>
|
||||
<!-- Prevent FireFox from displaying FOUC with fake script tag. -->
|
||||
<script>0</script>
|
||||
{% if page.layout == "posts" %}
|
||||
{% if page.layout == "default" or page.layout == "posts" %}
|
||||
<script src="/assets/js/custom.js"></script>
|
||||
{% endif %}
|
||||
</head>
|
||||
|
||||
@@ -46,10 +46,21 @@ layout: base
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% if layout.medium_zoom %}
|
||||
<script crossorigin="anonymous" integrity="sha256-EdPgYcPk/IIrw7FYeuJQexva49pVRZNmt3LculEr7zM=" src="https://cdn.jsdelivr.net/npm/medium-zoom@1.0.6/dist/medium-zoom.min.js"></script>
|
||||
<script crossorigin="anonymous" integrity="sha256-EdPgYcPk/IIrw7FYeuJQexva49pVRZNmt3LculEr7zM="
|
||||
src="https://cdn.jsdelivr.net/npm/medium-zoom@1.0.6/dist/medium-zoom.min.js"></script>
|
||||
<script type="text/javascript">
|
||||
mediumZoom("[data-zoomable]", {background: "#0e0e0e"})
|
||||
</script>
|
||||
{% endif %}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<hr>
|
||||
|
||||
<p style="text-align: center;">
|
||||
<a href="/feed.xml">Atom</a> |
|
||||
<span id="commit-id" class="build-revision"><a
|
||||
href="{{ site.github.repository_url }}/commit/{{ site.github.build_revision }}">
|
||||
#{{ site.github.build_revision | truncate: 7, "" }}
|
||||
</a></span>
|
||||
</p>
|
||||
|
||||
@@ -34,11 +34,3 @@ layout: default
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
<hr>
|
||||
|
||||
<p style="text-align: center;">
|
||||
<a href="/feed.xml">Atom</a> |
|
||||
<span id="commit-id" class="build-revision"><a href="{{ site.github.repository_url }}/commit/{{ site.github.build_revision }}">
|
||||
#{{ site.github.build_revision | truncate: 7, "" }}
|
||||
</a></span>
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user