Skip to content

Commit

Permalink
Merge pull request #79 from alexpearce/alex.pearwin.com
Browse files Browse the repository at this point in the history
Update base URL
  • Loading branch information
alexpearce committed Sep 12, 2023
2 parents 22fac7c + cc9289b commit 53a5418
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 13 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ It uses [Astro][astro] to generate a static site which is deployed and served by
Comment threads are made as GitHub issues.
You can comment directly on the site at the bottom of each post, or on [an existing issue on GitHub][issues] if one exists.

[blog]: https://alexpearce.me
[blog]: https://alex.pearwin.com
[astro]: https://astro.build/
[netlify]: https://www.netlify.com/
[issues]: https://github.com/alexpearce/home/issues?q=is%3Aissue+label%3Acomments+
Expand Down
4 changes: 2 additions & 2 deletions _redirects
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
https://www.alexpearce.me/* https://alexpearce.me/:splat 301!
https://alex.pearwin.com/* https://alexpearce.me/:splat 301!
https://www.alexpearce.me/* https://alex.pearwin.com/:splat 301!
https://alexpearce.me/* https://alex.pearwin.com/:splat 301!
/blog/page2/ /blog/
/blog/page3/ /blog/
# Proxy requests for the Plausible script and API.
Expand Down
2 changes: 1 addition & 1 deletion astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import rehypeSlug from 'rehype-slug';

// https://astro.build/config
export default defineConfig({
site: 'https://alexpearce.me',
site: 'https://alex.pearwin.com',
markdown: {
rehypePlugins: [
rehypeSlug,
Expand Down
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
description = "alexpearce.me website";
description = "alex.pearwin.com website";

inputs = {
flake-utils.url = "github:numtide/flake-utils";
Expand Down
2 changes: 2 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ package = "netlify-plugin-checklinks"

[plugins.inputs]
skipPatterns = [
# Temporarily disabled during domain name change.
"https://alex.pearwin.com/atom.xml",
# The Plausible script is proxied and so does not map to a file in the build.
"/js/script.js",
]
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "alexpearce.me",
"name": "alex.pearwin.com",
"version": "2.0.0",
"description": "The source for alexpearce.me.",
"description": "The source for alex.pearwin.com.",
"scripts": {
"dev": "astro dev",
"check": "astro sync && astro check && tsc --noEmit",
Expand Down
2 changes: 1 addition & 1 deletion public/robots.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
User-agent: *
Allow: /

Sitemap: https://alexpearce.me/sitemap-index.xml
Sitemap: https://alex.pearwin.com/sitemap-index.xml
4 changes: 2 additions & 2 deletions src/components/BaseHead.astro
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const { title, description, social = true } = Astro.props;
<!-- Canonical URL -->
<link rel="canonical" href={canonicalURL} />
<!-- RSS/Atom feed -->
<link rel="alternate" type="application/rss+xml" title="Alex Pearwin" href="https://alexpearce.me/atom.xml">
<link rel="alternate" type="application/rss+xml" title="Alex Pearwin" href="https://alex.pearwin.com/atom.xml">
<!-- Sitemap -->
<link rel="sitemap" href="/sitemap-index.xml">

Expand All @@ -36,4 +36,4 @@ const { title, description, social = true } = Astro.props;
{social && <MetaSocial title={title} description={description} url={canonicalURL}/>}

<!-- Analytics -->
<script async defer data-domain="alexpearce.me" src="/js/script.js"></script>
<script async defer data-domain="alex.pearwin.com" src="/js/script.js"></script>
2 changes: 1 addition & 1 deletion src/content/blog/2014-05-06-italics-in-iterm2-vim-tmux.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -209,4 +209,4 @@ Thanks to Landon Schropp for pointing this out in the comments.
[tmux21]: https://github.com/tmux/tmux/releases/tag/2.1
[tmux21-faq]: https://github.com/tmux/tmux/blob/2.1/FAQ#L355-L383
[tmux21-comment]: https://alexpearce.me/2014/05/italics-in-iterm2-vim-tmux/#comment-2629095475
[tmux21-comment]: /2014/05/italics-in-iterm2-vim-tmux/#comment-2629095475

0 comments on commit 53a5418

Please sign in to comment.