Skip to content

Commit 7aea55f

Browse files
add patch for redirecting site to home/ (#71)
1 parent 803cdc5 commit 7aea55f

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env bash
22

33
if [ ! -r ./public ]; then
4-
docker run --rm --volume $PWD:/src -w "/src" capsulecorplab/hugo-asciidoctor-plantuml:0.76.5-alpine 'hugo --minify -v --destination public'
4+
docker run --rm --volume $PWD:/src -w "/src" capsulecorplab/hugo-asciidoctor-plantuml:0.76.5-alpine 'hugo --minify -v --destination public && cp index.html public/'
55
fi

index.html

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<!DOCTYPE html>
2+
<meta charset="utf-8">
3+
<title>Redirecting to https://learnteachcode.org/code-coffee-compendium/home</title>
4+
<meta http-equiv="refresh" content="0; URL=https://learnteachcode.org/code-coffee-compendium/home">
5+
<link rel="canonical" href="https://learnteachcode.org/code-coffee-compendium/home">

0 commit comments

Comments
 (0)