Skip to content

Commit

Permalink
Added comments to website blog/documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
norberttech committed Sep 13, 2024
1 parent adb75e5 commit b257f3b
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 1 deletion.
2 changes: 1 addition & 1 deletion web/landing/assets/styles/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ code {
}

#blog-post {
@apply py-10 px-2 sm:px-4 mx-auto max-w-screen-xl;
@apply pt-10 pb-5 px-2 sm:px-4 mx-auto max-w-screen-xl;
}

#blog-post hr, p, pre, ul, h2, h3 {
Expand Down
17 changes: 17 additions & 0 deletions web/landing/templates/blog/post.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,21 @@

{% block main %}
{{ block('article') }}
<section class="mb-10 px-2 sm:px-4 mx-auto max-w-screen-xl">
<script src="https://giscus.app/client.js"
data-repo="flow-php/flow-php.com"
data-repo-id="R_kgDOHja2Yg"
data-category="Blog"
data-category-id="DIC_kwDOHja2Ys4Cidc-"
data-mapping="url"
data-strict="0"
data-reactions-enabled="0"
data-emit-metadata="0"
data-input-position="bottom"
data-theme="dark"
data-lang="en"
crossorigin="anonymous"
async>
</script>
</section>
{% endblock %}
18 changes: 18 additions & 0 deletions web/landing/templates/documentation/dsl/function.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,24 @@
</article>
{% endfor %}
{% endif %}

<hr class="text-blue-100 my-4 border-t-2 rounded" />

<script src="https://giscus.app/client.js"
data-repo="flow-php/flow-php.com"
data-repo-id="R_kgDOHja2Yg"
data-category="Documentation"
data-category-id="DIC_kwDOHja2Ys4Cidc1"
data-mapping="url"
data-strict="0"
data-reactions-enabled="0"
data-emit-metadata="0"
data-input-position="bottom"
data-theme="dark"
data-lang="en"
crossorigin="anonymous"
async>
</script>
</div>
</div>
</div>
Expand Down

0 comments on commit b257f3b

Please sign in to comment.