🚚 Move contact to Hugo
This commit is contained in:
parent
1fd1953563
commit
2c0d0d0608
7 changed files with 32 additions and 10390 deletions
|
|
@ -1,14 +0,0 @@
|
|||
//= require vendor/jquery
|
||||
//= require popper
|
||||
//= require bootstrap
|
||||
|
||||
(function () {
|
||||
|
||||
const t=[122,-62,159,-127,231,-117,218,-116,177,-143,252,-155,260,-152,268,-157,215,-177,212,-163,211,-163,222,-184,219,-162,217,-158,196,-161,210,-161,209,-150,188,-153,207,-155,214,-176,211,-162,210,-162,221,-183,218,-161,216,-157,195,-160,209,-160,208,-149,187,-152,201,-153,206,-147,185,-150,199,-151,200,-141,179,-144,193,-145,201,-142,180,-145,194,-145,197,-138,176,-141,190,-140,189,-130,168,-133,190,-135,194,-156,191,-142,190,-136,195,-157,192,-143,192,-143,202,-164,199,-150,199,-151,210,-172,207,-158,206,-157,216,-178,213,-164,213,-160,219,-181,216,-164,218,-159,197,-162,219,-162,221,-183,218,-169,218,-169,228,-190,225,-176,224,-167,226,-192,254,-154,251,-141,205,-105,202,-92,197,-96,204,-90,187,-66,172,-61,171,-70,185,-139,238,-127,236,-176,223,-126,188];
|
||||
let toAppend = '';
|
||||
for (let i=1; i<t.length; i++) {
|
||||
toAppend+=String.fromCharCode(t[i]+t[i-1]);
|
||||
}
|
||||
$('.33c12d8ca2a4cb0fc68b88df8329bf53').html(toAppend);
|
||||
|
||||
})();
|
||||
10364
_assets/js/vendor/jquery.js
vendored
10364
_assets/js/vendor/jquery.js
vendored
File diff suppressed because it is too large
Load diff
0
assets/js/application.js
Normal file
0
assets/js/application.js
Normal file
|
|
@ -1,9 +0,0 @@
|
|||
---
|
||||
layout: default
|
||||
title: Contact
|
||||
---
|
||||
You can find [all my links](https://links.danielrayjones.com), including a few ways to contact me.
|
||||
|
||||
You can also email me at <span class="33c12d8ca2a4cb0fc68b88df8329bf53">dan@danielrayjones.com</span>, or get me on XMPP at [danjones000@conversations.im](xmpp:danjones000@conversations.im), or Matrix at [@danjones000:matrix.org](https://matrix.to/#/@danjones000:matrix.org).
|
||||
|
||||
Or just a plain old telephone call at [704-326-1626](tel:704-326-1626).
|
||||
8
content/contact.md
Normal file
8
content/contact.md
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
+++
|
||||
title = "Contact"
|
||||
+++
|
||||
You can find [all my links](https://links.danielrayjones.com), including a few ways to contact me.
|
||||
|
||||
You can also email me at [dan@danielrayjones.com](mailto:dan@danielrayjones.com), or get me on XMPP at [danjones000@conversations.im](xmpp:danjones000@conversations.im), or Matrix at [@danjones000:matrix.org](https://matrix.to/#/@danjones000:matrix.org).
|
||||
|
||||
Or just a plain old telephone call at [704-326-1626](tel:704-326-1626).
|
||||
12
hugo.toml
12
hugo.toml
|
|
@ -1,13 +1,14 @@
|
|||
baseURL = 'https://danielrayjones.com/'
|
||||
languageCode = 'en-us'
|
||||
baseURL = "https://danielrayjones.com/"
|
||||
languageCode = "en-us"
|
||||
title = "Dan Jones"
|
||||
theme = "hello-friend-ng"
|
||||
|
||||
[params]
|
||||
homeSubtitle = "Web developer, actor, jack of some trades"
|
||||
EnableThemeToggle = true
|
||||
|
||||
[params.logo]
|
||||
logoText = "greetings"
|
||||
logoText = "RUN"
|
||||
|
||||
[markup]
|
||||
defaultMarkdownHandler = 'goldmark'
|
||||
|
|
@ -19,3 +20,8 @@ unsafe = true
|
|||
identifier = "about"
|
||||
name = "About"
|
||||
url = "/about"
|
||||
|
||||
[[menu.main]]
|
||||
identifier = "contact"
|
||||
name = "Contact"
|
||||
url = "/contact"
|
||||
|
|
|
|||
15
layouts/partials/javascript.html
Normal file
15
layouts/partials/javascript.html
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{{ $main := resources.Get "js/main.js" }}
|
||||
{{ $menu := resources.Get "js/menu.js" }}
|
||||
{{ $prism := resources.Get "js/prism.js" }}
|
||||
{{ $secureJS := slice $main $menu $prism | resources.Concat "bundle.js" | resources.Minify | resources.Fingerprint "sha512" }}
|
||||
<script type="text/javascript" src="{{ $secureJS.RelPermalink }}" integrity="{{ $secureJS.Data.Integrity }}"></script>
|
||||
<script>console.log('here');</script>
|
||||
|
||||
{{ $app := resources.Get "js/application.js" | resources.Minify | resources.Fingerprint "sha512" }}
|
||||
<script type="text/javascript" src="{{ $app.RelPermalink }}" integrity="{{ $app.Data.Integrity }}"></script>
|
||||
|
||||
{{ range $val := $.Site.Params.customJS }}
|
||||
{{ if gt (len $val) 0 }}
|
||||
<script src="{{ $val }}"></script>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue