diff options
-rw-r--r-- | layouts/git/list.html | 5 | ||||
-rw-r--r-- | layouts/git/single.html | 5 | ||||
-rw-r--r-- | layouts/index.html | 5 | ||||
-rw-r--r-- | layouts/partials/footer.html | 4 |
4 files changed, 7 insertions, 12 deletions
diff --git a/layouts/git/list.html b/layouts/git/list.html index 65ed807..39a2563 100644 --- a/layouts/git/list.html +++ b/layouts/git/list.html @@ -53,10 +53,7 @@ {{ end -}} </ul> - <footer> - <hr> - <p>This <a href="{{ "git/website" | absURL }}">website</a> is licensed under <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA</a> and developed with <a href="https://simplecss.org/">simple.css</a>.</p> - </footer> + {{ partial "footer.html" . }} </main> </body> diff --git a/layouts/git/single.html b/layouts/git/single.html index 51ccbad..69c8a80 100644 --- a/layouts/git/single.html +++ b/layouts/git/single.html @@ -35,10 +35,7 @@ {{.Content}} - <footer> - <hr> - <p>This <a href="{{ "git/website" | absURL }}">website</a> is licensed under <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA</a> and developed with <a href="https://simplecss.org/">simple.css</a>.</p> - </footer> + {{ partial "footer.html" . }} </main> </body> diff --git a/layouts/index.html b/layouts/index.html index 85086a9..88d5dd9 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -70,10 +70,7 @@ {{ end }} </ul> - <footer> - <hr> - <p>This <a href="{{ "git/website" | absURL }}">website</a> is licensed under <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA</a> and developed with <a href="https://simplecss.org/">simple.css</a>.</p> - </footer> + {{ partial "footer.html" . }} </main> </body> diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html new file mode 100644 index 0000000..e7de22e --- /dev/null +++ b/layouts/partials/footer.html @@ -0,0 +1,4 @@ + <footer> + <hr> + <p>This <a href="{{ "git/website" | absURL }}">website</a> is licensed under <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA</a> and developed with <a href="https://simplecss.org/">simple.css</a>.</p> + </footer> |