mirror of
https://github.com/LBRYFoundation/lbry.com.git
synced 2025-08-23 17:47:26 +00:00
fix faq headings, improve meta description for faq and blog
This commit is contained in:
parent
3b86f58a23
commit
b3dfa9041d
2 changed files with 8 additions and 5 deletions
|
@ -1,18 +1,21 @@
|
|||
<?php Response::setMetaDescription($post->getTitle()) ?>
|
||||
<?php Response::addMetaImages($post->getImageUrls()) ?>
|
||||
<?php Response::setMetaDescription(htmlspecialchars($post->getContentText(20, true))) ?>
|
||||
<?php NavActions::setNavUri('/learn') ?>
|
||||
|
||||
<main class="ancillary">
|
||||
<section class="hero hero--half-height">
|
||||
<div class="inner-wrap inner-wrap--center-hero">
|
||||
<h1>Frequently Asked Questions</h1>
|
||||
<h1><?php echo htmlentities($post->getTitle()) ?></h1>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<div class="inner-wrap">
|
||||
<h2><?php echo htmlentities($post->getTitle()) ?></h2>
|
||||
<p><a href="/faq">« {{page.faq.back}}</a></p>
|
||||
<section>
|
||||
<small class="meta">
|
||||
<a href="/faq">« {{page.faq.back}}</a>
|
||||
</small>
|
||||
</section>
|
||||
<?php echo $post->getContentHtml() ?>
|
||||
</div>
|
||||
</section>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?php Response::setMetaDescription($post->getTitle()) ?>
|
||||
<?php Response::setMetaDescription(htmlspecialchars($post->getContentText(20, true))) ?>
|
||||
<?php Response::addMetaImages($post->getImageUrls()) ?>
|
||||
<?php NavActions::setNavUri('/news') ?>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue