diff options
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/base.html | 10 | ||||
| -rw-r--r-- | templates/index.html | 3 | ||||
| -rw-r--r-- | templates/stories.html | 0 |
3 files changed, 5 insertions, 8 deletions
diff --git a/templates/base.html b/templates/base.html index 324be5a..4904cef 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,19 +1,15 @@ <!DOCTYPE html> -<html lang="de"> +<html lang="en"> <head> - <title>Vithuran Vishnuthas Portfolio</title> + <title>{% block title %}{% endblock title %} - Vithuran Vishnuthas</title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="style.css"> </head> <body> - <section class="section"> - <div class="container"> - {% block content %} {% endblock %} - </div> - </section> + {% block content %} {% endblock content%} </body> </html> diff --git a/templates/index.html b/templates/index.html index 09e9ce3..f4f49ab 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,4 +1,5 @@ {% extends "base.html" %} - +{% block title %}Home{% endblock title %} {% block content %} +<h1>Home</h1> {% endblock content %} diff --git a/templates/stories.html b/templates/stories.html new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/templates/stories.html |
