library now works with sitix. very glad I moved.

This commit is contained in:
Lazy Hippopotamus
2024-03-05 20:40:46 -05:00
parent bd63034366
commit 434bb07d94
14 changed files with 484 additions and 19 deletions

6
README
View File

@@ -1,6 +1,12 @@
The Avraham Society is a Jewish Humanist organization in the MENA region.
This is their website code.
This is a Sitix (https://github.com/LinuxRocks2000/sitix-rewrite) project. To
build it, run `sitix site` in the root directory. The output directory will
contain the built site. DO NOT RUN `sitix build site -o .`! I learned the hard
way that recovering the files sitix will delete IS IMPOSSIBLE! And it'll even
remove all your git stuff, which I was rather mad about. Yes, I wrote sitix and
should understand all of its implications. What, you *don't* get tired?
The avrahamsociety directory contains the old website code which was *generated*
by Jekyll; I (cough, erm) made a mistake and erased most of the Jekyll source.
My templating pattern was simple so it's been easy to repair, luckily.

View File

@@ -1,4 +1,9 @@
<!DOCTYPE html>
@@ -47,18 +52,20 @@
<div id="bg"></div>
<div id="main">
<div id="banner">
<a href="http://localhost:8080"><img src="res/Avraham_Society.png"></a>
<a href="http://localhost:8080"><img src="http://localhost:8080/res/Avraham_Society.png"></a>
<div id="social">Social media, recent updates, etc</div>
<input id="navExpander" style="display: none;" type="checkbox" checked>
<div id="nav">
<label for="navExpander" id="nav-expand"></label>
<a onclick="localStorage.refered = true" href="http://localhost:8080/">Home</a>
<a onclick="localStorage.refered = true" href="http://localhost:8080/intro-to-judaism">Intro to Judaism</a>
<a onclick="localStorage.refered = true" href="http://localhost:8080/jewish-history-culture">Jewish History and Culture</a>
<a onclick="localStorage.refered = true" href="http://localhost:8080/landmarks">Jewish Landmarks</a>
<a onclick="localStorage.refered = true" href="http://localhost:8080/humanism">Humanism</a>
<a onclick="localStorage.refered = true" href="http://localhost:8080/membership">Membership</a>
<a onclick="localStorage.refered = true" href="http://localhost:8080/library">Library</a>
<a onclick="localStorage.refered = true" href="http://localhost:8080/">Home</a>
<a onclick="localStorage.refered = true" href="http://localhost:8080/intro-to-judaism">Intro to Judaism</a>
<a onclick="localStorage.refered = true" href="http://localhost:8080/jewish-history-culture">Jewish History and Culture</a>
<a onclick="localStorage.refered = true" href="http://localhost:8080/landmarks">Jewish Landmarks</a>
<a onclick="localStorage.refered = true" href="http://localhost:8080/humanism">Humanism</a>
<a onclick="localStorage.refered = true" href="http://localhost:8080/membership">Membership</a>
<a onclick="localStorage.refered = true" href="http://localhost:8080/librarymain">Library</a>
</div>
</div>
<div class="top">
@@ -156,3 +163,4 @@
<script src="main.js"></script>
</body>
</html>

View File

@@ -0,0 +1,113 @@
<!DOCTYPE html>
<!--
Kuwait flag colors:
Green: #007b3a
Red: #cf0821
Black: black
White: white
-->
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Avraham Society | Library | Library Entry Two</title>
<link rel="stylesheet" href="http://localhost:8080/main.css" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="icon" href="http://localhost:8080/res/Avraham_Society_icon.png">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@800&family=Libre+Baskerville&family=Roboto&family=Roboto+Mono:wght@300&display=swap" rel="stylesheet">
<!-- HTML Meta Tags -->
<meta name="description" content="The Avraham Society is a Jewish Humanist initiative focused on serving the needs of the Jewish communities of Iraq and Kuwait.">
<!-- Facebook Meta Tags -->
<meta property="og:url" content="https://avrahamsociety.org">
<meta property="og:type" content="website">
<meta property="og:title" content="Avraham Society | Home">
<meta property="og:description" content="The Avraham Society is a Jewish Humanist initiative focused on serving the needs of the Jewish communities of Iraq and Kuwait.">
<meta property="og:image" content="http://localhost:8080/res/Avraham_Society.png">
<!-- Twitter Meta Tags -->
<meta name="twitter:card" content="summary_large_image">
<meta property="twitter:domain" content="avrahamsociety.org">
<meta property="twitter:url" content="https://avrahamsociety.org">
<meta name="twitter:title" content="Avraham Society | Home">
<meta name="twitter:description" content="The Avraham Society is a Jewish Humanist initiative focused on serving the needs of the Jewish communities of Iraq and Kuwait.">
<meta name="twitter:image" content="http://localhost:8080/res/Avraham_Society.png">
<!-- Meta Tags Generated via https://www.opengraph.xyz -->
<meta name="viewport" content="width=device-width, initial-scale=1" />
</head>
<body>
<div id="bg"></div>
<div id="main">
<div id="banner">
<a href="http://localhost:8080"><img src="http://localhost:8080/res/Avraham_Society.png"></a>
<div id="social">Social media, recent updates, etc</div>
<input id="navExpander" style="display: none;" type="checkbox" checked>
<div id="nav">
<label for="navExpander" id="nav-expand"></label>
<a onclick="localStorage.refered = true" href="http://localhost:8080/">Home</a>
<a onclick="localStorage.refered = true" href="http://localhost:8080/intro-to-judaism">Intro to Judaism</a>
<a onclick="localStorage.refered = true" href="http://localhost:8080/jewish-history-culture">Jewish History and Culture</a>
<a onclick="localStorage.refered = true" href="http://localhost:8080/landmarks">Jewish Landmarks</a>
<a onclick="localStorage.refered = true" href="http://localhost:8080/humanism">Humanism</a>
<a onclick="localStorage.refered = true" href="http://localhost:8080/membership">Membership</a>
<a onclick="localStorage.refered = true" href="http://localhost:8080/librarymain">Library</a>
</div>
</div>
<div class="top">
<div id="title">Avraham Society<br>
<small><b><i>May replace this space with a logo? the current logo would not look good there, but something like what Kabbalah has would. I can do the logo design if it's simple enough; my art talent is pretty weak though.</i></b></small>
</div>
<div id="shape"></div>
</div>
<div>
<h1 style="padding-bottom: 2em;">Library | Library Entry Two</h1>
</div>
<p id="liblurb">
This is the second Library Entry, for testing. This is a very real blurb! It has important information, just enough to entice the visitor to click!
</p>
<p>
This could be lorem text! This could be lorem text!This could be lorem text!This could be lorem text!This could be lorem text!This could be lorem text!This could be lorem text!This could be lorem text!This could be lorem text!This could be lorem text!
</p>
<div class="bottom">
<img src="http://localhost:8080/res/Avraham_Society.png">
<div>
<p>
Quick informative blurb, social links, etc.
</p>
<p>
Could follow a number of different designs; this is the most basic possibility.
</p>
</div>
</div>
<div id="plug">Website by <a href="mailto:plupy44@gmail.com">Tyler Clarke</a>.</div>
</div>
<script src="main.js"></script>
</body>
</html>

View File

@@ -0,0 +1,113 @@
<!DOCTYPE html>
<!--
Kuwait flag colors:
Green: #007b3a
Red: #cf0821
Black: black
White: white
-->
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Avraham Society | Library | Library Entry</title>
<link rel="stylesheet" href="http://localhost:8080/main.css" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="icon" href="http://localhost:8080/res/Avraham_Society_icon.png">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@800&family=Libre+Baskerville&family=Roboto&family=Roboto+Mono:wght@300&display=swap" rel="stylesheet">
<!-- HTML Meta Tags -->
<meta name="description" content="The Avraham Society is a Jewish Humanist initiative focused on serving the needs of the Jewish communities of Iraq and Kuwait.">
<!-- Facebook Meta Tags -->
<meta property="og:url" content="https://avrahamsociety.org">
<meta property="og:type" content="website">
<meta property="og:title" content="Avraham Society | Home">
<meta property="og:description" content="The Avraham Society is a Jewish Humanist initiative focused on serving the needs of the Jewish communities of Iraq and Kuwait.">
<meta property="og:image" content="http://localhost:8080/res/Avraham_Society.png">
<!-- Twitter Meta Tags -->
<meta name="twitter:card" content="summary_large_image">
<meta property="twitter:domain" content="avrahamsociety.org">
<meta property="twitter:url" content="https://avrahamsociety.org">
<meta name="twitter:title" content="Avraham Society | Home">
<meta name="twitter:description" content="The Avraham Society is a Jewish Humanist initiative focused on serving the needs of the Jewish communities of Iraq and Kuwait.">
<meta name="twitter:image" content="http://localhost:8080/res/Avraham_Society.png">
<!-- Meta Tags Generated via https://www.opengraph.xyz -->
<meta name="viewport" content="width=device-width, initial-scale=1" />
</head>
<body>
<div id="bg"></div>
<div id="main">
<div id="banner">
<a href="http://localhost:8080"><img src="http://localhost:8080/res/Avraham_Society.png"></a>
<div id="social">Social media, recent updates, etc</div>
<input id="navExpander" style="display: none;" type="checkbox" checked>
<div id="nav">
<label for="navExpander" id="nav-expand"></label>
<a onclick="localStorage.refered = true" href="http://localhost:8080/">Home</a>
<a onclick="localStorage.refered = true" href="http://localhost:8080/intro-to-judaism">Intro to Judaism</a>
<a onclick="localStorage.refered = true" href="http://localhost:8080/jewish-history-culture">Jewish History and Culture</a>
<a onclick="localStorage.refered = true" href="http://localhost:8080/landmarks">Jewish Landmarks</a>
<a onclick="localStorage.refered = true" href="http://localhost:8080/humanism">Humanism</a>
<a onclick="localStorage.refered = true" href="http://localhost:8080/membership">Membership</a>
<a onclick="localStorage.refered = true" href="http://localhost:8080/librarymain">Library</a>
</div>
</div>
<div class="top">
<div id="title">Avraham Society<br>
<small><b><i>May replace this space with a logo? the current logo would not look good there, but something like what Kabbalah has would. I can do the logo design if it's simple enough; my art talent is pretty weak though.</i></b></small>
</div>
<div id="shape"></div>
</div>
<div>
<h1 style="padding-bottom: 2em;">Library | Library Entry</h1>
</div>
<p id="liblurb">
This library entry is sure to boggle the mind! Lorem ipsum dolor sit amet, consectetur adipisicing elit. Magnam nam unde sequi nemo voluptatem voluptate autem quaerat perspiciatis! Error ut, velit sed rerum voluptatum officiis pariatur unde facilis inventore eligendi?
</p>
<p>
This library text is sure to boggle the mind! Lorem ipsum dolor sit amet consectetur adipisicing elit. Unde quasi debitis hic quibusdam animi est eius, consequatur optio quidem porro soluta? Dolor quae obcaecati repudiandae est tempore odit eos. Vitae? Lorem ipsum dolor, sit amet consectetur adipisicing elit. Fugiat, harum. Saepe, eum ad? Ducimus dolorem culpa adipisci corporis tempora nemo iste magnam mollitia architecto delectus, enim repellat fugiat! Provident, omnis. Lorem ipsum dolor sit, amet consectetur adipisicing elit. Corrupti, neque ipsum dolor ducimus blanditiis voluptatum excepturi voluptate quia voluptates numquam iste dolorum hic nulla tempora aperiam culpa fuga sed eius.
</p>
<div class="bottom">
<img src="http://localhost:8080/res/Avraham_Society.png">
<div>
<p>
Quick informative blurb, social links, etc.
</p>
<p>
Could follow a number of different designs; this is the most basic possibility.
</p>
</div>
</div>
<div id="plug">Website by <a href="mailto:plupy44@gmail.com">Tyler Clarke</a>.</div>
</div>
<script src="main.js"></script>
</body>
</html>

135
output/librarymain.html Normal file
View File

@@ -0,0 +1,135 @@
<!DOCTYPE html>
<!--
Kuwait flag colors:
Green: #007b3a
Red: #cf0821
Black: black
White: white
-->
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Avraham Society | Library</title>
<link rel="stylesheet" href="http://localhost:8080/main.css" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="icon" href="http://localhost:8080/res/Avraham_Society_icon.png">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@800&family=Libre+Baskerville&family=Roboto&family=Roboto+Mono:wght@300&display=swap" rel="stylesheet">
<!-- HTML Meta Tags -->
<meta name="description" content="The Avraham Society is a Jewish Humanist initiative focused on serving the needs of the Jewish communities of Iraq and Kuwait.">
<!-- Facebook Meta Tags -->
<meta property="og:url" content="https://avrahamsociety.org">
<meta property="og:type" content="website">
<meta property="og:title" content="Avraham Society | Home">
<meta property="og:description" content="The Avraham Society is a Jewish Humanist initiative focused on serving the needs of the Jewish communities of Iraq and Kuwait.">
<meta property="og:image" content="http://localhost:8080/res/Avraham_Society.png">
<!-- Twitter Meta Tags -->
<meta name="twitter:card" content="summary_large_image">
<meta property="twitter:domain" content="avrahamsociety.org">
<meta property="twitter:url" content="https://avrahamsociety.org">
<meta name="twitter:title" content="Avraham Society | Home">
<meta name="twitter:description" content="The Avraham Society is a Jewish Humanist initiative focused on serving the needs of the Jewish communities of Iraq and Kuwait.">
<meta name="twitter:image" content="http://localhost:8080/res/Avraham_Society.png">
<!-- Meta Tags Generated via https://www.opengraph.xyz -->
<meta name="viewport" content="width=device-width, initial-scale=1" />
</head>
<body>
<div id="bg"></div>
<div id="main">
<div id="banner">
<a href="http://localhost:8080"><img src="http://localhost:8080/res/Avraham_Society.png"></a>
<div id="social">Social media, recent updates, etc</div>
<input id="navExpander" style="display: none;" type="checkbox" checked>
<div id="nav">
<label for="navExpander" id="nav-expand"></label>
<a onclick="localStorage.refered = true" href="http://localhost:8080/">Home</a>
<a onclick="localStorage.refered = true" href="http://localhost:8080/intro-to-judaism">Intro to Judaism</a>
<a onclick="localStorage.refered = true" href="http://localhost:8080/jewish-history-culture">Jewish History and Culture</a>
<a onclick="localStorage.refered = true" href="http://localhost:8080/landmarks">Jewish Landmarks</a>
<a onclick="localStorage.refered = true" href="http://localhost:8080/humanism">Humanism</a>
<a onclick="localStorage.refered = true" href="http://localhost:8080/membership">Membership</a>
<a onclick="localStorage.refered = true" href="http://localhost:8080/librarymain">Library</a>
</div>
</div>
<div class="top">
<div id="title">Avraham Society<br>
<small><b><i>May replace this space with a logo? the current logo would not look good there, but something like what Kabbalah has would. I can do the logo design if it's simple enough; my art talent is pretty weak though.</i></b></small>
</div>
<div id="shape"></div>
</div>
<div>
<h1 style="padding-bottom: 2em;">Library</h1>
</div>
<div id="library">
<div id="libpages">
<a href="/library/library-entry.html">
<span>Library Entry</span>
<p>
This library entry is sure to boggle the mind! Lorem ipsum dolor sit amet, consectetur adipisicing elit. Magnam nam unde sequi nemo voluptatem voluptate autem quaerat perspiciatis! Error ut, velit sed rerum voluptatum officiis pariatur unde facilis inventore eligendi?
</p>
<span><img src="/res/librarrow.svg"></span>
</a>
<a href="/library/library-entry-2.html">
<span>Library Entry Two</span>
<p>
This is the second Library Entry, for testing. This is a very real blurb! It has important information, just enough to entice the visitor to click!
</p>
<span><img src="/res/librarrow.svg"></span>
</a>
</div>
<div id="study">
<div id="study-inner">
<h1 style="color: var(--kuwaitred);">Daily Study</h1>
<div>
Something to study!
</div>
<div>
Something else to study!
</div>
</div>
</div>
</div>
<div class="bottom">
<img src="http://localhost:8080/res/Avraham_Society.png">
<div>
<p>
Quick informative blurb, social links, etc.
</p>
<p>
Could follow a number of different designs; this is the most basic possibility.
</p>
</div>
</div>
<div id="plug">Website by <a href="mailto:plupy44@gmail.com">Tyler Clarke</a>.</div>
</div>
<script src="main.js"></script>
</body>
</html>

View File

@@ -365,3 +365,13 @@ h1 {
#libpages {
flex: 1 1 min-content;
}
p#liblurb {
font-size: 1.2em;
padding-left: 20%;
padding-right: 20%;
padding-top: 5% !important;
padding-bottom: 5% !important;
background-image: linear-gradient(white, rgb(255, 255, 255, 0.7), white);
background-color: transparent;
}

