Skip to content

Commit

Permalink
move stories and poems and redirect to ghost blog
Browse files Browse the repository at this point in the history
  • Loading branch information
inhji committed Mar 21, 2018
1 parent 399969e commit 2245066
Show file tree
Hide file tree
Showing 18 changed files with 6 additions and 7 deletions.
9 changes: 2 additions & 7 deletions components/header/nav.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,8 @@ const Nav = () => (
</Link>
</li>
<li>
<Link href="/geschichten">
<a>Geschichten</a>
</Link>
</li>
<li>
<Link href="/gedichte">
<a>Gedichte</a>
<Link href="https://blog.inhji.de">
<a>Blog</a>
</Link>
</li>
</ul>
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ export const start = async () => {

server.use('/api', apiRouter)

server.get('/geschichten', (req, res) => {
res.redirect('https://blog.inhji.de')
})

server.get('/post/:hashid', (req, res) => {
return app.render(req, res, '/post', { hashid: req.params.hashid })
})
Expand Down

0 comments on commit 2245066

Please sign in to comment.