Jorge Maldonado Ventura e47d273bb5 Arregla URLs del enlace de 'leer más' 3 年之前
..
.gitignore 9593ddf725 Arregla texto oculto para lectores de pantalla en el enlace continuar leyendo 7 年之前
LICENSE 9593ddf725 Arregla texto oculto para lectores de pantalla en el enlace continuar leyendo 7 年之前
Readme.md 26ddf76a74 Arregla el ejemplo del README del complemento another_read_more_link 5 年之前
__init__.py 9593ddf725 Arregla texto oculto para lectores de pantalla en el enlace continuar leyendo 7 年之前
another_read_more_link.py e47d273bb5 Arregla URLs del enlace de 'leer más' 3 年之前

Readme.md

##Pelican-plugins: Another Read More Link

" Inserting a <!-- more --> comment into your post will prevent the post content below this mark from being displayed on the index page for the blog posts, a "Continue →" button links to the full post. "

demo: fangpeishi.com

.another-read-more-link {
    background: #eee;
    display: inline-block;
    padding: .4em .4em;
    margin-right: .5em;
    text-decoration: none;
    color: #737373;
    transition: background-color 0.5s;
}

demo

###Settings


ANOTHER_READ_MORE_LINK = "Read more"
ANOTHER_READ_MORE_LINK_FORMAT = '<a class="another-read-more-link" href="{url}">{text}</a>'
READ_MORE_ID = 'read_more_link'