Added 'sortof public domain' to the website snippet section
This commit is contained in:
parent
8e6c447c88
commit
5b2568a0be
2 changed files with 7 additions and 0 deletions
|
|
@ -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:
|
||||||
|
|
|
||||||
|
|
@ -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 %}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue