Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pelican-bootstrap3: cc-license.html lack of a parameter and a wrong parameter name #676

Open
izheye opened this issue Mar 28, 2020 · 0 comments

Comments

@izheye
Copy link

izheye commented Mar 28, 2020

The macro cc_license_mark has two problems:

  1. lack of a parameter of show_icon
  2. wrong parameter name of br_after_icon

so,
firstly, add a parameter named show_icon at the head:

{% macro cc_license_mark(cc_name,
                         derivatives, commercial,
                         show_icon=false,
                         br_after_icon=false,
                         attr_markup=false,
                         attr_props={}) %}

secondly, correct the parameter name to br_after_icon at line 58 at the macro body:
{% if br_after_icon %}<br/>{% endif %}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant