Skip to content

Commit

Permalink
Domain change larsp.de
Browse files Browse the repository at this point in the history
  • Loading branch information
lape committed Apr 12, 2024
1 parent f5bceb2 commit 1c0c11d
Show file tree
Hide file tree
Showing 11 changed files with 170 additions and 48 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./output
cname: larsp.dev
cname: larsp.de
74 changes: 36 additions & 38 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@ GEM
tzinfo (~> 2.0)
addressable (2.8.6)
public_suffix (>= 2.0.2, < 6.0)
amazing_print (1.5.0)
amazing_print (1.6.0)
ast (2.4.2)
base64 (0.2.0)
bigdecimal (3.1.6)
bridgetown (1.3.2)
bridgetown-builder (= 1.3.2)
bridgetown-core (= 1.3.2)
bridgetown-paginate (= 1.3.2)
bridgetown-builder (1.3.2)
bridgetown-core (= 1.3.2)
bridgetown-core (1.3.2)
bigdecimal (3.1.7)
bridgetown (1.3.4)
bridgetown-builder (= 1.3.4)
bridgetown-core (= 1.3.4)
bridgetown-paginate (= 1.3.4)
bridgetown-builder (1.3.4)
bridgetown-core (= 1.3.4)
bridgetown-core (1.3.4)
activemodel (>= 6.0, < 8.0)
activesupport (>= 6.0, < 8.0)
addressable (~> 2.4)
Expand All @@ -39,19 +39,19 @@ GEM
i18n (~> 1.0)
kramdown (~> 2.1)
kramdown-parser-gfm (~> 1.0)
liquid (~> 5.0)
liquid (>= 5.0, < 5.5)
listen (~> 3.0)
rake (>= 13.0)
roda (~> 3.46)
rouge (~> 3.0)
rouge (>= 3.0, < 5.0)
serbea (~> 1.0)
thor (~> 1.1)
tilt (~> 2.0)
zeitwerk (~> 2.5)
bridgetown-feed (3.1.1)
bridgetown-feed (3.1.2)
bridgetown (>= 1.2.0.beta2, < 2.0)
bridgetown-paginate (1.3.2)
bridgetown-core (= 1.3.2)
bridgetown-paginate (1.3.4)
bridgetown-core (= 1.3.4)
bridgetown-seo-tag (6.0.0)
bridgetown (>= 1.2.0.beta5, < 2.0)
bridgetown-sitemap (2.0.2)
Expand All @@ -62,9 +62,8 @@ GEM
colorator (1.1.0)
concurrent-ruby (1.2.3)
connection_pool (2.4.1)
csv (3.2.8)
drb (2.2.0)
ruby2_keywords
csv (3.3.0)
drb (2.2.1)
erubi (1.12.0)
faraday (2.9.0)
faraday-net_http (>= 2.0, < 3.2)
Expand All @@ -75,75 +74,74 @@ GEM
ffi (1.16.3)
hash_with_dot_access (1.2.0)
activesupport (>= 5.0.0, < 8.0)
i18n (1.14.1)
i18n (1.14.4)
concurrent-ruby (~> 1.0)
json (2.7.1)
json (2.7.2)
kramdown (2.4.0)
rexml
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
language_server-protocol (3.17.0.3)
lint_roller (1.1.0)
liquid (5.4.0)
listen (3.8.0)
listen (3.9.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
minitest (5.22.2)
minitest (5.22.3)
mutex_m (0.2.0)
net-http (0.4.1)
uri
nio4r (2.7.0)
nokogiri (1.16.2-arm64-darwin)
nio4r (2.7.1)
nokogiri (1.16.3-arm64-darwin)
racc (~> 1.4)
nokogiri (1.16.2-x86_64-darwin)
nokogiri (1.16.3-x86_64-darwin)
racc (~> 1.4)
nokogiri (1.16.2-x86_64-linux)
nokogiri (1.16.3-x86_64-linux)
racc (~> 1.4)
parallel (1.24.0)
parser (3.3.0.5)
ast (~> 2.4.1)
racc
public_suffix (5.0.4)
public_suffix (5.0.5)
puma (6.4.2)
nio4r (~> 2.0)
racc (1.7.3)
rack (3.0.9.1)
rack (3.0.10)
rainbow (3.1.1)
rake (13.1.0)
rake (13.2.1)
rb-fsevent (0.11.2)
rb-inotify (0.10.1)
ffi (~> 1.0)
regexp_parser (2.9.0)
rexml (3.2.6)
roda (3.77.0)
roda (3.78.0)
rack
rouge (3.30.0)
rubocop (1.60.2)
rouge (4.2.1)
rubocop (1.62.1)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 3.3.0.2)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
rexml (>= 3.2.5, < 4.0)
rubocop-ast (>= 1.30.0, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.30.0)
parser (>= 3.2.1.0)
rubocop-ast (1.31.2)
parser (>= 3.3.0.4)
rubocop-performance (1.20.2)
rubocop (>= 1.48.1, < 2.0)
rubocop-ast (>= 1.30.0, < 2.0)
ruby-progressbar (1.13.0)
ruby2_keywords (0.0.5)
serbea (1.0.1)
activesupport (>= 6.0)
erubi (>= 1.10)
tilt (~> 2.0)
standard (1.34.0)
standard (1.35.1)
language_server-protocol (~> 3.17.0.2)
lint_roller (~> 1.0)
rubocop (~> 1.60)
rubocop (~> 1.62.0)
standard-custom (~> 1.0.0)
standard-performance (~> 1.3)
standard-custom (1.0.2)
Expand All @@ -152,7 +150,7 @@ GEM
standard-performance (1.3.1)
lint_roller (~> 1.1)
rubocop-performance (~> 1.20.2)
thor (1.3.0)
thor (1.3.1)
tilt (2.3.0)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
Expand Down
2 changes: 1 addition & 1 deletion bridgetown.config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# https://learnxinyminutes.com/docs/yaml/
#

