Skip to content

Commit

Permalink
Add title to the section template.
Browse files Browse the repository at this point in the history
  • Loading branch information
xStrom committed Mar 21, 2024
1 parent a411a71 commit 2105c6c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Build zola website to ensure no errors

on:
pull_request:
branch:
main
branches:
- main

jobs:
build:
Expand Down
1 change: 1 addition & 0 deletions templates/section.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{% extends "base.html" %}

{% block content %}
<h1>{{ section.title }}</h1>
{{ section.content | safe }}
<ul>
{% for subpath in section.subsections %}
Expand Down

0 comments on commit 2105c6c

Please sign in to comment.