Tags: , , , ,

Categories:

Updated:




If you are blogging using the popular jekyll theme Minimal Mistakes, this post will help you adding your google adsense on your site.

Google Adsense Account

First open an account in Google Adsense and create codes for your ads. Google adsense provides different custom size ad codes (horizontal/vertical advertisements units). You can follow the steps:

  1. Click on New ad unit under Ad Units from my ads
  2. Select text and display ads
  3. Name the unit after previewing how the ad will appear on your site
  4. Click on Get Code visible on your unit. The code looks like as follows
    <script async  src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>  
    <!-- Single post - 1 (yourwebsite.com) -->  
    <ins  class="adsbygoogle"  
         style="display:block"  
         data-ad-client="0123456789012345"  
         data-ad-slot="01234567"  
         data-ad-format="auto"></ins>  
    <script>  
     (adsbygoogle  =  window.adsbygoogle  ||  []).push({});  
    </script>
    

Add Ad Code to Site

I have included codes of two ad units under the _includes directory. Simply add the code you got earlier in a <filename>.html file and put that under _includes directory. If you go to my site repository directory, you will find two files named advertisements.html and vertical_advertisement.html.

Now, since I use the single.html layout for my posts, I have included these ad pages in different locations under class page__content. The code now looks like as follows

<section class="page__content" itemprop="text">

<aside class="sidebar__right">
<nav class="toc">
<header><h4 class="nav__title"><i class="fas fa-heart"></i> Table of Contents</h4></header>
<ul class="toc__menu">
  <li><a href="#">Shanto Roy</a></li>
</ul>
</nav>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- vertical_ad -->
<ins class="adsbygoogle"
     style="display:block"
     data-ad-client="ca-pub-1099218700412995"
     data-ad-slot="2669350977"
     data-ad-format="auto"
     data-full-width-responsive="true"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>
</aside>


  











<div class="page__hero"
  style=" "
>
  
    <img src="https://live.staticflickr.com/65535/51223015653_d51e3fae43_c.jpg" alt="Hangouts near Houston: San Jacinto Battleground and Huntsville Lake" class="page__hero-image">
  
  
</div>





<div id="main" role="main">
  
  <div class="sidebar sticky">
  

<div itemscope itemtype="http://schema.org/Person">

  
    <div class="author__avatar">
      

      
        <img src="https://shantoroy.com/assets/images/sroy.png" alt="Shanto Roy" itemprop="image">
      
    </div>
  

  <div class="author__content">
    
      <h3 class="author__name" itemprop="name">Shanto Roy</h3>
    
    
      <p class="author__bio" itemprop="description">
        Born to Explore  :)
      </p>
    
  </div>

  <div class="author__urls-wrapper">
    <button class="btn btn--inverse">Follow</button>
    <ul class="author__urls social-icons">
      
        <li itemprop="homeLocation" itemscope itemtype="http://schema.org/Place">
          <i class="fa fa-fw fa-map-marker" aria-hidden="true"></i> <span itemprop="name">TX, USA</span>
        </li>
      
      
      
        
          
            <li><a href="http://shantoroy.me"><i class="fas fa-fw fa-link" aria-hidden="true"></i> Google Site</a></li>
          
        
          
            <li><a href="mailto:royshantoiit@gmail.com"><i class="fas fa-fw fa-envelope-square" aria-hidden="true"></i> Email</a></li>
          
        
          
            <li><a href="https://linkedin.com/in/shanto-roy"><i class="fab fa-fw fa-linkedin" aria-hidden="true"></i> LinkedIn</a></li>
          
        
          
            <li><a href="https://github.com/shantoroy"><i class="fab fa-fw fa-github" aria-hidden="true"></i> GitHub</a></li>
          
        
          
            <li><a href="https://www.instagram.com/shanto.roy.9/"><i class="fab fa-fw fa-instagram" aria-hidden="true"></i> Instagram</a></li>
          
        
          
            <li><a href="https://www.youtube.com/channel/UC85cVe_fhFJCtULZUi1vjkQ"><i class="fab fa-fw fa-youtube" aria-hidden="true"></i> Youtube</a></li>
          
        
          
            <li><a href="https://www.buymeacoffee.com/shantoroy"><i class="fab fa fa-coffee" aria-hidden="true"></i> Buy me a Coffee</a></li>
          
        
      

      

      

      

      

      

      

      

      

      

      

      

      

      

      

      

      

      

      

      

      

      

      

      

      

      

      <!--
  <li>
    <a href="http://link-to-whatever-social-network.com/user/" itemprop="sameAs">
      <i class="fa fa-fw" aria-hidden="true"></i> Custom Social Profile Link
    </a>
  </li>
