diff --git a/sass/style.scss b/sass/style.scss index 111a1da..fa078f4 100644 --- a/sass/style.scss +++ b/sass/style.scss @@ -144,6 +144,12 @@ ul.nav { } } +ul.posts { + list-style-type: none; + padding: 0; + margin: 0; +} + .brand-title { font-size: 1.4rem; text-transform: uppercase; diff --git a/templates/base.html b/templates/base.html index b89ea31..14d33da 100644 --- a/templates/base.html +++ b/templates/base.html @@ -43,8 +43,8 @@
  • RSS
  • -
    -
    {% block content %} {% endblock %}
    +
    + {% block content %} {% endblock %}
    diff --git a/templates/blog-page.html b/templates/blog-page.html index c0209e6..50370cd 100644 --- a/templates/blog-page.html +++ b/templates/blog-page.html @@ -12,9 +12,11 @@ {% endblock %} {% block content %} +

    {{ page.title }}

    {{ page.content | safe }} +
    {% endblock content %} \ No newline at end of file diff --git a/templates/index.html b/templates/index.html index 8eb91a1..db8dc10 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,20 +1,21 @@ -{% extends "base.html" %} - -{% block content %} -

    - Welcome to my website -

    -

    This is my personal website, where I post articles and other stuff, usually about coding, ideas or anything related to the tech world.

    +{% extends "base.html" %} {% block content %} +

    Welcome to my website

    +

    + This is my personal website, where I post articles and other stuff, usually + about coding, ideas or anything related to the tech world. +

    {% set section = get_section(path="blog/_index.md") %}

    Articles

    -
    - {% for page in section.pages %} - - {% endfor %} -
    + -{% endblock content %} \ No newline at end of file +{% endblock content %}