Skip to content

Commit

Permalink
Resolve inja vs markdown conflict.
Browse files Browse the repository at this point in the history
  • Loading branch information
MetroWind committed Oct 13, 2024
1 parent bbed96f commit 97ea993
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,8 @@ App::App(const Configuration& conf, std::unique_ptr<AuthInterface> openid_auth,
base_url = *std::move(u);
}

// The default is “##”, which conflicts the markdown title.
templates.set_line_statement("#%");
templates.add_callback("url_for", [&](const inja::Arguments& args) ->
std::string
{
Expand Down

0 comments on commit 97ea993

Please sign in to comment.