<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Documentation on A Hugo theme inspired by paged.js</title>
    <link>https://paged.yihui.org/docs/</link>
    <description>Recent content in Documentation on A Hugo theme inspired by paged.js</description>
    <generator>Hugo</generator>
    <language>en-US</language>
    <atom:link href="https://paged.yihui.org/docs/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Introduction</title>
      <link>https://paged.yihui.org/docs/01-intro/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://paged.yihui.org/docs/01-intro/</guid>
      <description>&lt;p&gt;The Hugo Paged theme was inspired by &lt;a href=&#34;https://pagedjs.org&#34;&gt;the paged.js website&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;h2 id=&#34;the-pagedjs-website&#34;&gt;The paged.js website&lt;/h2&gt;&#xA;&lt;p&gt;The paged.js library is awesome. Its website is also beautiful.&lt;/p&gt;&#xA;&lt;h3 id=&#34;the-crop-marks&#34;&gt;The crop marks&lt;/h3&gt;&#xA;&lt;p&gt;I love the crop marks. I couldn&amp;rsquo;t imagine that they were made from three rectangles:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code class=&#34;language-html&#34;&gt;&amp;lt;div class=&amp;quot;crop-h&amp;quot;&amp;gt;&amp;lt;/div&amp;gt; &amp;lt;!-- horizontal lines --&amp;gt;&#xA;&amp;lt;div class=&amp;quot;crop-v&amp;quot;&amp;gt;&amp;lt;/div&amp;gt; &amp;lt;!-- vertical lines --&amp;gt;&#xA;&amp;lt;div class=&amp;quot;crop-c&amp;quot;&amp;gt;&amp;lt;/div&amp;gt; &amp;lt;!-- cover some segments --&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Make their position absolute, and shrink them a little bit:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Getting started</title>
      <link>https://paged.yihui.org/docs/02-get-started/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://paged.yihui.org/docs/02-get-started/</guid>
      <description>&lt;p&gt;There are two ways to get started with this theme, depending on whether you use R or Hugo.&lt;/p&gt;&#xA;&lt;h2 id=&#34;r-users&#34;&gt;R users&lt;/h2&gt;&#xA;&lt;p&gt;If you use R, the easiest way to get started is to install &lt;a href=&#34;https://github.com/rstudio/blogdown&#34;&gt;the &lt;strong&gt;blogdown&lt;/strong&gt; package&lt;/a&gt;, and create a new site with this theme:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code class=&#34;language-r&#34;&gt;install.packages(&#39;blogdown&#39;)&#xA;blogdown::new_site(theme = &#39;yihui/hugo-paged&#39;)&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Or you can &lt;a href=&#34;https://bookdown.org/yihui/blogdown/a-quick-example.html&#34;&gt;create a new RStudio &lt;strong&gt;blogdown&lt;/strong&gt; project&lt;/a&gt; (if you use RStudio) with the &lt;code&gt;yihui/hugo-paged&lt;/code&gt; theme.&lt;/p&gt;&#xA;&lt;h2 id=&#34;hugo-users&#34;&gt;Hugo users&lt;/h2&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create a new Hugo site with &lt;code&gt;hugo new&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://github.com/yihui/hugo-paged/archive/refs/heads/main.zip&#34;&gt;Download this theme from Github&lt;/a&gt; and unzip it to the &lt;code&gt;themes/hugo-paged&lt;/code&gt; directory.&lt;/li&gt;&#xA;&lt;li&gt;Move all content of the &lt;code&gt;exampleSite&lt;/code&gt; directory in this theme to the root directory of the new site.&lt;/li&gt;&#xA;&lt;li&gt;Run &lt;code&gt;hugo server&lt;/code&gt; and start playing with the new site.&lt;/li&gt;&#xA;&lt;/ol&gt;</description>
    </item>
    <item>
      <title>Customization</title>
      <link>https://paged.yihui.org/docs/03-customization/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://paged.yihui.org/docs/03-customization/</guid>
      <description>&lt;p&gt;The more you know, the less real work you will get done. You have been warned.&lt;/p&gt;&#xA;&lt;h2 id=&#34;site-config&#34;&gt;Site config&lt;/h2&gt;&#xA;&lt;p&gt;In your site config file (&lt;code&gt;hugo.yaml&lt;/code&gt; or &lt;code&gt;config.yaml&lt;/code&gt;), you can customize some options such as the top menu or footer, which should be straightforward to understand if you take a look at the &lt;code&gt;exampleSite&lt;/code&gt;&amp;rsquo;s config file.&lt;/p&gt;&#xA;&lt;p&gt;If you want to add a logo to the left of the top navigation bar, you can use the &lt;code&gt;logo&lt;/code&gt; parameter, e.g.,&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