url: "https://larsp.dev"
url: "https://larsp.de"

permalink: simple
template_engine: erb
Expand Down
2 changes: 1 addition & 1 deletion config/initializers.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Bridgetown.configure do |config|
config.url = "https://larsp.dev"
config.url = "https://larsp.de"
config.permalink = :simple
config.template_engine = :erb
config.timezone = "Europe/Berlin"
Expand Down
2 changes: 1 addition & 1 deletion src/_components/shared/navbar.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<div class="container pr-0">

<a class="navbar-brand" href="/">
<h1 class="sitetitle">larsp.dev</h1>
<h1 class="sitetitle">larsp.de</h1>
</a>

<button class="navbar-toggler" type="button" data-toggle="collapse"
Expand Down
4 changes: 2 additions & 2 deletions src/_data/site_metadata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
# You can create any custom variable you would like, and they will be accessible
# in the templates via {{ site.metadata.myvariable }}.

title: larsp.dev
title: larsp.de
tagline: larsp's personal site
email: mail@larsp.dev
email: mail@larsp.de
description: >-
I'm Lars, a software developer and IT consultant from Germany. This is my personal website, where I write about my journey as a full stack developer and take notes on things I learned along the way.
twitter: lape
2 changes: 1 addition & 1 deletion src/_partials/_head.erb
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
<link rel="icon" type="image/x-icon" href="/images/favicon.ico">
<link rel="stylesheet" href="<%= webpack_path :css %>">
<script src="<%= webpack_path :js %>" defer></script>
<script defer data-domain="larsp.dev" src="https://plausible.itpeters.com/js/script.js"></script>
<script defer data-domain="larsp.de" src="https://plausible.itpeters.com/js/script.js"></script>
2 changes: 1 addition & 1 deletion src/_posts/2022-04-30-bridgetown.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ I noticed that in order to get the deployment working with a custom domain the _
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./output
cname: larsp.dev
cname: larsp.de
```
To prevent the auto reload script from being included in the deployed code I also changed the build environment in the Rakefile to _production_:
Expand Down
2 changes: 1 addition & 1 deletion src/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ You can find some notes on what I'm currently up to on my [now page](/now/).

---

<a rel="me" href="https://ruby.social/@lape"><i class="fa-brands fa-mastodon"></i></a>&nbsp;&nbsp;&nbsp;<a href="https://github.com/lape"><i class="fa-brands fa-github"></i></a>&nbsp;&nbsp;&nbsp;<a href="https://larsp.dev/feed.xml"><i class="fa-solid fa-rss"></i></a>
<a rel="me" href="https://ruby.social/@lape"><i class="fa-brands fa-mastodon"></i></a>&nbsp;&nbsp;&nbsp;<a href="https://github.com/lape"><i class="fa-brands fa-github"></i></a>&nbsp;&nbsp;&nbsp;<a href="/feed.xml"><i class="fa-solid fa-rss"></i></a>
124 changes: 124 additions & 0 deletions src/contact.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
---
layout: page
title: Contact
---

# Contact

<form id="fs-frm" name="simple-contact-form" accept-charset="utf-8" action="https://formspree.io/f/mrgnozoy" method="post">
<fieldset id="fs-frm-inputs">
<label for="full-name">Full Name</label>
<input type="text" name="name" id="full-name" placeholder="First and Last" required="">
<label for="email-address">Email Address</label>
<input type="email" name="_replyto" id="email-address" placeholder="[email protected]" required="">
<label for="message">Message</label>
<textarea rows="5" name="message" id="message" placeholder="Your message" required=""></textarea>
<input type="hidden" name="_subject" id="email-subject" value="Contact Form Submission">
</fieldset>
<input type="submit" value="Submit">
</form><style>/* reset */
#fs-frm input,
#fs-frm select,
#fs-frm textarea,
#fs-frm fieldset,
#fs-frm optgroup,
#fs-frm label,
#fs-frm #card-element:disabled {
color: inherit;
border: none;
border-radius: 0;
display: block;
width: 100%;
padding: 0;
margin: 0;
-webkit-appearance: none;
-moz-appearance: none;
}
#fs-frm label,
#fs-frm legend,
#fs-frm ::placeholder {
font-size: .825rem;
margin-bottom: .5rem;
padding-top: .2rem;
display: flex;
align-items: baseline;
}

/* border, padding, margin, width */
#fs-frm input,
#fs-frm select,
#fs-frm textarea,
#fs-frm #card-element {
border: 1px solid rgba(0,0,0,0.2);
background-color: rgba(255,255,255,0.9);
padding: .75em 1rem;
margin-bottom: 1.5rem;
}
#fs-frm input:focus,
#fs-frm select:focus,
#fs-frm textarea:focus {
background-color: white;
outline-style: solid;
outline-width: thin;
outline-color: gray;
outline-offset: -1px;
}
#fs-frm [type="text"],
#fs-frm [type="email"] {
width: 100%;
}
#fs-frm [type="button"],
#fs-frm [type="submit"],
#fs-frm [type="reset"] {
width: auto;
cursor: pointer;
-webkit-appearance: button;
-moz-appearance: button;
appearance: button;
}
#fs-frm [type="button"]:focus,
#fs-frm [type="submit"]:focus,
#fs-frm [type="reset"]:focus {
outline: none;
}
#fs-frm [type="submit"],
#fs-frm [type="reset"] {
margin-bottom: 0;
}
#fs-frm select {
text-transform: none;
}

#fs-frm [type="checkbox"] {
-webkit-appearance: checkbox;
-moz-appearance: checkbox;
appearance: checkbox;
display: inline-block;
width: auto;
margin: 0 .5em 0 0 !important;
}

#fs-frm [type="radio"] {
-webkit-appearance: radio;
-moz-appearance: radio;
appearance: radio;
}

/* address, locale */
#fs-frm fieldset.locale input[name="city"],
#fs-frm fieldset.locale select[name="state"],
#fs-frm fieldset.locale input[name="postal-code"] {
display: inline;
}
#fs-frm fieldset.locale input[name="city"] {
width: 52%;
}
#fs-frm fieldset.locale select[name="state"],
#fs-frm fieldset.locale input[name="postal-code"] {
width: 20%;
}
#fs-frm fieldset.locale input[name="city"],
#fs-frm fieldset.locale select[name="state"] {
margin-right: 3%;
}
</style>
2 changes: 1 addition & 1 deletion src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ If you like, you can read more [about me](/about/), how [this website](/webtech/

----

<a rel="me" href="https://ruby.social/@lape"><i class="fa-brands fa-mastodon"></i></a>&nbsp;&nbsp;&nbsp;[<i class="fa-brands fa-github"></i>](https://github.com/lape)&nbsp;&nbsp;&nbsp;[<i class="fa-solid fa-rss"></i>](https://larsp.dev/feed.xml)
<a rel="me" href="https://ruby.social/@lape"><i class="fa-brands fa-mastodon"></i></a>&nbsp;&nbsp;&nbsp;[<i class="fa-brands fa-github"></i>](https://github.com/lape)&nbsp;&nbsp;&nbsp;[<i class="fa-solid fa-rss"></i>](/feed.xml)

0 comments on commit 1c0c11d

Please sign in to comment.