Initial release
This commit is contained in:
commit
e2dd80b9f7
10 changed files with 121 additions and 0 deletions
13
.gitignore
vendored
Normal file
13
.gitignore
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
# Generated files by hugo
|
||||
/public/
|
||||
/resources/_gen/
|
||||
/assets/jsconfig.json
|
||||
hugo_stats.json
|
||||
|
||||
# Executable may be added to repository
|
||||
hugo.exe
|
||||
hugo.darwin
|
||||
hugo.linux
|
||||
|
||||
# Temporary lock file while building
|
||||
/.hugo_build.lock
|
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
[submodule "themes/Lynx"]
|
||||
path = themes/Lynx
|
||||
url = https://github.com/jpanther/lynx.git
|
6
archetypes/default.md
Normal file
6
archetypes/default.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
title: "{{ replace .Name "-" " " | title }}"
|
||||
date: {{ .Date }}
|
||||
draft: true
|
||||
---
|
||||
|
BIN
assets/author.png
Normal file
BIN
assets/author.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 103 KiB |
37
assets/css/custom.css
Normal file
37
assets/css/custom.css
Normal file
|
@ -0,0 +1,37 @@
|
|||
.link-forgejo {
|
||||
background: linear-gradient(
|
||||
90deg,
|
||||
rgba(204, 0, 0, 1) 0%,
|
||||
rgba(240, 81, 1, 1) 100%
|
||||
);
|
||||
}
|
||||
|
||||
.link-gitlab {
|
||||
background: linear-gradient(
|
||||
90deg,
|
||||
rgba(226, 67, 41, 1) 0%,
|
||||
rgba(252, 109, 38, 1) 50%,
|
||||
rgba(252, 163, 38, 1) 100%
|
||||
);
|
||||
}
|
||||
|
||||
.link-github {
|
||||
background: linear-gradient(
|
||||
90deg,
|
||||
rgba(1, 4, 9, 1) 0%,
|
||||
rgba(13, 17, 23, 1) 100%
|
||||
);
|
||||
}
|
||||
|
||||
.link-github path, .link-gitlab path, .link-forgejo path {
|
||||
fill: white;
|
||||
stroke: none;
|
||||
}
|
||||
|
||||
.link {
|
||||
transition: transform .3s;
|
||||
}
|
||||
|
||||
.link:hover {
|
||||
transform: scale(1.1);
|
||||
}
|
23
assets/icons/forgejo.svg
Normal file
23
assets/icons/forgejo.svg
Normal file
|
@ -0,0 +1,23 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
viewBox="0 0 512 512"
|
||||
version="1.1"
|
||||
id="svg4"
|
||||
sodipodi:docname="forgejo.svg"
|
||||
width="512"
|
||||
height="512"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<defs
|
||||
id="defs4" />
|
||||
<sodipodi:namedview
|
||||
id="namedview4"
|
||||
pagecolor="#505050"
|
||||
bordercolor="#eeeeee"
|
||||
borderopacity="1"
|
||||
/>
|
||||
<path
|
||||
id="path1"
|
||||
d="M 357.91469,9.9999966e-8 C 334.95095,9.9999966e-8 314.76408,12.77665 304.09002,31.54503 h -28.67773 c -83.39921,0 -151.65875,68.25954 -151.65875,151.65876 v 165.00474 48.09005 c -18.76841,10.67411 -31.54503,30.86088 -31.54503,53.82464 0,33.95798 27.91881,61.87678 61.87678,61.87678 33.95797,0 61.87678,-27.9188 61.87678,-61.87678 0,-22.96376 -12.77661,-43.15053 -31.54502,-53.82464 v -48.09005 c 0,-50.61438 40.38089,-90.99526 90.99524,-90.99526 h 28.67773 c 10.67406,18.76837 30.86093,31.54502 53.82467,31.54502 33.9579,0 61.8768,-27.91885 61.8768,-61.87677 0,-33.95791 -27.9189,-61.87678 -61.8768,-61.87678 -22.96374,0 -43.15061,12.77665 -53.82467,31.54502 h -28.67773 c -34.06661,0 -65.6013,11.4011 -90.99524,30.55924 v -43.90521 c 0,-50.61436 40.38089,-90.99526 90.99524,-90.99526 h 28.67773 c 10.67406,18.76837 30.86093,31.54502 53.82467,31.54502 33.9579,0 61.8768,-27.91887 61.8768,-61.87677 C 419.79149,27.91888 391.87259,9.9999966e-8 357.91469,9.9999966e-8 Z M 357.91469,36.3981 c 14.2869,0 25.4786,11.19169 25.4786,25.47868 0,14.28698 -11.1917,25.47867 -25.4786,25.47867 -14.287,0 -25.4787,-11.19169 -25.4787,-25.47867 0,-14.28699 11.1917,-25.47868 25.4787,-25.47868 z m 0,165.00474 c 14.2869,0 25.4786,11.19169 25.4786,25.47868 0,14.28698 -11.1917,25.47867 -25.4786,25.47867 -14.287,0 -25.4787,-11.19169 -25.4787,-25.47867 0,-14.28699 11.1917,-25.47868 25.4787,-25.47868 z m -203.8294,223.24171 c 14.28702,0 25.47868,11.19166 25.47868,25.47867 0,14.28701 -11.19166,25.47868 -25.47868,25.47868 -14.28701,0 -25.47867,-11.19167 -25.47867,-25.47868 0,-14.28701 11.19166,-25.47867 25.47867,-25.47867 z" />
|
||||
</svg>
|
After Width: | Height: | Size: 2.1 KiB |
1
assets/icons/github.svg
Normal file
1
assets/icons/github.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="github" class="svg-inline--fa fa-github fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path fill="currentColor" d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"></path></svg>
|
After Width: | Height: | Size: 1.5 KiB |
1
assets/icons/gitlab.svg
Normal file
1
assets/icons/gitlab.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="gitlab" class="svg-inline--fa fa-gitlab fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M503.5 204.6L502.8 202.8L433.1 21.02C431.7 17.45 429.2 14.43 425.9 12.38C423.5 10.83 420.8 9.865 417.9 9.57C415 9.275 412.2 9.653 409.5 10.68C406.8 11.7 404.4 13.34 402.4 15.46C400.5 17.58 399.1 20.13 398.3 22.9L351.3 166.9H160.8L113.7 22.9C112.9 20.13 111.5 17.59 109.6 15.47C107.6 13.35 105.2 11.72 102.5 10.7C99.86 9.675 96.98 9.295 94.12 9.587C91.26 9.878 88.51 10.83 86.08 12.38C82.84 14.43 80.33 17.45 78.92 21.02L9.267 202.8L8.543 204.6C-1.484 230.8-2.72 259.6 5.023 286.6C12.77 313.5 29.07 337.3 51.47 354.2L51.74 354.4L52.33 354.8L158.3 434.3L210.9 474L242.9 498.2C246.6 500.1 251.2 502.5 255.9 502.5C260.6 502.5 265.2 500.1 268.9 498.2L300.9 474L353.5 434.3L460.2 354.4L460.5 354.1C482.9 337.2 499.2 313.5 506.1 286.6C514.7 259.6 513.5 230.8 503.5 204.6z"></path></svg>
|
After Width: | Height: | Size: 997 B |
36
config.toml
Normal file
36
config.toml
Normal file
|
@ -0,0 +1,36 @@
|
|||
# Site Config
|
||||
baseURL = "https://oscar.blue/git" # Add /reponame for project site
|
||||
languageCode = "en-gb"
|
||||
title = "Oscar Pocock | Git"
|
||||
theme = "Lynx"
|
||||
|
||||
enableRobotsTXT = true
|
||||
[outputs]
|
||||
home = ["HTML", "JSON"]
|
||||
|
||||
# SEO
|
||||
[params]
|
||||
env = "production"
|
||||
title = "page title"
|
||||
author = "Oscar Pocock"
|
||||
description = "My social links, powered by Hugo & Lynx"
|
||||
keywords = [ "Lynx", "Linktree", "About", "Git" ]
|
||||
|
||||
# Lynx Config
|
||||
[author]
|
||||
image = "author.png" # Image path or link
|
||||
name = "Oscar Blue"
|
||||
headline = "Oscar's Git Accounts"
|
||||
links = [
|
||||
{ forgejo = { href = "https://git.oscar.blue/noble", text = "Forgejo" } },
|
||||
{ gitlab = { href = "https://gitlab.com/oscarpocock", text = "Gitlab" } },
|
||||
{ github = { href = "https://github.com/NoirNoble", text = "Github" } },
|
||||
]
|
||||
|
||||
enableEmoji = true
|
||||
disableKinds = ["taxonomy", "term"]
|
||||
|
||||
[markup.highlight]
|
||||
noClasses = false
|
||||
[markup.goldmark.renderer]
|
||||
unsafe = true
|
1
themes/Lynx
Submodule
1
themes/Lynx
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 151a5497266c84a7f1a851c662dd8ca6e51a9aa2
|
Loading…
Reference in a new issue