-->
    </ul>
  </div>
</div>

  
  </div>


  <article class="page" itemscope itemtype="http://schema.org/CreativeWork">
    <meta itemprop="headline" content="Hangouts near Houston: San Jacinto Battleground and Huntsville Lake">
    <meta itemprop="description" content="I love to explore places. As I am currently pursuing PhD in University of Houston and this is only my first year, surely, I will be staying here for the next three years.">
    <meta itemprop="datePublished" content="March 05, 2020">
    

    <div class="page__inner-wrap">
      
        <header>
          <h1 class="page__title" itemprop="headline">Hangouts near Houston: San Jacinto Battleground and Huntsville Lake
</h1>
          
            <p class="page__meta"><i class="far fa-clock" aria-hidden="true"></i> 




  1 minute read
</p>
          
        </header>
      
      
      <section class="page__meta">
        
        
  


  
  
  

  <p class="page__taxonomy">
    <strong><i class="fa fa-fw fa-tags" aria-hidden="true"></i> Tags: </strong>
    <span itemprop="keywords">
    
      
      
      <a href="https://shantoroy.com/tags/#hangout" class="page__taxonomy-item" rel="tag">Hangout</a><span class="sep">, </span>
    
      
      
      <a href="https://shantoroy.com/tags/#houston" class="page__taxonomy-item" rel="tag">Houston</a><span class="sep">, </span>
    
      
      
      <a href="https://shantoroy.com/tags/#texas" class="page__taxonomy-item" rel="tag">Texas</a><span class="sep">, </span>
    
      
      
      <a href="https://shantoroy.com/tags/#travel" class="page__taxonomy-item" rel="tag">Travel</a><span class="sep">, </span>
    
      
      
      <a href="https://shantoroy.com/tags/#usa" class="page__taxonomy-item" rel="tag">USA</a>
    
    </span>
  </p>




  


  
  
  

  <p class="page__taxonomy">
    <strong><i class="fa fa-fw fa-folder-open" aria-hidden="true"></i> Categories: </strong>
    <span itemprop="keywords">
    
      
      
      <a href="https://shantoroy.com/categories/#travel" class="page__taxonomy-item" rel="tag">Travel</a>
    
    </span>
  </p>


        
          <p class="page__date"><strong><i class="fas fa-fw fa-calendar" aria-hidden="true"></i> Updated:</strong> <time datetime="2020-03-05T00:00:00+00:00">March 05, 2020</time></p><br><br><br>
        
      </section>  
      
      <section class="page__content" itemprop="text">
        
          <aside class="sidebar__right">
            <nav class="toc">
              <header><h4 class="nav__title"><i class="fas fa-heart"></i> Table of Contents</h4></header>
              <ul class="toc__menu">
  <li><a href="#san-jacinto-battleground-historic-site">San Jacinto Battleground Historic Site</a></li>
  <li><a href="#fishing-in-huntsville">Fishing in Huntsville</a></li>
</ul>
            </nav>
            <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- vertical_ad -->
<ins class="adsbygoogle"
     style="display:block"
     data-ad-client="ca-pub-1099218700412995"
     data-ad-slot="2669350977"
     data-ad-format="auto"
     data-full-width-responsive="true"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>
          </aside>
        
        <p>I love to explore places. As I am currently pursuing PhD in University of Houston and this is only my first year, surely, I will be staying here for the next three years.</p>

<p>So, I plan to share photos and videos of the places I have already visited and the ones I am going to visit. There will be a series of posts entitled <strong>Hangouts near Houston</strong>.</p>

<p>Follow me on my <a href="https://www.instagram.com/shanto.roy.9/">instagram</a> and subscribe my <a href="https://www.youtube.com/channel/UC85cVe_fhFJCtULZUi1vjkQ">YouTube Channel</a> to keep in touch.</p>

