Skip to content

Commit

Permalink
rename netlify
Browse files Browse the repository at this point in the history
  • Loading branch information
robbi5 committed Jul 28, 2023
1 parent 104ca12 commit 64c5370
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ temporaerhaus.de
=================

The new website for the Temporärhaus. Now based on [Hugo](https://gohugo.io), a static site generator. All the content from the old wordpress website is migrated.

#
## How to blog

### Option 1: Using User Interface (Netlify CMS)
Expand All @@ -13,7 +13,7 @@ The new website for the Temporärhaus. Now based on [Hugo](https://gohugo.io), a

#### Writing

* Visit [vshde.netlify.app/admin](https://vshde.netlify.app/admin) and sign in with your GitHub account.
* Visit [hausweb.netlify.app/admin](https://hausweb.netlify.app/admin) and sign in with your GitHub account.
* Click `New Post` and enjoy writing.
* Hit `Publish` when the post is ready.
* If you leave the english translation blank, but still want the german version being displayed on the english website, you will have to create a symlink in the `content/posts` directory (see below).
Expand Down Expand Up @@ -45,4 +45,4 @@ The new website for the Temporärhaus. Now based on [Hugo](https://gohugo.io), a


## TODO
- [ ] don't embed external images
- [ ] don't embed external images
4 changes: 2 additions & 2 deletions static/admin/config.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
backend:
name: github
repo: verschwoerhaus/verschwoerhaus.de
repo: temporaerhaus/website
branch: main
use_graphql: true
site_domain: vshde.netlify.app
site_domain: hausweb.netlify.app

media_folder: "/static/wp-content/uploads"
public_folder: "/wp-content/uploads"
Expand Down
4 changes: 2 additions & 2 deletions static/admin/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
<title>Content Manager</title>
<script>
// auth only works on the netlify subdomain, so we redirect
if (location.host !== "vshde.netlify.app") {
location.replace("https://vshde.netlify.app/admin/");
if (location.host !== "hausweb.netlify.app") {
location.replace("https://hausweb.netlify.app/admin/");
}
</script>
</head>
Expand Down

0 comments on commit 64c5370

Please sign in to comment.