Skip to content

Commit

Permalink
Merge branch 'main' into feat__12_tree_structure
Browse files Browse the repository at this point in the history
  • Loading branch information
ClmntBcqt authored Jul 11, 2024
2 parents a1f47df + e13eb97 commit 032166c
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

{% macro page_block_h2_with_ul_content_and_image_right(
IMAGE_URL = '',
TITLE = '',
Expand Down
5 changes: 2 additions & 3 deletions content/pages/a_page.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title Page1
slug page1
engine jinja2
template_engine jinja2
---
{

Expand All @@ -11,5 +11,4 @@ engine jinja2

<h2>Page 1</h2>

<p>Go to <a href="{{ url_slug('page2') }}">page 2</a> </p>

<p>Go to <a href="{{ url_slug('page2') }}">page 2</a> </p>
2 changes: 1 addition & 1 deletion content/pages/another_page.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title Another page
slug page2
engine jinja2
template_engine jinja2
---
{

Expand Down
1 change: 1 addition & 0 deletions content/templates/jinja2/widgets/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
CHANGE_LANG_ALT=""
)
%}

<!-- Navigation-->
<nav class="navbar navbar-light bg-light static-top">
<div class="container">
Expand Down
1 change: 1 addition & 0 deletions jssg/jinja2.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

from jssg.templatetags.filter_opengraph_metadata import filter_opengraph_metadata


from jssg.models import Page

def url_from_slug(slug) :
Expand Down

0 comments on commit 032166c

Please sign in to comment.