arulrajnet / attila

Pelican version of ghost theme https://github.com/zutrinken/attila
MIT License
173 stars 74 forks source link

Add continue reading link #42

Open amorphic opened 5 years ago

amorphic commented 5 years ago

This PR:

  1. Adds a "Continue Reading" link at the bottom of each article's summary. This allows the reader to click directly through to the full article from the end of the summary rather than scroll back up to the Headline. The link is styled using the same "button" style as the article tags.

  2. Updates the "Comments" link to the same style as the "Continue Reading" link and places them side-by-side to conserve vertical space:

image

arulrajnet commented 5 years ago

@amorphic Thanks for your PR. The buttons are not properly formatted when I tried with attila-demo source code image

amorphic commented 5 years ago

Thanks for checking @arulrajnet. The buttons render correctly on my blog so I assumed they were good to go.

I'll looking into what's going wrong with the attila demo blog and update the PR accordingly.

amorphic commented 5 years ago

Thanks for checking @arulrajnet. The buttons render correctly on my blog so I assumed they were good to go.

I'll looking into what's going wrong with the attila demo blog and update the PR accordingly.

amorphic commented 5 years ago

@arulrajnet I've updated the PR and tested against my blog and the Attila demo site:

image

The change is actually much cleaner since the update too. Please let me know if you want any other changes.

sio commented 5 years ago

Are these links optional? I'd like to have the ability to opt out of rendering them.