diff --git a/content/projects/astrill-extractor.md b/content/projects/astrill-extractor.md index 4afa2e5..c2a45c4 100644 --- a/content/projects/astrill-extractor.md +++ b/content/projects/astrill-extractor.md @@ -1,6 +1,6 @@ --- title: Astrill Extractor -repo: https://gist.github.com/RealOrangeOne/050da86871fb952ba7bfe97eece8555c +gist: https://gist.github.com/RealOrangeOne/050da86871fb952ba7bfe97eece8555c --- Astrill, my VPN of choice, allows you to export OpenVPN config files for all it's VPNs, allowing you to connect on platforms it doesn't provide clients for, which albeit isn't many. The AUR package `astrill` has started becoming really unstable on my machine recently, so I decided to switch it out for `ovpn` files, as gnome has excellent support for OpenVPN. diff --git a/content/projects/attack-on-blocks.md b/content/projects/attack-on-blocks.md index d936bbc..242bd2b 100644 --- a/content/projects/attack-on-blocks.md +++ b/content/projects/attack-on-blocks.md @@ -1,6 +1,6 @@ --- title: Attack on blocks game -repo: https://github.com/RealOrangeOne/attack-on-blocks/ +repo: RealOrangeOne/attack-on-blocks download_link: https://github.com/RealOrangeOne/attack-on-blocks/archive/master.zip --- diff --git a/content/projects/dotfiles.md b/content/projects/dotfiles.md index 9323482..3c22f36 100644 --- a/content/projects/dotfiles.md +++ b/content/projects/dotfiles.md @@ -1,7 +1,6 @@ --- title: My Dotfiles -repo: https://github.com/RealOrangeOne/dotfiles/ -subtitle: How I set up my machines just the way I like them! +repo: RealOrangeOne/dotfiles --- ### What are dotfiles? diff --git a/content/projects/morse-code-decoder.md b/content/projects/morse-code-decoder.md index 40fbb5f..a93030a 100644 --- a/content/projects/morse-code-decoder.md +++ b/content/projects/morse-code-decoder.md @@ -1,6 +1,6 @@ --- title: Morse code decoder -repo: https://gist.github.com/RealOrangeOne/6dc94875c93b787e5834 +gist: https://gist.github.com/RealOrangeOne/6dc94875c93b787e5834 subtitle: A JSON file to help decode morse-code --- diff --git a/content/projects/wiki-game-solver.md b/content/projects/wiki-game-solver.md index 2087239..0de1779 100644 --- a/content/projects/wiki-game-solver.md +++ b/content/projects/wiki-game-solver.md @@ -1,6 +1,6 @@ --- title: Wiki Game solver -repo: https://gist.github.com/RealOrangeOne/7da9a3dd1bf90ecdf7be +gist: https://gist.github.com/RealOrangeOne/7da9a3dd1bf90ecdf7be subtitle: Simple script to win the Wiki Game --- diff --git a/content/projects/yoga-pal.md b/content/projects/yoga-pal.md index 2ac8fde..b7aebd8 100644 --- a/content/projects/yoga-pal.md +++ b/content/projects/yoga-pal.md @@ -1,6 +1,6 @@ --- title: Yoga Pal -repo: https://github.com/RealOrangeOne/yoga-pal +repo: RealOrangeOne/yoga-pal subtitle: Control screen rotation, touch screen, and trackpad using the terminal --- diff --git a/layouts/projects/single.html b/layouts/projects/single.html index c3a29ef..57f33ef 100644 --- a/layouts/projects/single.html +++ b/layouts/projects/single.html @@ -1,14 +1,35 @@ {{ partial "page_start.html" . }}
- {{ partial "content.html" . }} -
+
+

{{ title .Title }}

+ {{ if .Params.subtitle }} +

{{ markdownify .Params.subtitle }}

+ {{ else if .Params.repo }} + {{ $data := getJSON "https://api.github.com/repos/" .Params.repo }} +

{{ $data.description }}

+ {{ end }} +
+ {{ if .Content }} +
+ {{ if .Params.image }} + + {{ end }} + {{ .Content }} +
+ {{ end }} +
    {{ if .Params.download_url }}
  • Download {{ .Title }}
  • {{ end }} {{ if .Params.repo }} -
  • View Source
  • + {{ $data := getJSON "https://api.github.com/repos/" .Params.repo }} +
  • View Source
  • + {{ end }} + {{ if .Params.gist }} + {{ $data := getJSON "https://api.github.com/repos/" .Params.repo }} +
  • View Source
  • {{ end }}