Skip to content

Instantly share code, notes, and snippets.

@mreidsma
Last active October 9, 2024 20:12
Show Gist options
  • Save mreidsma/246d9885140e379c818504cfc2edf560 to your computer and use it in GitHub Desktop.
Save mreidsma/246d9885140e379c818504cfc2edf560 to your computer and use it in GitHub Desktop.
Design for adding library hours to the GVSU UL Website
<!--
Docs: https://libguides.gvsu.edu/reusabledesigns/hours
-->
<!-- Show all library hours for today -->
<!-- Include where you want the hours to appear. Must be nested inside the class of .site -->
<div class="site>
...
<div class="col-4 col-sm-12 library-hours"></div>
<!-- Include this script before the closing <body> tag -->
<script src="https://prod.library.gvsu.edu/labs/template_hours/hours.js"></script>
<!-- Show one libraries' hours for today -->
<!-- Include where you want the hours to appear. Use location code for after libhours
maryi - Mary Idema Pew Library
steelcase - Steelcase Library
frey - Frey Foundation Learning Commons
virtual - Virtual Services
seidman - Seidman House
cml - Curriculum Materials Library
-->
<div class="libhours-maryi"></div>
<!-- Include this script before the closing <body> tag
This script modified from UPenn's LibCal Tools: https://github.com/upenn-libraries/LibCal-Tools
-->
<script src="https://prod.library.gvsu.edu/labs/LibCal-Tools/src/js/libhours.js"></script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment