From c7867e60e5ddbe4abeb381c31064747b90aa47e4 Mon Sep 17 00:00:00 2001 From: Jeremy Morgan Date: Wed, 30 Sep 2015 22:31:56 -0700 Subject: [PATCH] Added Opengraph data --- .../02/this-is-a-super-article/index.html | 129 ++++++++++++++++++ .../2011/février/17/article-1/index.html | 114 ++++++++++++++++ .../2011/février/17/article-2/index.html | 114 ++++++++++++++++ .../2011/février/17/article-3/index.html | 114 ++++++++++++++++ .../2012/février/29/second-article/index.html | 116 ++++++++++++++++ pelican/themes/notmyidea/templates/base.html | 29 +++- pelican/themes/simple/templates/base.html | 30 ++++ 7 files changed, 645 insertions(+), 1 deletion(-) create mode 100644 pelican/tests/output/custom_locale/posts/2010/décembre/02/this-is-a-super-article/index.html create mode 100644 pelican/tests/output/custom_locale/posts/2011/février/17/article-1/index.html create mode 100644 pelican/tests/output/custom_locale/posts/2011/février/17/article-2/index.html create mode 100644 pelican/tests/output/custom_locale/posts/2011/février/17/article-3/index.html create mode 100644 pelican/tests/output/custom_locale/posts/2012/février/29/second-article/index.html diff --git a/pelican/tests/output/custom_locale/posts/2010/décembre/02/this-is-a-super-article/index.html b/pelican/tests/output/custom_locale/posts/2010/décembre/02/this-is-a-super-article/index.html new file mode 100644 index 00000000..def80358 --- /dev/null +++ b/pelican/tests/output/custom_locale/posts/2010/décembre/02/this-is-a-super-article/index.html @@ -0,0 +1,129 @@ + + + + + This is a super article ! + + + + + + + + + +Fork me on GitHub + + +
+
+
+

+ This is a super article !

+
+ +
+

Some content here !

+
+

This is a simple title

+

And here comes the cool stuff.

+alternate text +alternate text +
+>>> from ipdb import set_trace
+>>> set_trace()
+
+

→ And now try with some utf8 hell: ééé

+
+ +
+
+

Comments !

+
+ + +
+ +
+
+
+
+

blogroll

+ +
+ +
+ + + + + + diff --git a/pelican/tests/output/custom_locale/posts/2011/février/17/article-1/index.html b/pelican/tests/output/custom_locale/posts/2011/février/17/article-1/index.html new file mode 100644 index 00000000..d768e15f --- /dev/null +++ b/pelican/tests/output/custom_locale/posts/2011/février/17/article-1/index.html @@ -0,0 +1,114 @@ + + + + + Article 1 + + + + + + + + + +Fork me on GitHub + + +
+
+
+

+ Article 1

+
+ +
+

Article 1

+ +
+
+

Comments !

+
+ + +
+ +
+
+
+
+

blogroll

+ +
+ +
+ + + + + + \ No newline at end of file diff --git a/pelican/tests/output/custom_locale/posts/2011/février/17/article-2/index.html b/pelican/tests/output/custom_locale/posts/2011/février/17/article-2/index.html new file mode 100644 index 00000000..b223473a --- /dev/null +++ b/pelican/tests/output/custom_locale/posts/2011/février/17/article-2/index.html @@ -0,0 +1,114 @@ + + + + + Article 2 + + + + + + + + + +Fork me on GitHub + + +
+
+
+

+ Article 2

+
+ +
+

Article 2

+ +
+
+

Comments !

+
+ + +
+ +
+
+
+
+

blogroll

+ +
+ +
+ + + + + + \ No newline at end of file diff --git a/pelican/tests/output/custom_locale/posts/2011/février/17/article-3/index.html b/pelican/tests/output/custom_locale/posts/2011/février/17/article-3/index.html new file mode 100644 index 00000000..3bd59fa5 --- /dev/null +++ b/pelican/tests/output/custom_locale/posts/2011/février/17/article-3/index.html @@ -0,0 +1,114 @@ + + + + + Article 3 + + + + + + + + + +Fork me on GitHub + + +
+
+
+

+ Article 3

+
+ +
+

Article 3

+ +
+
+

Comments !

+
+ + +
+ +
+
+
+
+

blogroll

+ +
+ +
+ + + + + + \ No newline at end of file diff --git a/pelican/tests/output/custom_locale/posts/2012/février/29/second-article/index.html b/pelican/tests/output/custom_locale/posts/2012/février/29/second-article/index.html new file mode 100644 index 00000000..aff4d61f --- /dev/null +++ b/pelican/tests/output/custom_locale/posts/2012/février/29/second-article/index.html @@ -0,0 +1,116 @@ + + + + + Second article + + + + + + + + + +Fork me on GitHub + + +
+
+
+

+ Second article

+
+ +
+

This is some article, in english

+ +
+
+

Comments !

+
+ + +
+ +
+
+
+
+

blogroll

+ +
+ +
+ + + + + + \ No newline at end of file diff --git a/pelican/themes/notmyidea/templates/base.html b/pelican/themes/notmyidea/templates/base.html index 188715d4..cf3cd762 100644 --- a/pelican/themes/notmyidea/templates/base.html +++ b/pelican/themes/notmyidea/templates/base.html @@ -10,7 +10,34 @@ {% if FEED_ALL_RSS %} {% endif %} - + {% if AUTHOR %} + + {% endif %} + {% if SITENAME %} + + + + {% endif %} + % if Summary %} + + + + + {% endif %} + {% if OGIMAGE %} + + + + + {% endif %} + {% if STATIC_URL %} + + + + + + + {% endif %} diff --git a/pelican/themes/simple/templates/base.html b/pelican/themes/simple/templates/base.html index 760ca5da..81bbfca0 100644 --- a/pelican/themes/simple/templates/base.html +++ b/pelican/themes/simple/templates/base.html @@ -28,6 +28,36 @@ {% if TAG_FEED_RSS and tag %} {% endif %} + + {% if AUTHOR %} + + {% endif %} + {% if SITENAME %} + + + + {% endif %} + % if Summary %} + + + + + {% endif %} + {% if OGIMAGE %} + + + + + {% endif %} + {% if STATIC_URL %} + + + + + + + {% endif %} + {% endblock head %}