Skip to content

Commit

Permalink
Fix #3773 - restore annotation_helper.tmpl to avoid breaking themes
Browse files Browse the repository at this point in the history
  • Loading branch information
Kwpolska committed May 7, 2024
1 parent 1b7e1c7 commit ccf74ad
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 0 deletions.
12 changes: 12 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
New in master
=============

Features
--------

Bugfixes
--------

* Restore `annotation_helper.tmpl` with dummy content - fix themes still mentioning it
(Issue #3764, #3773)

New in v8.3.1
=============

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{# The annotation feature is no longer supported, but themes may still have leftover references. #}
{# This file is kept with empty functions for backwards compatibility. #}
{% macro css() %}
{% endmacro %}

{% macro code() %}
{% endmacro %}
7 changes: 7 additions & 0 deletions nikola/data/themes/base/templates/annotation_helper.tmpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## The annotation feature is no longer supported, but themes may still have leftover references.
## This file is kept with empty functions for backwards compatibility.
<%def name="css()">
</%def>

<%def name="code()">
</%def>

0 comments on commit ccf74ad

Please sign in to comment.