<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" 
  xmlns:content="http://purl.org/rss/1.0/modules/content/" 
  xmlns:dc="http://purl.org/dc/elements/1.1/" 
  xmlns:atom="http://www.w3.org/2005/Atom" 
  xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" 
  xmlns:media="http://search.yahoo.com/mrss/">
  <channel>
    <title>hugo on John hashim</title>
    <link>https://johnhashim.com/tags/hugo/</link>
    <description>Recent content in hugo on John hashim</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <managingEditor>johnnyhashim [at] gmail.com (john hashim)</managingEditor>
    <webMaster>johnnyhashim [at] gmail.com (john hashim)</webMaster>
    <copyright>&amp;copy;{year}, All Rights Reserved</copyright>
    <lastBuildDate>Thu, 13 Aug 2020 22:41:09 -0400</lastBuildDate>
    
        <atom:link href="https://johnhashim.com/tags/hugo/index.xml" rel="self" type="application/rss+xml" />
    

      
      <item>
        <title>How to create your Hugo static site Search engine using lunr.js</title>
        <link>https://johnhashim.com/posts/how-to-create-your-hugo-static-site-search-engine-using-lunr-js/</link>
        <pubDate>Thu, 13 Aug 2020 22:41:09 -0400</pubDate>
        <author>johnnyhashim [at] gmail.com (john hashim)</author>
        <atom:modified>Thu, 13 Aug 2020 22:41:09 -0400</atom:modified>
        <guid>https://johnhashim.com/posts/how-to-create-your-hugo-static-site-search-engine-using-lunr-js/</guid>
        <description>In this post, I’ll show you how you can add easily add search to your Hugo static site using Hugo’s Scratch feature and the lunr.js JavaScript library on the client.
First, we’ll need to create a JSON index of all our documents as part of our Hugo site generation process. Add a new document with Hugo new search-index.md and set the type to search-index and the URL the index.json in the front matter:</description>
        
        <dc:creator>john hashim</dc:creator>
        <media:content url="https://johnhashim.com/images/feature2/transfer.png" medium="image"><media:title type="html">featured image</media:title></media:content>
        
        
        
          
            
              <category>hugo</category>
            
          
        
        
          
            
              <category>programming</category>
            
          
        
        
          
            
              <category>hugo</category>
            
          
        
      </item>
      
      <item>
        <title>Hugo and Lunrjs search engine made simple</title>
        <link>https://johnhashim.com/posts/hugo-and-lunrjs-search-engine-made-simple/</link>
        <pubDate>Thu, 13 Aug 2020 22:41:09 -0400</pubDate>
        <author>johnnyhashim [at] gmail.com (john hashim)</author>
        <atom:modified>Thu, 13 Aug 2020 22:41:09 -0400</atom:modified>
        <guid>https://johnhashim.com/posts/hugo-and-lunrjs-search-engine-made-simple/</guid>
        <description>Getting Hugo and Lunr playing nice with each other wasn’t too bad, but I had trouble finding a clear walk-through with current versions of the tools. My starting point was with the previous post, Search your Hugo static site using lunr.js. That was the most complete guide I could find and got me … 80% of the way there. I think the hiccups I encountered were due to updates to the Lunr code and some breaking changes that happened since he wrote his post.</description>
        
        <dc:creator>john hashim</dc:creator>
        <media:content url="https://johnhashim.com/images/feature2/workflow.png" medium="image"><media:title type="html">featured image</media:title></media:content>
        
        
        
          
            
              <category>hugo</category>
            
          
        
        
          
            
              <category>programming</category>
            
          
        
        
          
            
              <category>hugo</category>
            
          
        
      </item>
      

    
  </channel>
</rss>