Articles on More Contentful
© 2024
Hugo
2020-05-12T21:28:27+08:00
https://foo-dogsquared.github.io/hugo-theme-more-contentful/tl/https://foo-dogsquared.github.io/hugo-theme-more-contentful/icon.png
John Doe
johndoe@example.com
https://foo-dogsquared.github.io/hugo-theme-more-contentful/tl/articles/hidden-post-test/
Isang hidden post test
2020-05-12T21:28:27+08:00
2020-05-12T21:28:27+08:00<div class="paragraph">
<p>Kamusta!
At papano mo nahanap to?!</p>
</div>
<div class="paragraph">
<p>Isang test ito para sa hidden post feature ng Hugo Contentful.</p>
</div>
https://foo-dogsquared.github.io/hugo-theme-more-contentful/tl/articles/rss-atom-and-json-feed-support/
Supporta para sa RSS, Atom, at JSON feeds
Juan dela Cruz
Juana dela Cruz
Mang Kanor
2019-09-04T17:22:44+08:00
2019-09-04T17:22:44+08:00<div class="paragraph">
<p>Ang Hugo theme na ito ay mayroon mga templates para sa RSS, Atom, and JSON feeds.
Ito ay nakatutulong para sa madaling pag-publish ng iyong mga gawa.
Ang mga output ng mga templates ay napatunayan laban sa mga validator na may wastong marka.</p>
</div>
<div class="paragraph">
<p>Ito ang mga sanggunian ng ginamit upang maisagawa ang mga templates.</p>
</div>
<div class="ulist">
<ul>
<li>
<p><a href="https://tools.ietf.org/html/rfc4287">Atom 1.0 - IETF RFC4287</a></p>
</li>
<li>
<p><a href="https://jsonfeed.org/version/1">JSON Feed version 1 specifications</a></p>
</li>
<li>
<p><a href="https://cyber.harvard.edu/rss/rss.html">RSS 2.0 specifications</a></p>
</li>
</ul>
</div>
<div class="paragraph">
<p>Naka-activate ang mga web feeds at maaaring mo makita ang mga iyon sa sumusunod na weblinks:</p>
</div>
<div class="ulist">
<ul>
<li>
<p><strong>RSS</strong>: <code>$HUGO_URL/feed.rss</code></p>
</li>
<li>
<p><strong>Atom</strong>: <code>$HUGO_URL/feed.atom</code></p>
</li>
<li>
<p><strong>JSON</strong>: <code>$HUGO_URL/feed.json</code></p>
</li>
</ul>
</div>
<div class="paragraph">
<p>Para i-enable ang mga web feeds, kailangan mong gumamit ng <a href="https://gohugo.io/templates/output-formats">output formats</a> sa iyong site configuration.</p>
</div>
<div class="paragraph">
<p>Ang sumusunod ay ang parte ng site configuration para sa web feeds ng demo.</p>
</div>
<div class="listingblock">
<div class="content">
<pre class="highlight"><code class="language-toml" data-lang="toml"># Visit the following for more information:
# https://gohugo.io/templates/output-formats
# Defining the media type of the output formats
# For JSON format, it doesn't need to be since it's already built-in into Hugo
[mediaTypes]
[mediaTypes."application/atom+xml"]
suffixes = ["atom", "atom.xml"] # You can remove the "atom.xml" if you want
# Redefining RSS media type for the additional suffix
[mediaTypes."application/rss+xml"]
suffixes = ["rss", "rss.xml"] # You can remove the "rss.xml" if you want
# Including all of the feed output formats in the build
[outputFormats]
[outputFormats.Rss]
mediaType = "application/rss+xml"
baseName = "feed"
[outputFormats.Atom]
mediaType = "application/atom+xml"
baseName = "feed"
[outputFormats.Json]
mediaType = "application/json"
baseName = "feed"
# Indicating what output formats shall be included
# for the following kinds
[outputs]
# .Site.BaseURL/index.* is available
home = ["HTML", "JSON", "RSS", "ATOM"]
# .Site.BaseURL/$section/index.* is available
section = ["HTML", "JSON", "RSS", "ATOM"]</code></pre>
</div>
</div>