From 5b2568a0beae8e8a4e9d316c898d02cbe0327316 Mon Sep 17 00:00:00 2001 From: Armin Ronacher Date: Thu, 27 May 2010 12:29:26 +0200 Subject: [PATCH] Added 'sortof public domain' to the website snippet section --- flask_website/templates/snippets/new.html | 5 +++++ flask_website/templates/snippets/show.html | 2 ++ 2 files changed, 7 insertions(+) diff --git a/flask_website/templates/snippets/new.html b/flask_website/templates/snippets/new.html index d8d82f43..d806df8a 100644 --- a/flask_website/templates/snippets/new.html +++ b/flask_website/templates/snippets/new.html @@ -16,6 +16,11 @@ To highlight Python code or Jinja templates, prefix your code blocks with #!python, #!html+jinja or any other Pygments lexer name. +

+ 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.

Title: diff --git a/flask_website/templates/snippets/show.html b/flask_website/templates/snippets/show.html index 11357edb..dcb3be76 100644 --- a/flask_website/templates/snippets/show.html +++ b/flask_website/templates/snippets/show.html @@ -12,6 +12,8 @@ (edit) {% endif %} {{ snippet.rendered_body }} +

This snippet by {{ snippet.author.name }} can be used freely for + anything you like. Consider it public domain. {% if snippet.comments or g.user %}

{% if snippet.comments %}