<h2 id="san-jacinto-battleground-historic-site">San Jacinto Battleground Historic Site</h2>
<p>San Jacinto Battleground State Historic is just $25$ minutes drive from the <code class="language-plaintext highlighter-rouge">University of Houston</code> and has a long history about <a href="https://en.wikipedia.org/wiki/Texas_Revolution">Texas Revolution</a>.</p>

<iframe src="https://www.google.com/maps/embed?pb=!1m28!1m12!1m3!1d221733.36793204947!2d-95.36068523937487!3d29.731810850165925!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!4m13!3e0!4m5!1s0x8640be5a8ebea199%3A0xc9f387eca8247e7!2sUniversity%20of%20Houston%2C%204800%20Calhoun%20Rd%2C%20Houston%2C%20TX%2077004!3m2!1d29.7199489!2d-95.3422334!4m5!1s0x8640a0f1682225a7%3A0x1e89b74ee8a6425b!2sSan%20Jacinto%20Battleground%20State%20Historic%20Site%2C%203523%20Independence%20Pkwy%2C%20La%20Porte%2C%20TX%2077571!3m2!1d29.747393499999998!2d-95.0796515!5e0!3m2!1sen!2sus!4v1593891367221!5m2!1sen!2sus" width="560" height="200" frameborder="0" style="border:0;" allowfullscreen="" aria-hidden="false" tabindex="0"></iframe>

<p>You can visit the <code class="language-plaintext highlighter-rouge">San Jacinto Monument</code> and the <code class="language-plaintext highlighter-rouge">Museum Battleship</code> here. There is a museum inside the San Jacinto Monument as well. However, due to the COVID-19 situation, both of the museums were closed and we just roamed the surroundings. Here is a video where you can find both places.</p>

<iframe width="560" height="315" src="https://www.youtube.com/embed/Nt8mFYiNWQ8" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen=""></iframe>

<h2 id="fishing-in-huntsville">Fishing in Huntsville</h2>
<p>Huntsville is full of lakes and the Huntsville state park itself is quite nice. We could not visit the state park as it required booking beforehand. Therefore, we decided to do fishing in a random lakeside and the surrounding was really nice.</p>

<p>The following video presents a few moments of that excellent afternoon.</p>

<iframe width="560" height="315" src="https://www.youtube.com/embed/KrAXuWX8fNc" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen=""></iframe>

<p>P.S. I just started learning video editing and the qualities are not that good. Please, feel free to check my other new videos on my YouTube channel. Thanks.
<!--stackedit_data:
eyJoaXN0b3J5IjpbMTk2MjI4MTE1LC02NTIzNDMzMTFdfQ==
--></p>

	      <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- horizontal_ad -->
<ins class="adsbygoogle"
     style="display:block"
     data-ad-client="ca-pub-1099218700412995"
     data-ad-slot="7013535065"
     data-ad-format="auto"
     data-full-width-responsive="true"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>

        
      </section>

