Articles on More Contentful © 2022 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 2022-05-09T20:15:52+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 2022-05-09T20:15:52+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&#39;t need to be since it&#39;s already built-in into Hugo [mediaTypes] [mediaTypes.&#34;application/atom+xml&#34;] suffixes = [&#34;atom&#34;, &#34;atom.xml&#34;] # You can remove the &#34;atom.xml&#34; if you want # Redefining RSS media type for the additional suffix [mediaTypes.&#34;application/rss+xml&#34;] suffixes = [&#34;rss&#34;, &#34;rss.xml&#34;] # You can remove the &#34;rss.xml&#34; if you want # Including all of the feed output formats in the build [outputFormats] [outputFormats.Rss] mediaType = &#34;application/rss+xml&#34; baseName = &#34;feed&#34; [outputFormats.Atom] mediaType = &#34;application/atom+xml&#34; baseName = &#34;feed&#34; [outputFormats.Json] mediaType = &#34;application/json&#34; baseName = &#34;feed&#34; # Indicating what output formats shall be included # for the following kinds [outputs] # .Site.BaseURL/index.* is available home = [&#34;HTML&#34;, &#34;JSON&#34;, &#34;RSS&#34;, &#34;ATOM&#34;] # .Site.BaseURL/$section/index.* is available section = [&#34;HTML&#34;, &#34;JSON&#34;, &#34;RSS&#34;, &#34;ATOM&#34;]</code></pre> </div> </div>