Revamp build revisions

- And technically, actually fix them so they're inserted properly. Kinda don't like how they look, but it's good enough for the moment.
This commit is contained in:
Xevion
2022-04-10 17:58:26 -05:00
parent 413a03ff20
commit 6d5d5c6483
3 changed files with 14 additions and 5 deletions

View File

@@ -3,11 +3,11 @@ environment: production
email: xevion@xevion.dev
baseurl: "" # the subpath of your site, e.g. /blog
url: "https://xevion.dev" # the base hostname & protocol for your site, e.g. http://example.com
github: xevion
highlighter: rouge
permalink: pretty
plugins:
- jekyll-feed
- "jekyll-github-metadata"
exclude:
- CNAME
- LICENSE
@@ -17,4 +17,4 @@ compress_html:
ignore:
envs: ["development"]
comments: all
repository: xevion/xevion.dev
repository: Xevion/xevion.dev

View File

@@ -37,8 +37,8 @@ layout: default
<hr>
<p style="text-align: center;">
<a href="/feed.xml">Atom</a>
<em><a href="{{ site.github.repository_url }}/commit/{{ site.github.build_revision }}">
#{{ site.github.build_revision }}
<a href="/feed.xml">Atom</a> |
<em class="build-revision"><a href="{{ site.github.repository_url }}/commit/{{ site.github.build_revision }}">
#{{ site.github.build_revision | truncate: 7, "" }}
</a></em>
</p>

View File

@@ -334,3 +334,12 @@ article {
border-width: thin 0;
padding: 10px;
}
.build-revision {
font-family: CMU Typewriter Text, sans-serif;
a {
color: #d2d2d2;
text-decoration: none;
}
}