Skip to content

Instantly share code, notes, and snippets.

@thesunshade
thesunshade / createSuttaPostTemplate.js
Created May 8, 2022 02:16
Grab page titles and some content from suttacentral.net, dhammatalks.org and suttafriends.org
javascript: (() => {
let url = window.location;
let pageTitle = document.title;
postTitle = "";
let partialForTitle = "";
let partialForAttribution = "this";
let suttaBodyContent = "SUTTA BODY CONTENT GOES HERE";
let attribution = "";
let contents = "";
let suttaEnglishTitle = "";
@thesunshade
thesunshade / Khandhaka.html
Created June 6, 2023 00:01
Sample of Khandhaka
This file has been truncated, but you can view the full file.
<article id="title-page">
<h1 class="center">Theravāda Collection on Monastic Law</h1>
<div class="center italic">A translation of the Pali Vinaya Piṭaka into English</div>
<div class="center italic top-margin">by</div>
<div class="center large top-margin">Bhikkhu Brahmali</div>
<div class="center top-margin">2021 SuttaCentral</div>
<div class="center">Read online at <a href="https://suttacentral.net/vinaya">SuttaCentral.com</a></div>
<div class="center">Creative Commons Zero</div>
</article>
<article id="description-page">