2
site/config.stx Normal file
View File

@@ -0,0 +1,2 @@
[?]
[=baseurl http://localhost:8080]

View File

@@ -0,0 +1,12 @@
[!]
[=libraryTitle Library Entry Two]
[=libraryBlurb-]
This is the second Library Entry, for testing. This is a very real blurb! It has important information, just enough to entice the visitor to click!
[/]
[=libraryContent-]
<p>
This could be lorem text! This could be lorem text!This could be lorem text!This could be lorem text!This could be lorem text!This could be lorem text!This could be lorem text!This could be lorem text!This could be lorem text!This could be lorem text!
</p>
[/]
[#templates/library.html]

View File

@@ -0,0 +1,12 @@
[!]
[=libraryTitle Library Entry]
[=libraryBlurb-]
This library entry is sure to boggle the mind! Lorem ipsum dolor sit amet, consectetur adipisicing elit. Magnam nam unde sequi nemo voluptatem voluptate autem quaerat perspiciatis! Error ut, velit sed rerum voluptatum officiis pariatur unde facilis inventore eligendi?
[/]
[=libraryContent-]
<p>
This library text is sure to boggle the mind! Lorem ipsum dolor sit amet consectetur adipisicing elit. Unde quasi debitis hic quibusdam animi est eius, consequatur optio quidem porro soluta? Dolor quae obcaecati repudiandae est tempore odit eos. Vitae? Lorem ipsum dolor, sit amet consectetur adipisicing elit. Fugiat, harum. Saepe, eum ad? Ducimus dolorem culpa adipisci corporis tempora nemo iste magnam mollitia architecto delectus, enim repellat fugiat! Provident, omnis. Lorem ipsum dolor sit, amet consectetur adipisicing elit. Corrupti, neque ipsum dolor ducimus blanditiis voluptatum excepturi voluptate quia voluptates numquam iste dolorum hic nulla tempora aperiam culpa fuga sed eius.
</p>
[/]
[#templates/library.html]

30
site/librarymain.html Normal file
View File

@@ -0,0 +1,30 @@
[!]
[=content-]
<div id="library">
<div id="libpages">
[f library libraryEntry]
<a href="/library/[^libraryEntry.filename]">
<span>[^libraryEntry.libraryTitle]</span>
<p>
[^libraryEntry.libraryBlurb]
</p>
<span><img src="/res/librarrow.svg"></span>
</a>
[/]
</div>
<div id="study">
<div id="study-inner">
<h1 style="color: var(--kuwaitred);">Daily Study</h1>
<div>
Something to study!
</div>
<div>
Something else to study!
</div>
</div>
</div>
</div>
[/]
[=title Library]
[#templates/default.html]

10
site/links.html Normal file
View File

@@ -0,0 +1,10 @@
[?]
[=links-]
<a onclick="localStorage.refered = true" href="[^baseurl]/">Home</a>
<a onclick="localStorage.refered = true" href="[^baseurl]/intro-to-judaism">Intro to Judaism</a>
<a onclick="localStorage.refered = true" href="[^baseurl]/jewish-history-culture">Jewish History and Culture</a>
<a onclick="localStorage.refered = true" href="[^baseurl]/landmarks">Jewish Landmarks</a>
<a onclick="localStorage.refered = true" href="[^baseurl]/humanism">Humanism</a>
<a onclick="localStorage.refered = true" href="[^baseurl]/membership">Membership</a>
<a onclick="localStorage.refered = true" href="[^baseurl]/librarymain">Library</a>
[/]

View File

@@ -365,3 +365,13 @@ h1 {
#libpages {
flex: 1 1 min-content;
}
p#liblurb {
font-size: 1.2em;
padding-left: 20%;
padding-right: 20%;
padding-top: 5% !important;
padding-bottom: 5% !important;
background-image: linear-gradient(white, rgb(255, 255, 255, 0.7), white);
background-color: transparent;
}

View File

@@ -1,5 +1,6 @@
[?]
[=baseurl http://localhost:8080]
[#config.stx]
[#links.html]
<!DOCTYPE html>
@@ -48,18 +49,12 @@
<div id="bg"></div>
<div id="main">
<div id="banner">
<a href="[^baseurl]"><img src="res/Avraham_Society.png"></a>
<a href="[^baseurl]"><img src="[^baseurl]/res/Avraham_Society.png"></a>
<div id="social">Social media, recent updates, etc</div>
<input id="navExpander" style="display: none;" type="checkbox" checked>
<div id="nav">
<label for="navExpander" id="nav-expand"></label>
<a onclick="localStorage.refered = true" href="[^baseurl]/">Home</a>
<a onclick="localStorage.refered = true" href="[^baseurl]/intro-to-judaism">Intro to Judaism</a>
<a onclick="localStorage.refered = true" href="[^baseurl]/jewish-history-culture">Jewish History and Culture</a>
<a onclick="localStorage.refered = true" href="[^baseurl]/landmarks">Jewish Landmarks</a>
<a onclick="localStorage.refered = true" href="[^baseurl]/humanism">Humanism</a>
<a onclick="localStorage.refered = true" href="[^baseurl]/membership">Membership</a>
<a onclick="localStorage.refered = true" href="[^baseurl]/library">Library</a>
[^links]
</div>
</div>
<div class="top">

View File

@@ -0,0 +1,9 @@
[?]
[=content-]
<p id="liblurb">
[^libraryBlurb]
</p>
[^libraryContent]
[/]
[=title-]Library | [^libraryTitle][/]
[#templates/default.html]