Skip to content

Commit

Permalink
Merge pull request #243 from statikbe/238-generalinfo-in-_news_entrytwig
Browse files Browse the repository at this point in the history
set generalInfo
  • Loading branch information
janhenckens authored Jan 5, 2024
2 parents ce52cca + 795210c commit 4ad5111
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions templates/_site/_news/_entry.twig
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@

<div class="section section--default">
<div class="container">
{% set generalInfo = craft.entries.section('contact').status(null).one() %}
{% include '_site/_snippet/_content/_socialShare' with { generalInfo : generalInfo} %}
</div>
</div>
Expand Down

0 comments on commit 4ad5111

Please sign in to comment.