Skip to content

Commit

Permalink
adds option to remove copyright text in config yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jameshamann committed Jul 3, 2018
1 parent e496ce4 commit 5204c43
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ name: Your Name
email: [email protected]
description: Write an awesome description for your new site here. You can edit this line in _config.yml. It will appear in your document head meta (for Google search results) and in your feed.xml site description.
display_footer: inital #change this to 'none' if you want to hide the footer copyright text
theme: jekyll-material-theme
parallax_image_one: assets/images/startup3.jpg # These are the images used for the parallax background
Expand Down
2 changes: 2 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ description: Write an awesome description for your new site here. You can edit t
baseurl: "/blog"
url: ""

display_footer: inital #change this to 'none' if you want to hide the footer copyright text

parallax_image_one: assets/images/startup3.jpg # These are the images used for the parallax background
parallax_image_two: assets/images/startup3.jpg

Expand Down
4 changes: 2 additions & 2 deletions _includes/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<script src="{{site.baseurl}}/assets/js/init.js"></script>
</body>
<footer class="page-footer">
<div class="footer-copyright" style="padding-left: 30px">
<i class="material-icons" style="padding-right:5px">copyright</i><p>2018 Copyright {{ site.name }} | All rights reserved</p>
<div class="footer-copyright" style="padding-left: 30px;">
<i class="material-icons" style="padding-right:5px; display:{{site.display_footer}};">copyright</i><p style="display:{{site.display_footer}};">2018 Copyright {{ site.name }} | All rights reserved</p>
</div>
</footer>
</html>

0 comments on commit 5204c43

Please sign in to comment.