Skip to content

Commit

Permalink
Minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
LunarWatcher committed Dec 4, 2023
1 parent b716de8 commit 5e504be
Show file tree
Hide file tree
Showing 12 changed files with 64 additions and 27 deletions.
3 changes: 2 additions & 1 deletion assets/js/functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ window.onload=function() {
"Press Alt-F4 to continue.",
"Roses are red,\nViolets are blue,\nThere's nothing to see here,\nExcept my shitty \"poetry\"",
"Self-destruct initiated",
"Don't h4xx0r me @ 127.0.0.1, thanks in advance"
"Don't h4xx0r me @ 127.0.0.1, thanks in advance",
"Secret free file storage using youtube, remove message before committing: https://www.youtube.com/watch?v=yRKh34Ofg50"
];
console.log(rand(greetings));
};
12 changes: 10 additions & 2 deletions assets/scss/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ h1, h2 {

// Navigation

.page-footer, .nav-container, .primary-theme {
footer, .nav-container, .primary-theme {
line-height: 64px;
background-color: $grey-primary;
color: $white-primary;
Expand All @@ -184,7 +184,7 @@ h1, h2 {
}
}

.page-footer {
footer {
line-height: 1.5;
display: inline-block;
padding: 20px;
Expand Down Expand Up @@ -575,5 +575,13 @@ tbody tr th {
.page-groups {
display: flex;
}
// }}}
// Flexbox shit v2 {{{
.flex-col-2 {
display: flex;
flex-direction: row;
row-gap: 3px;
}

// }}}
// vim:sw=4
8 changes: 7 additions & 1 deletion config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ taxonomies:
tag: tags
series: series

# There has to be a better way to do this
menu:
main:
- identifier: Home
Expand All @@ -58,16 +59,21 @@ menu:
name: TIL
url: "/til/"
weight: 4
- identifier: Contact me
name: Contact me
url: "/contact.html"
weight: 5
- identifier: Pages
name: Other pages
url: "/pages.html"
weight: 5
weight: 6


params:
discord: y3vd2vAYru
discord_user: oliviawolfie
github: LunarWatcher
gpg-signature: "2CE6 6B15 2ED5 6C24 C6A9 C71E 76C0 735B CD18 3F71"
email_proxy: "https://en.wikipedia.org/wiki/Special:EmailUser/OliviaWolfie"
tags:
c++: Posts and notes about the C++ language. This description pretty much only exists so I can test whether or not my config.yaml-based system for descriptions work :)
4 changes: 2 additions & 2 deletions content/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ I'm also [mildly fond of Vim](https://github.com/lunarwatcher/dotfiles), and reg
</tr>
<tr>
<th>GPG key</th>
<td><a href="https://github.com/lunarwatcher.gpg"><code>2CE6 6B15 2ED5 6C24 C6A9 C71E 76C0 735B CD18 3F71</code></a></td>
<td><a href="https://github.com/lunarwatcher.gpg"><code>{{<site-param gpg-signature>}}</code></a> (<a href="gpg.html">GPG note</a>)</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>

## Social media
## Contact me

([Contact etiquette](/contact.html))

Expand Down
13 changes: 7 additions & 6 deletions content/contact.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ I have a lot of contact methods:

And I do have some standards:

## Job offers

I'm not interested in out of the blue job offers. If I'm looking for a job, I'll make that abundantly clear and reach out rather than sit around and wait for a recruiter.

## Stack Overflow

If you have a problem with something I did on Stack Overflow or elsewhere in the SE network, feel free to contact me. However, I'll [report attempts](https://meta.stackoverflow.com/a/380083/6296561) at being rude to SO, as well as to whatever company runs the site where the message was sent (if applicable).
Expand All @@ -31,11 +27,16 @@ I generally don't answer random programming questions I get in DMs. I do answer

## Support related to &lt;insert the name of one of my repos here&gt;

Please consider opening an issue rather than contacting me directly. This is exclusively for information sharing if it's a problem that others might have. [We're not well-served](https://xkcd.com/979/) with discussions ending in "DM me" when it's a type of problem others might have. (Security vulnerabilities are an exception for obvious reasons).
Please consider opening an issue rather than contacting me directly. This is exclusively for information sharing, as it may allow others with the same problem to find information about it more easily. [We're not served](https://xkcd.com/979/) with discussions ending in "DM me" when it's a type of problem others might have.

## Job offers

I'm not interested in unsolicited job offers. I'm perfectly fine with looking for jobs on my own.


## Everything else

If not otherwise listed here, there's no particular restrictions aside the obvious one: _don't be an asshole_.

I'm also completely fine with being DMed for purely social reasons. I don't bite (unless bitten first).
I'm also completely fine with being contacted for purely social reasons. I don't bite (unless bitten first).

16 changes: 16 additions & 0 deletions content/gpg.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
layout: single
title: GPG
description: Short note on my use of GPG
---

# My use of GPG

Obligatory note that you do not have to use GPG when contacting me. It exists as an alternative for the cryptographically inclined, and not as an absolute requirement that must be followed. If you have no idea what a GPG key is, nor plans to figure it out, you do not have to read this page.

I do not extensively use GPG. The key exists primarily for E2E emails, as well as the occasional email signature.

Consequently, you won't see it in (for example) commits or in normal emails, or in most of my day-to-day use. However, it exists there to provide the option if it ever comes up (which it so far, in my many years of internet use, hasn't).

An up-to-date GPG key can be found on [my GitHub](//github.com/LunarWatcher.gpg). Some registries contain it as well. **NOTE:** My current signature is <code>{{<site-param gpg-signature>}}</code>. Some registries contain an old key linked to my email that I cannot get rid of, because I deleted the private key and didn't realise, until it was far too late, that I needed to revoke the keys in the registries before doing so. Make sure you're using the new key if you're automatically pulling from a registry, rather than grabbing it from GitHub. I have not synced the new key to all the registries I did last time I had a GPG key either, meaning certain registries can provide an out-of-date key.

4 changes: 0 additions & 4 deletions content/tags/blogging/_index.md

This file was deleted.

2 changes: 1 addition & 1 deletion content/til/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Inspired by [jbranchaud](https://github.com/jbranchaud/til), this is a long list
## C++

* [C++ time sucks: incomplete time parsing]({{<ref path="/til/cpp/incomplete-time-parsing.md">}})
* [Install CrowCpp without using the Conan package, but using Conan for the dependecies]({{<ref path="/til/cpp/installing-crow-with-submodules.md">}}) (catchy title, eh?)
* [Install CrowCpp without using the Conan package, but using Conan for the dependencies]({{<ref path="/til/cpp/installing-crow-with-submodules.md">}}) (catchy title, eh?)

## CMake

Expand Down
22 changes: 14 additions & 8 deletions layouts/partials/footer.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
<footer class="page-footer">
<div class="footer-copyright">
<div class="container" style="overflow: auto;">
&copy; Olivia, 2019-2023
(<a href="https://github.com/LunarWatcher/LunarWatcher.github.io/tree/master">Website source</a>,
<a href="https://github.com/LunarWatcher/LunarWatcher.github.io/blob/master/LICENSE">license</a>,
<a href="/privacy.html">privacy policy</a>)
<p class="right">Powered by <a href="https://gohugo.io/">Hugo</a>
<!-- Don't click the button. -->
(<a href="javascript:uwu()" id="uwu">UwU?</a>)</p>
<div class="container flex-container" style="overflow: auto;">
<div class="flex-item">
&copy; Olivia, 2019-2023
(<a href="https://github.com/LunarWatcher/LunarWatcher.github.io/tree/master">Website source</a>,
<a href="https://github.com/LunarWatcher/LunarWatcher.github.io/blob/master/LICENSE">license</a>,
<a href="/privacy.html">privacy policy</a>)

<p>Content licensed under <a href="https://github.com/LunarWatcher/LunarWatcher.github.io/blob/master/LICENSE#L32">CC-By-SA 4.0</a></p>
</div>
<div class="flex-item">
<p>Powered by <a href="https://gohugo.io/">Hugo</a>
<!-- Don't click the button. -->
(<a href="javascript:uwu()" id="uwu">UwU?</a>)</p>
</div>
</div>
</div>
</footer>
Expand Down
1 change: 0 additions & 1 deletion layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
<!-- ))) -->
<!-- Twitter cards because standards ((( -->
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:creator" content="@{{ .Site.Params.twitter }}" />
<!-- ))) -->
<!--
vim:fmr=(((,)))
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/socialmedia.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<ul>
<li class="target-highlight" id="somediscord"><a href="https://discord.gg/{{ .Site.Params.discord }}">Discord server</a></li>
<li class="target-highlight" id="somestack"><a href="https://stackoverflow.com/users/6296561">Stack Overflow</a></li>
<li class="target-highlight" id="email"><a href="mailto:[email protected]">Email</a> (<a href="https://github.com/LunarWatcher.gpg">GPG key</a>)</li>
<li class="target-highlight" id="somediscordusr"><b>Discord</b>: @{{.Site.Params.discord_user}}</b>
<li class="target-highlight" id="somegithub"><b>GitHub: </b><a href="https://github.com/LunarWatcher">LunarWatcher</a></li>
<li class="target-highlight" id="email"><b>Email: </b>Listed on <a href="https://github.com/LunarWatcher">GitHub</a> (requires a GitHub account). <a href="{{.Site.Params.email_proxy}}">Alternate</a> (requires a Wikipedia account). See <a href="https://github.com/lunarwatcher.gpg">GitHub</a> for an (optional) GPG key</li>
</ul>
4 changes: 4 additions & 0 deletions layouts/shortcodes/site-param.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{{- $name := (.Get 0) -}}
{{- with $name -}}
{{- with ($.Site.Param .) }}{{ . }}{{ else }}{{ errorf "Param %q not found: %s" $name $.Position }}{{ end -}}
{{- else }}{{ errorf "Missing param key: %s" $.Position }}{{ end -}}

0 comments on commit 5e504be

Please sign in to comment.