Added 'sortof public domain' to the website snippet section

This commit is contained in:
Armin Ronacher 2010-05-27 12:29:26 +02:00
parent 8e6c447c88
commit 5b2568a0be
2 changed files with 7 additions and 0 deletions

View file

@ -16,6 +16,11 @@
To highlight Python code or Jinja templates, prefix your code blocks To highlight Python code or Jinja templates, prefix your code blocks
with <code>#!python</code>, <code>#!html+jinja</code> or any other with <code>#!python</code>, <code>#!html+jinja</code> or any other
<a href="http://pygments.org/docs/lexers">Pygments lexer name</a>. <a href="http://pygments.org/docs/lexers">Pygments lexer name</a>.
<p>
<small>By placing a snippet here you implicitly give it away as being
a piece of code in the public domain or a similar concept in your
legislation with similar implications. Anyone can use the snippet
freely for anything.</small>
<form action="" method=post> <form action="" method=post>
<dl class=formlist> <dl class=formlist>
<dt>Title: <dt>Title:

View file

@ -12,6 +12,8 @@
(<a href="{{ url_for('edit', id=snippet.id) }}">edit</a>) (<a href="{{ url_for('edit', id=snippet.id) }}">edit</a>)
{% endif %} {% endif %}
{{ snippet.rendered_body }} {{ snippet.rendered_body }}
<p><small>This snippet by {{ snippet.author.name }} can be used freely for
anything you like. Consider it public domain.</small>
{% if snippet.comments or g.user %} {% if snippet.comments or g.user %}
<div id=comment-box> <div id=comment-box>
{% if snippet.comments %} {% if snippet.comments %}