Header fixes (#25)

* #21 changing logic to selecting cover image

- For categories, tags

- Some code refactor and indenting

* #21 initial codes for pelican unit tests

* #21 few more testing changes

* Ref #21 unit tests for article tests coverimages

* Ref #21 unit tests for page, tags, category and author coverimages

* Ref #21 readme updated
This commit is contained in:
Arul 2018-05-14 13:26:35 +05:30 committed by GitHub
parent 994b999633
commit 7b26ad1013
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
39 changed files with 1283 additions and 127 deletions

View file

@ -0,0 +1,7 @@
:title: With Cover Images
:date: 2018-04-29 00:45
:author: arul
:category: foo
:tags: footag
:slug: with-cover-images
:cover: /assets/images/article_cover.jpg

View file

@ -0,0 +1,7 @@
:title: With Cover Images
:date: 2018-04-29 00:45
:author: arul
:category: foo
:tags: footag
:slug: with-http-cover-images
:cover: http://example.com/cover.jpg

View file

@ -0,0 +1,7 @@
:title: With OG Cover Images
:date: 2018-04-29 00:59
:author: raj
:category: bar
:tags: bartag
:slug: with-og-cover-images
:og_image: /assets/images/og_cover.jpg

View file

@ -0,0 +1,6 @@
:title: Without Cover Images
:date: 2018-04-29 00:55
:author: arul
:category: foo
:tags: footag
:slug: without-cover-images

View file

View file

View file

@ -0,0 +1 @@
cover.jpg

View file

@ -0,0 +1 @@
cover.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

View file

@ -0,0 +1 @@
cover.jpg

View file

@ -0,0 +1 @@
cover.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

View file

@ -0,0 +1 @@
cover.jpg

View file

@ -0,0 +1 @@
cover.jpg

View file

@ -0,0 +1 @@
cover.jpg

View file

@ -0,0 +1 @@
cover.jpg

View file

@ -0,0 +1 @@
cover.jpg

View file

@ -0,0 +1 @@
cover.jpg

View file

View file

@ -0,0 +1,7 @@
:title: Page With Cover Images
:date: 2018-04-29 00:45
:author: arul
:category: foo
:tags: footag
:slug: page-with-cover-images
:cover: assets/images/page_cover.jpg

View file

@ -0,0 +1,7 @@
:title: Page With Cover Images
:date: 2018-04-29 00:45
:author: arul
:category: foo
:tags: footag
:slug: page-with-http-cover-images
:cover: http://example.com/page-cover.jpg

View file

@ -0,0 +1,7 @@
:title: Page With OG Cover Images
:date: 2018-04-29 00:59
:author: raj
:category: bar
:tags: bartag
:slug: page-with-og-cover-images
:og_image: assets/images/og_cover.jpg

View file

@ -0,0 +1,6 @@
:title: Page Without Cover Images
:date: 2018-04-29 00:55
:author: arul
:category: foo
:tags: footag
:slug: page-without-cover-images