Skip to content

Commit

Permalink
Ads
Browse files Browse the repository at this point in the history
  • Loading branch information
nayanseth committed Apr 9, 2024
1 parent 9e34b4d commit ffdc49a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,9 @@ https://nayanseth.com

1. Uncomment the ignoreFiles attribute in `<SITE_NAME>/hugo.yaml`
2. Start adding the files in `<SITE_NAME>/content` by replicating what is present in `<SITE_NAME>/themes/terminal/content`
3. Update the meta content in `head.html`
3. Update the meta content in `head.html`

# Ads

1. Create a file in `<SITE_NAME>/layouts/partials/ads.html`
2. Paste your Google Adsense code
1 change: 1 addition & 0 deletions layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
</div>
{{ partialCached "head/js.html" . }}
<script id="dsq-count-scr" src="//nayanseth.disqus.com/count.js" async></script>
{{ partial "ads.html" . }}
</body>

</html>

0 comments on commit ffdc49a

Please sign in to comment.