Zaktualizowano pliki szablonów, dodano atrybut rel="nofollow" do linków oraz zaktualizowano rozmiary plików w konfiguracji.

This commit is contained in:
2025-03-10 15:45:21 +01:00
parent 48a2a076db
commit 63e88d23f2
12 changed files with 121 additions and 23 deletions

View File

@@ -18,7 +18,7 @@
{$cover_src = $blog->getImgSrc('post', $post.id_post, $settings.cover_type, $post.cover)}
{if !empty($cover_src)}
<div class="post-item-cover-compact">
{if !empty($settings.link_cover)}<a href="{$link|escape:'html':'UTF-8'}">{/if}
{if !empty($settings.link_cover)}<a href="{$link|escape:'html':'UTF-8'}" rel="nofollow">{/if}
<img src="{$cover_src|escape:'html':'UTF-8'}" alt="{$post.title|escape:'html':'UTF-8'}">
{if !empty($settings.link_cover)}</a>{/if}
</div>
@@ -35,7 +35,7 @@
<div class="post-item-content-compact">
{$post.content|strip_tags|truncate:$settings.truncate:'...'|escape:'html':'UTF-8'}
{if !empty($settings.show_readmore)}
<a href="{$link|escape:'html':'UTF-8'}" title="{l s='Read more' mod='amazzingblog'}" class="item-readmore-compact">
<a href="{$link|escape:'html':'UTF-8'}" title="{l s='Read more' mod='amazzingblog'}" class="item-readmore-compact" rel="nofollow">
<i class="icon-angle-right"></i>
<i class="icon-angle-right second"></i>
</a>

View File

@@ -18,7 +18,7 @@
{$cover_src = $blog->getImgSrc('post', $post.id_post, $settings.cover_type, $post.cover)}
{if !empty($cover_src)}
<div class="post-item-cover">
{if !empty($settings.link_cover)}<a href="{$link|escape:'html':'UTF-8'}">{/if}
{if !empty($settings.link_cover)}<a href="{$link|escape:'html':'UTF-8'}" rel="nofollow">{/if}
<img src="{$cover_src|escape:'html':'UTF-8'}" alt="{$post.title|escape:'html':'UTF-8'}">
{if !empty($settings.link_cover)}</a>{/if}
</div>
@@ -69,7 +69,7 @@
{/if}
</div>
{if !empty($settings.truncate) && !empty($settings.show_readmore)}
<a href="{$link|escape:'html':'UTF-8'}" title="{l s='Read more' mod='amazzingblog'}" class="item-readmore pull-right">
<a href="{$link|escape:'html':'UTF-8'}" title="{l s='Read more' mod='amazzingblog'}" class="item-readmore pull-right" rel="nofollow">
{l s='Read more' mod='amazzingblog'}
<i class="icon-arrow-right"></i>
</a>

View File

@@ -69,7 +69,7 @@
{/if}
</div>
{if !empty($settings.show_readmore)}
<a href="{$link|escape:'html':'UTF-8'}" title="{l s='Read more' mod='amazzingblog'}" class="item-readmore pull-right">
<a href="{$link|escape:'html':'UTF-8'}" title="{l s='Read more' mod='amazzingblog'}" class="item-readmore pull-right" rel="nofollow">
{l s='Read more' mod='amazzingblog'}
<i class="icon-arrow-right"></i>
</a>