/usr/games/fortune
) did the trick. Now it works.
zs
or mkws
or some other static site generator (SSg)? 🤔
zs
or mkws
or some other static site generator (SSg)? 🤔
pp
or https://mkws.sh, check it out https://mkws.sh/pp.html<@doctype html>
fortune
#!
/usr/games/fortune
#!
<!doctype html>
<head>
<title>fortune</title>
</head>
<body>
<h1>fortune</h1>
<pre><code>{{ /usr/games/fortune }}</code></pre>
</body>
</html>
😂
<!doctype html>
<head>
<title>fortune</title>
</head>
<body>
<h1>fortune</h1>
<pre><code>{{ /usr/games/fortune }}</code></pre>
</body>
</html>
😂
But there:
<@doctype html>
fortune
$(/usr/games/fortune)
<!--#include virtual=cgi-bin/fortune.sh-->
is the simplest, but I'm an envs.neter, I'm clearly biased :D
pp
under CGI!
pp
as in the perl compiler/packager thingy? Yeah you can run any shell script in a server side CGI, as long as the permissions and PATH are all correct. Although envs.net already supports perl for CGI, so you could just use <!--#include virtual="cgi-bin/foo.pl" -->
rather than calling pp
pp
as in http://mkws.sh/pp.html