diff options
| -rw-r--r-- | config.toml | 2 | ||||
| -rw-r--r-- | static/style.css | 5 | ||||
| -rw-r--r-- | templates/404.html | 17 |
3 files changed, 24 insertions, 0 deletions
diff --git a/config.toml b/config.toml index 3d43084..9b58f5a 100644 --- a/config.toml +++ b/config.toml @@ -19,5 +19,7 @@ taxonomies = [ # Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola highlight_code = false +external_links_class = "external_link" + [extra] # Put all your custom variables here diff --git a/static/style.css b/static/style.css index f67c2c0..1e9d803 100644 --- a/static/style.css +++ b/static/style.css @@ -101,6 +101,11 @@ a:hover { text-decoration: underline; text-decoration-style: dotted; } +/*external links*/ +a.external_link::after { + content: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAIpJREFUeNqEkIEJwCAMBGPpEs7hHK6hY+gauoZr6Bo6RtqEWkxb6EMQnuM/USEirIoxSmOKwDkhBEwp4VPkb4801Xun9xW4e+9FldYarLUvkBPPOp4JGWOgtSaSt6VWQKUU9nPOEiSIgAmNMdadFTjn7utqrXwh6fLvH9nXhamW5ksMnpfDnw4BBgBfunO056MmqAAAAABJRU5ErkJggg==); + +} td,th { vertical-align:top; diff --git a/templates/404.html b/templates/404.html new file mode 100644 index 0000000..0fe2d8e --- /dev/null +++ b/templates/404.html @@ -0,0 +1,17 @@ +<!DOCTYPE html> +<html lang="en"> + +<head> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <title>404 Not Found</title> + <link rel="stylesheet" href="/style.css"/> +</head> + +<body> + <h1 class="title">404 Not Found</h1> + <p>Wrong turn. + <a href="/">Back home</a></p> +</body> + +</html> |