<!--       <footer class="page__meta">
        
        
  


  
  
  

  <p class="page__taxonomy">
    <strong><i class="fa fa-fw fa-tags" aria-hidden="true"></i> Tags: </strong>
    <span itemprop="keywords">
    
      
      
      <a href="https://shantoroy.com/tags/#hangout" class="page__taxonomy-item" rel="tag">Hangout</a><span class="sep">, </span>
    
      
      
      <a href="https://shantoroy.com/tags/#houston" class="page__taxonomy-item" rel="tag">Houston</a><span class="sep">, </span>
    
      
      
      <a href="https://shantoroy.com/tags/#texas" class="page__taxonomy-item" rel="tag">Texas</a><span class="sep">, </span>
    
      
      
      <a href="https://shantoroy.com/tags/#travel" class="page__taxonomy-item" rel="tag">Travel</a><span class="sep">, </span>
    
      
      
      <a href="https://shantoroy.com/tags/#usa" class="page__taxonomy-item" rel="tag">USA</a>
    
    </span>
  </p>




  


  
  
  

  <p class="page__taxonomy">
    <strong><i class="fa fa-fw fa-folder-open" aria-hidden="true"></i> Categories: </strong>
    <span itemprop="keywords">
    
      
      
      <a href="https://shantoroy.com/categories/#travel" class="page__taxonomy-item" rel="tag">Travel</a>
    
    </span>
  </p>


        
          <p class="page__date"><strong><i class="fa fa-fw fa-calendar" aria-hidden="true"></i> Updated:</strong> <time datetime="2020-03-05T00:00:00+00:00">March 05, 2020</time></p>
        
      </footer> -->

      <section class="page__share">
  
    <h4 class="page__share-title">Share on</h4>
  

  <a href="https://twitter.com/intent/tweet?text=Hangouts+near+Houston%3A+San+Jacinto+Battleground+and+Huntsville+Lake%20https%3A%2F%2Fshantoroy.com%2Ftravel%2Ftrip-to-San-Jacinto-Battleground-State-Historic-Site-huntsville-lake-Houston-TX-USA%2F" class="btn btn--twitter" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" title="Share on Twitter"><i class="fab fa-fw fa-twitter" aria-hidden="true"></i><span> Twitter</span></a>

  <a href="https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fshantoroy.com%2Ftravel%2Ftrip-to-San-Jacinto-Battleground-State-Historic-Site-huntsville-lake-Houston-TX-USA%2F" class="btn btn--facebook" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" title="Share on Facebook"><i class="fab fa-fw fa-facebook" aria-hidden="true"></i><span> Facebook</span></a>

  <a href="https://plus.google.com/share?url=https%3A%2F%2Fshantoroy.com%2Ftravel%2Ftrip-to-San-Jacinto-Battleground-State-Historic-Site-huntsville-lake-Houston-TX-USA%2F" class="btn btn--google-plus" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" title="Share on Google Plus"><i class="fab fa-fw fa-google-plus" aria-hidden="true"></i><span> Google+</span></a>

  <a href="https://www.linkedin.com/shareArticle?mini=true&url=https%3A%2F%2Fshantoroy.com%2Ftravel%2Ftrip-to-San-Jacinto-Battleground-State-Historic-Site-huntsville-lake-Houston-TX-USA%2F" class="btn btn--linkedin" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" title="Share on LinkedIn"><i class="fab fa-fw fa-linkedin" aria-hidden="true"></i><span> LinkedIn</span></a>
</section>


      
  <nav class="pagination">
    
      <a href="https://shantoroy.com/movies/best-motivational-climbing-documentaries/" class="pagination--pager" title="Best Motivational Mountain Climbing Documentaries
">Previous</a>
    
    
      <a href="https://shantoroy.com/jekyll/how-I-added-google-adsense-to-my-jekyll-minimal-mistakes-blog/" class="pagination--pager" title="Google Adsense in Jekyll Static Site or Minimal Mistakes Blog Theme
">Next</a>
    
  </nav>

    </div>

    
      <div class="page__comments">
  
  
      <h4 class="page__comments-title">Leave a Comment</h4>
      <section class="fb-comments" data-href="https://shantoroy.com/travel/trip-to-San-Jacinto-Battleground-State-Historic-Site-huntsville-lake-Houston-TX-USA/" data-mobile="true" data-num-posts="5" data-width="100%" data-colorscheme="light"></section>
    
</div>
    
  </article>

  
  
    <div class="page__related">
      <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- horizontal_ad -->
<ins class="adsbygoogle"
     style="display:block"
     data-ad-client="ca-pub-1099218700412995"
     data-ad-slot="7013535065"
     data-ad-format="auto"
     data-full-width-responsive="true"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>

      <h4 class="page__related-title">You May Also Enjoy</h4>
      <div class="grid__wrapper">
        
          



<div class="grid__item">
  <article class="archive__item" itemscope itemtype="http://schema.org/CreativeWork">
    
      <div class="archive__item-teaser">
        <img src=
          
            "https://live.staticflickr.com/65535/51713840278_c17951a974_o.png"
          
          alt="">
      </div>
    
    <h2 class="archive__item-title" itemprop="headline">
      
        <a href="https://shantoroy.com/python/build-your-first-mobile-app-in-python-with-kivy/" rel="permalink">Build Your First Mobile App in Python with Kivy: A Simple ‘Hello World’ Program
