-
-
Save tony-o/a614749299b5d2d82a1d77d69f571f75 to your computer and use it in GitHub Desktop.
This file contains 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> | |
</head> | |
<body> | |
<header> | |
hello, whatever your name is | |
</header> | |
<p> | |
just kidding, rf | |
</p> | |
</body> | |
</html> |
This file contains 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
use Ryml::Components; | |
sub page($name) { | |
html[ | |
head[], | |
body[ | |
header[ 'hello, whatever your is', ], | |
p[ "just kidding, {$name}", ], | |
], | |
].render; | |
} | |
say page('rf'); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment