Last active
July 29, 2025 11:01
-
-
Save scripting/69436e223b212315846f5944e0957504 to your computer and use it in GitHub Desktop.
Template for my shownotes site, link to an example in the first comment.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html> | |
| <head> | |
| <title>[%postTitle%]</title> | |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <link href="https://fonts.googleapis.com/css?family=Oswald" rel="stylesheet" type="text/css"> | |
| <link rel="alternate" type="application/rss+xml" href="[%rssFeedUrl%]"> | |
| <%basicIncludes2%> | |
| <script src="//s3.amazonaws.com/scripting.com/code/podcastbuilder/shownotes/code.js?x=2"></script> | |
| <link rel="stylesheet" href="//s3.amazonaws.com/scripting.com/code/podcastbuilder/shownotes/styles.css?x=2"> | |
| <script> | |
| function startup () { | |
| console.log ("startup"); | |
| hitCounter (); | |
| } | |
| </script> | |
| <style> | |
| body { | |
| font-family: Ubuntu; | |
| font-size: 18px; | |
| background-color: whitesmoke; | |
| } | |
| .divPageBody { | |
| width: 60%; | |
| margin-top: 50px; | |
| margin-left: auto; | |
| margin-right: auto; | |
| margin-bottom: 400px; | |
| } | |
| .divPostTime { | |
| font-size: 18px; | |
| margin-bottom: 25px; | |
| } | |
| .divPostTitle { | |
| font-family: "Oswald"; | |
| font-size: 42px; | |
| letter-spacing: -1px; | |
| font-weight: bold; | |
| margin-bottom: 20px; | |
| line-height: 100%; | |
| } | |
| .divPostBody p { | |
| list-style-type: none; | |
| margin-bottom: .6em; | |
| line-height: 160%; | |
| } | |
| .divPostBody audio { | |
| margin-top: 1em; | |
| border: 1px solid silver; | |
| } | |
| .divFooter { | |
| margin-top: 50px; | |
| padding-top: .4em; | |
| border-top: 1px solid gray; | |
| font-size: 14px; | |
| } | |
| .divFeedLink { | |
| float: right; | |
| margin-top: 35px; | |
| width: 36px; | |
| height: 14px; | |
| background-color: orange; | |
| border: 1px solid darkorange; | |
| } | |
| .divFeedLink .divXmlIcon { | |
| font-family: "Ubuntu"; | |
| color: white; | |
| font-size: 11px; | |
| text-align: center; | |
| font-weight: bold; | |
| margin-top: -3px; | |
| cursor: pointer; | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <div class="divPageBody"> | |
| <div class="divPostTime"> | |
| [%postTime%] | |
| </div> | |
| <div class="divPostTitle"> | |
| [%postTitle%] | |
| </div> | |
| <div class="divPostBody"> | |
| [%bodytext%] | |
| <audio id="audioPlayer" controls> | |
| <source src="[%enclosure%]" type="audio/mpeg"> | |
| Your browser does not support the audio element. | |
| </audio> | |
| </div> | |
| <div class="divFooter"> | |
| [%footertext%] | |
| </div> | |
| <div class="divFeedLink" data-container="body" data-toggle="tooltip" data-placement="right" title="" data-original-title="View the RSS 2.0 feed for this podcast."> | |
| <a href="[%rssFeedUrl%]" target="_blank"> | |
| <div class="divXmlIcon">RSS</div> | |
| </a> | |
| </div> | |
| </div> | |
| <script> | |
| $(document).ready (function () { | |
| startup (); | |
| }); | |
| </script> | |
| </body> | |
| </html> |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See post on WordCamp Canada site.
https://canada.wordcamp.org/2025/why-i-need-wordland/