text: /**
   * Adds a clock to the slides.
   *
   * @author Finn LeSueur (https://finn.lesueur.nz)
   **/
  window.Clock = window.Clock || {
      id: 'Clock',
      init: function(deck){
          var clock = "<span id='clock'></span>";
          var reveal = document.querySelector(".reveal");
          reveal.innerHTML = clock + reveal.innerHTML;
          reveal.innerHTML = "<div class='kowhaiwhai'></div>" + reveal.innerHTML;
          updateClock();
      },
  };
  
  function updateClock () {
      var date = new Date();
  
      const days = [
          "Sunday",
          "Monday",
          "Tuesday",
          "Wednesday",
          "Thursday",
          "Friday",
          "Saturday"
      ];
  
      const months = [
          "January",
          "February",
          "March",
          "April",
          "May",
          "June",
          "July",
          "August",
          "September",
          "October",
          "November",
          "December",
      ];
  
      const trDays = [
          "Rātapu",
          "Rāhina",
          "Rātu",
          "Rāapa",
          "Rāpare",
          "Rāmere",
          "Rāhoroi"
      ];
      
      const trMonths = [
          "Kohi-tātea",
          "Hui-tanguru",
          "Poutū-te-rangi",
          "Paenga-whāwhā",
          "Haratua",
          "Pipiri",
          "Hōngongoi",
          "Here-turi-kōkā",
          "Mahuru",
          "Whiringa-ā-nuku",
          "Whiringa-ā-rangi",
          "Hakihea"
      ];
  
      var dte = days[date.getDay()]
          + ", "
          + date.getDate()
          + " "
          + months[date.getMonth()]
          + "<br>"
          + trDays[date.getDay()]
          + ", "
          + date.getDate()
          + " "
          + trMonths[date.getMonth()];
  
      // TODO: Add English date
  
      document.getElementById('clock').innerHTML = dte + "<br>" + date.toLocaleTimeString();
      setTimeout(updateClock, 75);
  }
  