molivier / nest

Nest Pelican Template
https://www.molivier.com
GNU General Public License v2.0
123 stars 50 forks source link

Added option for using NEST_LICENSE_LINK variable #7

Closed malon closed 9 years ago

malon commented 9 years ago

Hi! Thank you for your theme, it looks really good. I have made some adjustments to adequate it to my necessities. They are minor changes, almost stupid, but you might be interested in merging them...

This change allows the user to populate the variable NEST_LICENSE_LINK in pelicanconf.py with the html link some license authorities like Creative Commons provide for you, including image and explanation of the license. Creating several variables (IMAGE, TEXT, LINK) could be possible to avoid including HTML code in the pelicanconf.py. This approach was just the fastest. Let me know.

Regards

molivier commented 9 years ago

Hi malon! Thank you for your enthusiasm :) Your pull request works for me. I can add a special optional variable named 'NEST_FOOTER_HTML' with a if statement in base.html.

{% if NEST_FOOTER_HTML %}<small><em>{{ NEST_FOOTER_HTML }}</em></small>{% endif %}

Let me know too. Regards. M

malon commented 9 years ago

Hi molivier. I'm afraid my answer to your last message was lost, I just realized now that I came back to the conversation, sorry.

Your proposal works for me too. Thanks.

malon

molivier commented 9 years ago

Hi Malon. I push a new version. Let me know.

Regards.