</a>
      
    </h2>
    
      <p class="page__meta"><i class="fa fa-clock-o" aria-hidden="true"></i> 




  2 minute read
</p>
    
    <p class="archive__item-excerpt" itemprop="description">This post introduces the first step of developing mobile application in Python with Kivy Module. We will print ‘hello world’ on the app.
</p>
  </article>
</div>
        
          



<div class="grid__item">
  <article class="archive__item" itemscope itemtype="http://schema.org/CreativeWork">
    
      <div class="archive__item-teaser">
        <img src=
          
            "https://live.staticflickr.com/65535/51702265701_5d63b11031_o.png"
          
          alt="">
      </div>
    
    <h2 class="archive__item-title" itemprop="headline">
      
        <a href="https://shantoroy.com/python/data-science-in-python-posts-in-my-blog/" rel="permalink">Collection of <code class="language-plaintext highlighter-rouge">Data Science in Python</code> Posts in my Blog
</a>
      
    </h2>
    
      <p class="page__meta"><i class="fa fa-clock-o" aria-hidden="true"></i> 




  less than 1 minute read
</p>
    
    <p class="archive__item-excerpt" itemprop="description">This post provides all the links of posts related to data science in python.
</p>
  </article>
</div>
        
          



<div class="grid__item">
  <article class="archive__item" itemscope itemtype="http://schema.org/CreativeWork">
    
      <div class="archive__item-teaser">
        <img src=
          
            "https://live.staticflickr.com/65535/51702878069_15985a2037_o.png"
          
          alt="">
      </div>
    
    <h2 class="archive__item-title" itemprop="headline">
      
        <a href="https://shantoroy.com/offer/rakuten-promotion-40-dollar-cashback-on-sign-up/" rel="permalink">Rakuten Earn 40 Dollar Cashback Offer on Sign Up
</a>
      
    </h2>
    
      <p class="page__meta"><i class="fa fa-clock-o" aria-hidden="true"></i> 




  less than 1 minute read
</p>
    
    <p class="archive__item-excerpt" itemprop="description">This post provides a Rakuten Referrel Link that earns you 40 Dollar Cashback if you shop from selected stores.
</p>
  </article>
</div>
        
          



<div class="grid__item">
  <article class="archive__item" itemscope itemtype="http://schema.org/CreativeWork">
    
      <div class="archive__item-teaser">
        <img src=
          
            "https://live.staticflickr.com/65535/51711452189_ba18a4a5c2_o.png"
          
          alt="">
      </div>
    
    <h2 class="archive__item-title" itemprop="headline">
      
        <a href="https://shantoroy.com/security/security-solutions-software-for-enterprise/" rel="permalink">Security Solutions for Enterprise: SIEM, EDR, SOAR
</a>
      
    </h2>
    
      <p class="page__meta"><i class="fa fa-clock-o" aria-hidden="true"></i> 




  3 minute read
</p>
    
    <p class="archive__item-excerpt" itemprop="description">This post introduces the security solutions for Enterprise Systems. I discuss the basic functionalities and key differences among SIEM, EDR, and SOAR.
</p>
  </article>
</div>
        
      </div>
    </div>
  
  
</div>

<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- horizontal_ad -->
<ins class="adsbygoogle"
     style="display:block"
     data-ad-client="ca-pub-1099218700412995"
     data-ad-slot="7013535065"
     data-ad-format="auto"
     data-full-width-responsive="true"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>


</section>

So, you see, I have added the vertical ad unit after the table of contents and added another (horizontal ad unit) after the content. You can place ads in different places based on where you exactly want this ads to show up. You just need to add this code

<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- horizontal_ad -->
<ins class="adsbygoogle"
     style="display:block"
     data-ad-client="ca-pub-1099218700412995"
     data-ad-slot="7013535065"
     data-ad-format="auto"
     data-full-width-responsive="true"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>

If you want to know how to track your website or blog using Google Analytics, feel free to read my other post: Google Analytics in Minimal Mistakes Blog Theme

Keep growing your audience and earning some passive money. Happy blogging!!! :sunglasses:

Leave a Comment