forked from nat/webbed-site
switch to htmlgen for content creation
This commit is contained in:
@ -1,15 +1,20 @@
|
||||
<!-- TITLE: wow! -->
|
||||
<!-- DATE: 2024-07-23 20:26:07 -->
|
||||
this post has been edited to remove behavior that would cause breakage at compile time in compliance with changes to site archetucture discussed in "2024-08-21 00:25:12: this site serves pages slowly and with asymetric lag times" and the following post. <br>
|
||||
you may think: "but posts don't get compiled". you are correct, however they get included in documents at the compile time of those documents. <br>
|
||||
this caused behavior where every time the /html/random-thoughts.html page was rendered, it would render approximately 8 times the content. not ideal. <br>
|
||||
instead of fixing the issue with the lisp to html converter (dubiously possible) I have simply escaped the commands in this post. use your imagination if you are really that curious as to how it originally looked.
|
||||
<br><br><br>
|
||||
This post is confusing and might be a marginally abnormal quine. in html*. Have fun.<br>
|
||||
This is a thing that works now.
|
||||
The format in which I can write these posts as well as how they work is reasonably interesting.
|
||||
I am most displeased due to my inability to figure out a reasonable means of having iframes such that their height is that of their respective content.
|
||||
below you will find the code for this web page. it is interesting, especially if you haven't read <a href=/html/site-info.html> the site info page</a>.
|
||||
<pre><xmp>$[cat ./html/random-thoughts.html]</xmp></pre>
|
||||
<pre><xmp>$[echo "\$\[cat ./html/random-thoughts.html"]]</xmp></pre>
|
||||
<br>
|
||||
you may ask: natalie[ee], why are you using iframes?<br>
|
||||
the answer to such a question would of course be "by using iframes, I may make a post contain bash commands as detailed on <a href=/html/site-info.html> the site info page</a> while also being arbitrarily invalid html. Plain text would make a valid thought post.
|
||||
<br>
|
||||
an example of such, this post:
|
||||
<pre>$[cat ./html/thoughts/this-is-a-thought | sed 's/&/\&/g; s/</\</g; s/>/\>/g']</pre>
|
||||
<pre>$[echo "\$\[cat ./html/thoughts/this-is-a-thought | sed 's/&/\&/g; s/</\</g; s/>/\>/g'"]]</pre>
|
||||
As can be observed, the title is set via a rather kludgy comment in the post file. This allows for filenames that differ from titles, which I implemented for no particular reason.
|
||||
|
Reference in New Issue
Block a user