Skip to content

Commit

Permalink
Rehost on skouf.com
Browse files Browse the repository at this point in the history
This rehosts this site on skouf.com instead of on blog.skouf.com.
This is now going to be the center of my web universe, so I think I
might move the domain as well and take down my hideous old portfolio
site.
  • Loading branch information
Niksko committed Sep 25, 2023
1 parent 1b9b140 commit 78f8a1e
Show file tree
Hide file tree
Showing 34 changed files with 561 additions and 543 deletions.
2 changes: 1 addition & 1 deletion CNAME
Original file line number Diff line number Diff line change
@@ -1 +1 @@
blog.skouf.com
skouf.com
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,8 @@

## TODO

- [ ] Do a pass for accessibility
- [ ] Make the rendering of code blocks much prettier as well as responsive, it's pretty ugly right now
- [ ] Allow images to zoom which clicked or tapped in a sort of lightbox thingo
- [ ] Create a landing page that will serve as the new homepage of skouf.com
- [ ] Figure out how I can redirect blog.skouf.com URLs to `skouf.com/blog/<original path>`

## Setup

Expand Down Expand Up @@ -39,6 +36,10 @@ Build the site to the `/docs` directory with `hugo`.
GitHub is configured to serve this as a page out of the `/docs` directory on the `master`.
Pushing to `master` will update the live site.

This page is proxied through Cloudflare.
Cloudflare also has configurations to rewrite `blog.skouf.com` URLs to just `skouf.com`.
`blog.skouf.com` was the old domain of this blog, and I didn't want to break any existing links.

## Writing posts

### Post preview images
Expand Down
6 changes: 3 additions & 3 deletions config.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
languageCode = "en-us"
baseUrl = "https://blog.skouf.com/"
title = "blog.skouf.com"
baseUrl = "https://skouf.com/"
title = "skouf.com"
theme = "skouf"
publishDir = "docs"
pygmentsUseClasses = true
Expand All @@ -13,7 +13,7 @@ pygmentsCodefences = true

[Params]
localeOgp = "en-us"
description = "The blog of Nik Skoufis"
description = "The website of Nik Skoufis"
keywords = ""
mastodonUsername = "niksko"
mastodonDomain = "hachyderm.io"
Expand Down
16 changes: 8 additions & 8 deletions docs/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@
<html lang="en-us">
<head>
<meta charset="utf-8">
<title>404 Page not found - blog.skouf.com</title>
<title>404 Page not found - skouf.com</title>
<meta name="generator" content="Hugo 0.118.2">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="Nik Skoufis">

<meta name="description" content="">

<meta name="keywords" content="">
<meta property="og:site_name" content="blog.skouf.com">
<meta property="og:site_name" content="skouf.com">
<meta property="og:title" content="404 Page not found">
<meta property="og:url" content="https://blog.skouf.com/404.html">
<meta property="og:url" content="https://skouf.com/404.html">

<meta property="og:image" content="https://blog.skouf.com/image/theme/og.png">
<meta property="og:image" content="https://skouf.com/image/theme/og.png">


<meta property="og:description" content="">
Expand All @@ -23,7 +23,7 @@
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:creator" content="@">
<meta name="twitter:title" content="404 Page not found">
<meta name="twitter:url" content="https://blog.skouf.com/404.html">
<meta name="twitter:url" content="https://skouf.com/404.html">

<meta name="twitter:description" content="">

Expand All @@ -34,15 +34,15 @@
rel="stylesheet">
<link rel="stylesheet" href="/css/style.css">
<link rel="stylesheet" href="/css/syntax.css">
<link rel="alternate" href="https://blog.skouf.com/index.xml" type="application/rss+xml" title="blog.skouf.com">
<link rel="alternate" href="https://skouf.com/index.xml" type="application/rss+xml" title="skouf.com">
</head>

<body>
<div>
<header class="py-2 md:py-8 text-center bg-hero-green">
<h1>
<a class="text-2xl md:text-4xl font-bold text-dark-green" href="https://blog.skouf.com/">blog.skouf.com</a></h1>
<p class="tagline text-sm md:text-base md:py-4 text-dark-green">The blog of Nik Skoufis</p>
<a class="text-2xl md:text-4xl font-bold text-dark-green" href="https://skouf.com/">skouf.com</a></h1>
<p class="tagline text-sm md:text-base md:py-4 text-dark-green">The website of Nik Skoufis</p>
</header>

<main class="my-0 mx-auto max-w-screen-lg pt-8 text-center">
Expand Down
Loading

0 comments on commit 78f8a1e

Please sign in to comment.