diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2020-08-22 14:15:28 -0400 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2020-08-22 14:15:34 -0400 |
| commit | afa17dfda2fb4fcc74e58236b2bf86f9ba6c50a4 (patch) | |
| tree | b286cf154305e42ebbd43240b657be62f0c27997 /md.bqn | |
| parent | 0cb146516528afd700b5c4bec9c5373cf54fd778 (diff) | |
Add favicon
Diffstat (limited to 'md.bqn')
| -rw-r--r-- | md.bqn | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -609,6 +609,12 @@ Fmt ← { ################################ # Creating HTML files -Head ← "<head><link href="""∾("../"/˜"/"⊑∘∊⊢)∾"style.css"" rel=""stylesheet""/></head>"∾lf˜ -nav ← "<div class=""nav""><a href=""https://github.com/mlochbaum/BQN"">BQN</a></div>"∾lf -ConvertFile ← Head ∾ nav ∾ Markdown⟜(•LNS •path∾⊢) +RplcQuote ← {'"'¨⌾(('''=𝕩)⊸/)𝕩} +Head ← { + p ← (+´'/'=𝕩) ⥊∘/⟜≍ "../" + L ← {∾⟨"<link href='",p,𝕩,"' rel='",𝕨,"'/>"⟩} + links ← ⟨"shortcut icon' type='image/x-icon"L"favicon.ico","stylesheet"L"style.css"⟩ + "head"Html lf∾JoinLines " "⊸∾¨links +} +nav ← "div class=""nav"""Html"a href=""https://github.com/mlochbaum/BQN"""Html"BQN" +ConvertFile ← (RplcQuote Head ∾○(∾⟜lf) nav˜) ∾ Markdown⟜(•LNS •path∾⊢) |
