commit b2e2fde818f382b39107eeccdb71411b28c76497 Author: Simon Brooke Date: Wed Aug 26 17:50:14 2026 +0100 Initial commit. diff --git a/brief.md b/brief.md new file mode 100644 index 0000000..a624eb3 --- /dev/null +++ b/brief.md @@ -0,0 +1,17 @@ +Thank you for asking. I’ve chosen the following fonts and colour palette for the blog: + +Typography + +- Headings: Merriweather — elegant, warm, and literary, which I think suits the nature of our stories. +- Body text: Inter — clean, modern, and easy to read, especially for longer stories and on mobile devices. + +Colour Palette + +- Background: Off-White / Light Gray — #F9F9F9 +- Text: Charcoal Black — #222222 +- Primary Accent: Olive Green — for the main branding elements and highlights. +- Secondary Accent: Deep Burgundy / Dark Red — used sparingly for buttons and important calls to action. + +I’d like the overall design to feel warm, calm, human, and dignified, while keeping the stories themselves at the heart of the blog. + +I hope this works well. Thank you again for your wonderful work. \ No newline at end of file diff --git a/content/asc/pages/adoc-page.asc b/content/asc/pages/adoc-page.asc new file mode 100644 index 0000000..739ac52 --- /dev/null +++ b/content/asc/pages/adoc-page.asc @@ -0,0 +1,8 @@ +{:title "Adoc Page" + :layout :page + :page-index 0 + :navbar? true} + +== Adoc Page == + +We support http://asciidoc.org/[asciidoc] too! diff --git a/content/asc/posts/2014-10-10-adoc-post.asc b/content/asc/posts/2014-10-10-adoc-post.asc new file mode 100644 index 0000000..0fdf83a --- /dev/null +++ b/content/asc/posts/2014-10-10-adoc-post.asc @@ -0,0 +1,44 @@ +{:title "Adoc Post" + :layout :post + :tags ["cryogen" "asciidoc"] + :toc false +} + +:toc: macro + +== Example Asciidoc Post == +This is an example asciidoc post. + +You can use a manually placed table of contents by setting `:toc false` in the front matter, but use `:toc: macro` at the top of the post, and `toc::[]` where the table of contents is supposed to be, like here: + +toc::[] + +=== Section 1 === + +.Heading + +With some text and maybe even a bulleted list: + +- Thing 1 +- Thing 2 + +Or how about some *bold* or _italicized_ text? + +=== Section 2 === + +Will a code snippet work? + +.bash +[source,bash] +---- +$ echo "foo" +---- + +.clojure +[source,clojure] +---- +(defn echo [s] + (println s)) +---- + + diff --git a/content/config.edn b/content/config.edn new file mode 100644 index 0000000..143177d --- /dev/null +++ b/content/config.edn @@ -0,0 +1,38 @@ +{:archive-group-format "yyyy MMMM", + :appeal-uri "https://chuffed.org/project/178629-noorhans-gaza-family-rebuild-hope-restore-dignity" + :author "Nourhan Mousa", + :author-root-uri "authors-output", + :blocks-per-preview 2, + :blog-prefix "/voices-from-gaza", + :clean-urls :trailing-slash, + :collapse-subdirs? false, + :debug? false, + :description "News from behind the yellow line in Gaza", + :description-include-elements #{:h5 :h4 :h6 :h2 :h1 :h3 :p}, + :disqus-shortname "", + :disqus? false, + :hide-future-posts? true, + :ignored-files [#"\.#.*" #".*\.swp$"], + :keep-files [".git"], + :klipse {}, + :mastodon {:host "ieji.de", :acct NourGazaS}, + :page-root "pages", + :page-root-uri "pages-output", + :post-date-format "yyyy-MM-dd", + :post-root "posts", + :post-root-uri "posts-output", + :posts-per-page 5, + :previews? true, + :public-dest "public", + :recent-posts 5, + :resources ["css" "fonts" "img" "video"], + :rss-filters ["cryogen"], + :rss-name "feed.xml", + :sass-path "sass", + :sass-src [], + :site-title "Voices, Stories and Hope from Gaza", + :site-url "http://www.journeyman.cc/", + :tag-root-uri "tags-output", + :theme "blue", + :twitter-acct nil, + :write-back-inferred-meta? true} diff --git a/content/css/example.css b/content/css/example.css new file mode 100644 index 0000000..b01a819 --- /dev/null +++ b/content/css/example.css @@ -0,0 +1,3 @@ +a { + text-decoration-style: dashed; +} \ No newline at end of file diff --git a/content/css/sassexample.scss b/content/css/sassexample.scss new file mode 100644 index 0000000..8d488cb --- /dev/null +++ b/content/css/sassexample.scss @@ -0,0 +1,5 @@ +body { + a { + text-decoration-style: dashed; + } +} \ No newline at end of file diff --git a/content/fonts/Inter/Inter-Italic-VariableFont_opsz,wght.ttf b/content/fonts/Inter/Inter-Italic-VariableFont_opsz,wght.ttf new file mode 100644 index 0000000..43ed4f5 Binary files /dev/null and b/content/fonts/Inter/Inter-Italic-VariableFont_opsz,wght.ttf differ diff --git a/content/fonts/Inter/Inter-VariableFont_opsz,wght.ttf b/content/fonts/Inter/Inter-VariableFont_opsz,wght.ttf new file mode 100644 index 0000000..e31b51e Binary files /dev/null and b/content/fonts/Inter/Inter-VariableFont_opsz,wght.ttf differ diff --git a/content/fonts/Inter/OFL.txt b/content/fonts/Inter/OFL.txt new file mode 100644 index 0000000..d05ec4b --- /dev/null +++ b/content/fonts/Inter/OFL.txt @@ -0,0 +1,93 @@ +Copyright 2020 The Inter Project Authors (https://github.com/rsms/inter) + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +https://openfontlicense.org + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/content/fonts/Inter/README.txt b/content/fonts/Inter/README.txt new file mode 100644 index 0000000..b92a417 --- /dev/null +++ b/content/fonts/Inter/README.txt @@ -0,0 +1,118 @@ +Inter Variable Font +=================== + +This download contains Inter as both variable fonts and static fonts. + +Inter is a variable font with these axes: + opsz + wght + +This means all the styles are contained in these files: + Inter/Inter-VariableFont_opsz,wght.ttf + Inter/Inter-Italic-VariableFont_opsz,wght.ttf + +If your app fully supports variable fonts, you can now pick intermediate styles +that aren’t available as static fonts. Not all apps support variable fonts, and +in those cases you can use the static font files for Inter: + Inter/static/Inter_18pt-Thin.ttf + Inter/static/Inter_18pt-ExtraLight.ttf + Inter/static/Inter_18pt-Light.ttf + Inter/static/Inter_18pt-Regular.ttf + Inter/static/Inter_18pt-Medium.ttf + Inter/static/Inter_18pt-SemiBold.ttf + Inter/static/Inter_18pt-Bold.ttf + Inter/static/Inter_18pt-ExtraBold.ttf + Inter/static/Inter_18pt-Black.ttf + Inter/static/Inter_24pt-Thin.ttf + Inter/static/Inter_24pt-ExtraLight.ttf + Inter/static/Inter_24pt-Light.ttf + Inter/static/Inter_24pt-Regular.ttf + Inter/static/Inter_24pt-Medium.ttf + Inter/static/Inter_24pt-SemiBold.ttf + Inter/static/Inter_24pt-Bold.ttf + Inter/static/Inter_24pt-ExtraBold.ttf + Inter/static/Inter_24pt-Black.ttf + Inter/static/Inter_28pt-Thin.ttf + Inter/static/Inter_28pt-ExtraLight.ttf + Inter/static/Inter_28pt-Light.ttf + Inter/static/Inter_28pt-Regular.ttf + Inter/static/Inter_28pt-Medium.ttf + Inter/static/Inter_28pt-SemiBold.ttf + Inter/static/Inter_28pt-Bold.ttf + Inter/static/Inter_28pt-ExtraBold.ttf + Inter/static/Inter_28pt-Black.ttf + Inter/static/Inter_18pt-ThinItalic.ttf + Inter/static/Inter_18pt-ExtraLightItalic.ttf + Inter/static/Inter_18pt-LightItalic.ttf + Inter/static/Inter_18pt-Italic.ttf + Inter/static/Inter_18pt-MediumItalic.ttf + Inter/static/Inter_18pt-SemiBoldItalic.ttf + Inter/static/Inter_18pt-BoldItalic.ttf + Inter/static/Inter_18pt-ExtraBoldItalic.ttf + Inter/static/Inter_18pt-BlackItalic.ttf + Inter/static/Inter_24pt-ThinItalic.ttf + Inter/static/Inter_24pt-ExtraLightItalic.ttf + Inter/static/Inter_24pt-LightItalic.ttf + Inter/static/Inter_24pt-Italic.ttf + Inter/static/Inter_24pt-MediumItalic.ttf + Inter/static/Inter_24pt-SemiBoldItalic.ttf + Inter/static/Inter_24pt-BoldItalic.ttf + Inter/static/Inter_24pt-ExtraBoldItalic.ttf + Inter/static/Inter_24pt-BlackItalic.ttf + Inter/static/Inter_28pt-ThinItalic.ttf + Inter/static/Inter_28pt-ExtraLightItalic.ttf + Inter/static/Inter_28pt-LightItalic.ttf + Inter/static/Inter_28pt-Italic.ttf + Inter/static/Inter_28pt-MediumItalic.ttf + Inter/static/Inter_28pt-SemiBoldItalic.ttf + Inter/static/Inter_28pt-BoldItalic.ttf + Inter/static/Inter_28pt-ExtraBoldItalic.ttf + Inter/static/Inter_28pt-BlackItalic.ttf + +Get started +----------- + +1. Install the font files you want to use + +2. Use your app's font picker to view the font family and all the +available styles + +Learn more about variable fonts +------------------------------- + + https://developers.google.com/web/fundamentals/design-and-ux/typography/variable-fonts + https://variablefonts.typenetwork.com + https://medium.com/variable-fonts + +In desktop apps + + https://theblog.adobe.com/can-variable-fonts-illustrator-cc + https://helpx.adobe.com/nz/photoshop/using/fonts.html#variable_fonts + +Online + + https://developers.google.com/fonts/docs/getting_started + https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Fonts/Variable_Fonts_Guide + https://developer.microsoft.com/en-us/microsoft-edge/testdrive/demos/variable-fonts + +Installing fonts + + MacOS: https://support.apple.com/en-us/HT201749 + Linux: https://www.google.com/search?q=how+to+install+a+font+on+gnu%2Blinux + Windows: https://support.microsoft.com/en-us/help/314960/how-to-install-or-remove-a-font-in-windows + +Android Apps + + https://developers.google.com/fonts/docs/android + https://developer.android.com/guide/topics/ui/look-and-feel/downloadable-fonts + +License +------- +Please read the full license text (OFL.txt) to understand the permissions, +restrictions and requirements for usage, redistribution, and modification. + +You can use them in your products & projects – print or digital, +commercial or otherwise. + +This isn't legal advice, please consider consulting a lawyer and see the full +license for all details. diff --git a/content/fonts/Merriweather/Merriweather-Italic-VariableFont_opsz,wdth,wght.ttf b/content/fonts/Merriweather/Merriweather-Italic-VariableFont_opsz,wdth,wght.ttf new file mode 100644 index 0000000..24e59dc Binary files /dev/null and b/content/fonts/Merriweather/Merriweather-Italic-VariableFont_opsz,wdth,wght.ttf differ diff --git a/content/fonts/Merriweather/Merriweather-VariableFont_opsz,wdth,wght.ttf b/content/fonts/Merriweather/Merriweather-VariableFont_opsz,wdth,wght.ttf new file mode 100644 index 0000000..558f666 Binary files /dev/null and b/content/fonts/Merriweather/Merriweather-VariableFont_opsz,wdth,wght.ttf differ diff --git a/content/fonts/Merriweather/OFL.txt b/content/fonts/Merriweather/OFL.txt new file mode 100644 index 0000000..160af13 --- /dev/null +++ b/content/fonts/Merriweather/OFL.txt @@ -0,0 +1,93 @@ +Copyright 2020 The Merriweather Project Authors (https://github.com/EbenSorkin/Merriweather4) with Reserved Font Name "Merriweather". + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +https://openfontlicense.org + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/content/fonts/Merriweather/README.txt b/content/fonts/Merriweather/README.txt new file mode 100644 index 0000000..0ce6513 --- /dev/null +++ b/content/fonts/Merriweather/README.txt @@ -0,0 +1,205 @@ +Merriweather Variable Font +========================== + +This download contains Merriweather as both variable fonts and static fonts. + +Merriweather is a variable font with these axes: + opsz + wdth + wght + +This means all the styles are contained in these files: + Merriweather/Merriweather-VariableFont_opsz,wdth,wght.ttf + Merriweather/Merriweather-Italic-VariableFont_opsz,wdth,wght.ttf + +If your app fully supports variable fonts, you can now pick intermediate styles +that aren’t available as static fonts. Not all apps support variable fonts, and +in those cases you can use the static font files for Merriweather: + Merriweather/static/Merriweather_24pt_SemiCondensed-Light.ttf + Merriweather/static/Merriweather_24pt_SemiCondensed-Regular.ttf + Merriweather/static/Merriweather_24pt_SemiCondensed-Medium.ttf + Merriweather/static/Merriweather_24pt_SemiCondensed-SemiBold.ttf + Merriweather/static/Merriweather_24pt_SemiCondensed-Bold.ttf + Merriweather/static/Merriweather_24pt_SemiCondensed-ExtraBold.ttf + Merriweather/static/Merriweather_24pt_SemiCondensed-Black.ttf + Merriweather/static/Merriweather_24pt-Light.ttf + Merriweather/static/Merriweather_24pt-Regular.ttf + Merriweather/static/Merriweather_24pt-Medium.ttf + Merriweather/static/Merriweather_24pt-SemiBold.ttf + Merriweather/static/Merriweather_24pt-Bold.ttf + Merriweather/static/Merriweather_24pt-ExtraBold.ttf + Merriweather/static/Merriweather_24pt-Black.ttf + Merriweather/static/Merriweather_36pt_SemiCondensed-Light.ttf + Merriweather/static/Merriweather_36pt_SemiCondensed-Regular.ttf + Merriweather/static/Merriweather_36pt_SemiCondensed-Medium.ttf + Merriweather/static/Merriweather_36pt_SemiCondensed-SemiBold.ttf + Merriweather/static/Merriweather_36pt_SemiCondensed-Bold.ttf + Merriweather/static/Merriweather_36pt_SemiCondensed-ExtraBold.ttf + Merriweather/static/Merriweather_36pt_SemiCondensed-Black.ttf + Merriweather/static/Merriweather_36pt-Light.ttf + Merriweather/static/Merriweather_36pt-Regular.ttf + Merriweather/static/Merriweather_36pt-Medium.ttf + Merriweather/static/Merriweather_36pt-SemiBold.ttf + Merriweather/static/Merriweather_36pt-Bold.ttf + Merriweather/static/Merriweather_36pt-ExtraBold.ttf + Merriweather/static/Merriweather_36pt-Black.ttf + Merriweather/static/Merriweather_48pt_SemiCondensed-Light.ttf + Merriweather/static/Merriweather_48pt_SemiCondensed-Regular.ttf + Merriweather/static/Merriweather_48pt_SemiCondensed-Medium.ttf + Merriweather/static/Merriweather_48pt_SemiCondensed-SemiBold.ttf + Merriweather/static/Merriweather_48pt_SemiCondensed-Bold.ttf + Merriweather/static/Merriweather_48pt_SemiCondensed-ExtraBold.ttf + Merriweather/static/Merriweather_48pt_SemiCondensed-Black.ttf + Merriweather/static/Merriweather_48pt-Light.ttf + Merriweather/static/Merriweather_48pt-Regular.ttf + Merriweather/static/Merriweather_48pt-Medium.ttf + Merriweather/static/Merriweather_48pt-SemiBold.ttf + Merriweather/static/Merriweather_48pt-Bold.ttf + Merriweather/static/Merriweather_48pt-ExtraBold.ttf + Merriweather/static/Merriweather_48pt-Black.ttf + Merriweather/static/Merriweather_96pt_SemiCondensed-Light.ttf + Merriweather/static/Merriweather_96pt_SemiCondensed-Regular.ttf + Merriweather/static/Merriweather_96pt_SemiCondensed-Medium.ttf + Merriweather/static/Merriweather_96pt_SemiCondensed-SemiBold.ttf + Merriweather/static/Merriweather_96pt_SemiCondensed-Bold.ttf + Merriweather/static/Merriweather_96pt_SemiCondensed-ExtraBold.ttf + Merriweather/static/Merriweather_96pt_SemiCondensed-Black.ttf + Merriweather/static/Merriweather_96pt-Light.ttf + Merriweather/static/Merriweather_96pt-Regular.ttf + Merriweather/static/Merriweather_96pt-Medium.ttf + Merriweather/static/Merriweather_96pt-SemiBold.ttf + Merriweather/static/Merriweather_96pt-Bold.ttf + Merriweather/static/Merriweather_96pt-ExtraBold.ttf + Merriweather/static/Merriweather_96pt-Black.ttf + Merriweather/static/Merriweather_120pt_SemiCondensed-Light.ttf + Merriweather/static/Merriweather_120pt_SemiCondensed-Regular.ttf + Merriweather/static/Merriweather_120pt_SemiCondensed-Medium.ttf + Merriweather/static/Merriweather_120pt_SemiCondensed-SemiBold.ttf + Merriweather/static/Merriweather_120pt_SemiCondensed-Bold.ttf + Merriweather/static/Merriweather_120pt_SemiCondensed-ExtraBold.ttf + Merriweather/static/Merriweather_120pt_SemiCondensed-Black.ttf + Merriweather/static/Merriweather_120pt-Light.ttf + Merriweather/static/Merriweather_120pt-Regular.ttf + Merriweather/static/Merriweather_120pt-Medium.ttf + Merriweather/static/Merriweather_120pt-SemiBold.ttf + Merriweather/static/Merriweather_120pt-Bold.ttf + Merriweather/static/Merriweather_120pt-ExtraBold.ttf + Merriweather/static/Merriweather_120pt-Black.ttf + Merriweather/static/Merriweather_24pt_SemiCondensed-LightItalic.ttf + Merriweather/static/Merriweather_24pt_SemiCondensed-Italic.ttf + Merriweather/static/Merriweather_24pt_SemiCondensed-MediumItalic.ttf + Merriweather/static/Merriweather_24pt_SemiCondensed-SemiBoldItalic.ttf + Merriweather/static/Merriweather_24pt_SemiCondensed-BoldItalic.ttf + Merriweather/static/Merriweather_24pt_SemiCondensed-ExtraBoldItalic.ttf + Merriweather/static/Merriweather_24pt_SemiCondensed-BlackItalic.ttf + Merriweather/static/Merriweather_24pt-LightItalic.ttf + Merriweather/static/Merriweather_24pt-Italic.ttf + Merriweather/static/Merriweather_24pt-MediumItalic.ttf + Merriweather/static/Merriweather_24pt-SemiBoldItalic.ttf + Merriweather/static/Merriweather_24pt-BoldItalic.ttf + Merriweather/static/Merriweather_24pt-ExtraBoldItalic.ttf + Merriweather/static/Merriweather_24pt-BlackItalic.ttf + Merriweather/static/Merriweather_36pt_SemiCondensed-LightItalic.ttf + Merriweather/static/Merriweather_36pt_SemiCondensed-Italic.ttf + Merriweather/static/Merriweather_36pt_SemiCondensed-MediumItalic.ttf + Merriweather/static/Merriweather_36pt_SemiCondensed-SemiBoldItalic.ttf + Merriweather/static/Merriweather_36pt_SemiCondensed-BoldItalic.ttf + Merriweather/static/Merriweather_36pt_SemiCondensed-ExtraBoldItalic.ttf + Merriweather/static/Merriweather_36pt_SemiCondensed-BlackItalic.ttf + Merriweather/static/Merriweather_36pt-LightItalic.ttf + Merriweather/static/Merriweather_36pt-Italic.ttf + Merriweather/static/Merriweather_36pt-MediumItalic.ttf + Merriweather/static/Merriweather_36pt-SemiBoldItalic.ttf + Merriweather/static/Merriweather_36pt-BoldItalic.ttf + Merriweather/static/Merriweather_36pt-ExtraBoldItalic.ttf + Merriweather/static/Merriweather_36pt-BlackItalic.ttf + Merriweather/static/Merriweather_48pt_SemiCondensed-LightItalic.ttf + Merriweather/static/Merriweather_48pt_SemiCondensed-Italic.ttf + Merriweather/static/Merriweather_48pt_SemiCondensed-MediumItalic.ttf + Merriweather/static/Merriweather_48pt_SemiCondensed-SemiBoldItalic.ttf + Merriweather/static/Merriweather_48pt_SemiCondensed-BoldItalic.ttf + Merriweather/static/Merriweather_48pt_SemiCondensed-ExtraBoldItalic.ttf + Merriweather/static/Merriweather_48pt_SemiCondensed-BlackItalic.ttf + Merriweather/static/Merriweather_48pt-LightItalic.ttf + Merriweather/static/Merriweather_48pt-Italic.ttf + Merriweather/static/Merriweather_48pt-MediumItalic.ttf + Merriweather/static/Merriweather_48pt-SemiBoldItalic.ttf + Merriweather/static/Merriweather_48pt-BoldItalic.ttf + Merriweather/static/Merriweather_48pt-ExtraBoldItalic.ttf + Merriweather/static/Merriweather_48pt-BlackItalic.ttf + Merriweather/static/Merriweather_96pt_SemiCondensed-LightItalic.ttf + Merriweather/static/Merriweather_96pt_SemiCondensed-Italic.ttf + Merriweather/static/Merriweather_96pt_SemiCondensed-MediumItalic.ttf + Merriweather/static/Merriweather_96pt_SemiCondensed-SemiBoldItalic.ttf + Merriweather/static/Merriweather_96pt_SemiCondensed-BoldItalic.ttf + Merriweather/static/Merriweather_96pt_SemiCondensed-ExtraBoldItalic.ttf + Merriweather/static/Merriweather_96pt_SemiCondensed-BlackItalic.ttf + Merriweather/static/Merriweather_96pt-LightItalic.ttf + Merriweather/static/Merriweather_96pt-Italic.ttf + Merriweather/static/Merriweather_96pt-MediumItalic.ttf + Merriweather/static/Merriweather_96pt-SemiBoldItalic.ttf + Merriweather/static/Merriweather_96pt-BoldItalic.ttf + Merriweather/static/Merriweather_96pt-ExtraBoldItalic.ttf + Merriweather/static/Merriweather_96pt-BlackItalic.ttf + Merriweather/static/Merriweather_120pt_SemiCondensed-LightItalic.ttf + Merriweather/static/Merriweather_120pt_SemiCondensed-Italic.ttf + Merriweather/static/Merriweather_120pt_SemiCondensed-MediumItalic.ttf + Merriweather/static/Merriweather_120pt_SemiCondensed-SemiBoldItalic.ttf + Merriweather/static/Merriweather_120pt_SemiCondensed-BoldItalic.ttf + Merriweather/static/Merriweather_120pt_SemiCondensed-ExtraBoldItalic.ttf + Merriweather/static/Merriweather_120pt_SemiCondensed-BlackItalic.ttf + Merriweather/static/Merriweather_120pt-LightItalic.ttf + Merriweather/static/Merriweather_120pt-Italic.ttf + Merriweather/static/Merriweather_120pt-MediumItalic.ttf + Merriweather/static/Merriweather_120pt-SemiBoldItalic.ttf + Merriweather/static/Merriweather_120pt-BoldItalic.ttf + Merriweather/static/Merriweather_120pt-ExtraBoldItalic.ttf + Merriweather/static/Merriweather_120pt-BlackItalic.ttf + +Get started +----------- + +1. Install the font files you want to use + +2. Use your app's font picker to view the font family and all the +available styles + +Learn more about variable fonts +------------------------------- + + https://developers.google.com/web/fundamentals/design-and-ux/typography/variable-fonts + https://variablefonts.typenetwork.com + https://medium.com/variable-fonts + +In desktop apps + + https://theblog.adobe.com/can-variable-fonts-illustrator-cc + https://helpx.adobe.com/nz/photoshop/using/fonts.html#variable_fonts + +Online + + https://developers.google.com/fonts/docs/getting_started + https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Fonts/Variable_Fonts_Guide + https://developer.microsoft.com/en-us/microsoft-edge/testdrive/demos/variable-fonts + +Installing fonts + + MacOS: https://support.apple.com/en-us/HT201749 + Linux: https://www.google.com/search?q=how+to+install+a+font+on+gnu%2Blinux + Windows: https://support.microsoft.com/en-us/help/314960/how-to-install-or-remove-a-font-in-windows + +Android Apps + + https://developers.google.com/fonts/docs/android + https://developer.android.com/guide/topics/ui/look-and-feel/downloadable-fonts + +License +------- +Please read the full license text (OFL.txt) to understand the permissions, +restrictions and requirements for usage, redistribution, and modification. + +You can use them in your products & projects – print or digital, +commercial or otherwise. + +This isn't legal advice, please consider consulting a lawyer and see the full +license for all details. diff --git a/content/img/ben-gvir.jpg b/content/img/ben-gvir.jpg new file mode 100644 index 0000000..3b74b0d Binary files /dev/null and b/content/img/ben-gvir.jpg differ diff --git a/content/img/cryogen.png b/content/img/cryogen.png new file mode 100644 index 0000000..797808f Binary files /dev/null and b/content/img/cryogen.png differ diff --git a/content/img/favicon.png b/content/img/favicon.png new file mode 100644 index 0000000..14b5737 Binary files /dev/null and b/content/img/favicon.png differ diff --git a/content/md/pages/about.md b/content/md/pages/about.md new file mode 100644 index 0000000..f2a3f08 --- /dev/null +++ b/content/md/pages/about.md @@ -0,0 +1,33 @@ +{:author "Nour Gaza", + :title "About" + :layout :page + :page-index 0 + :navbar? true} + +## About Me + +My name is Nourhan, a mother of six wonderful children, a university graduate with a Bachelor’s degree in Arabic Language and Teaching Methods, and a woman who once believed that education could open the door to a brighter future. + +I dreamed of building a meaningful career and giving my children a safe and beautiful life. But high unemployment left me unable to find work, and the future I had imagined slowly became harder to reach. + +Then my life changed in another way. After a traumatic experience involving my child falling from a relative’s elevator, I developed chronic health problems, including an underactive thyroid, adrenal insufficiency, and abnormal cortisol levels. I now need regular medical care, examinations, and treatment—needs that have become painfully difficult to afford during the war. + +My husband worked in teaching through a temporary employment program. He tried to provide for our family despite already struggling with a vision problem. But after developing severe joint and cartilage problems, he became unable to work. + +Then the war took what remained. + +We lost our home, our stability, and our source of income. Today, my six children and I live in a torn and fragile tent, with no reliable income and no real protection from the harshness around us. + +Two months before the war began, I gave birth to my little daughter, Sandy. I had waited for her with immense love and anticipation. She was the only girl among my six children, surrounded by five brothers, and I dreamed of giving her the gentle childhood she deserved. + +But the war took even the simplest moments of motherhood from me. + +Fear, hunger, and the unbearable stress caused my breast milk to dry up. I could not even continue breastfeeding my newborn daughter. A mother should never have to choose between feeding her baby and surviving another day. + +I am not writing these words to ask for pity. I am writing because behind every number and every headline is a family, a mother, and six children trying to hold on to life. + +I still dream of a future where my children can grow up safely, where I can care for my health, where my husband can work again, and where Sandy can know what a peaceful childhood feels like. + +I lost almost everything, but I have not lost hope. + +If you choose to stand beside us, your kindness will not simply help a family survive—it will remind us that we have not been forgotten. 🤍🍉 \ No newline at end of file diff --git a/content/md/posts/2026-08-20-Condemnation-of-ben-gvir.md b/content/md/posts/2026-08-20-Condemnation-of-ben-gvir.md new file mode 100644 index 0000000..4640092 --- /dev/null +++ b/content/md/posts/2026-08-20-Condemnation-of-ben-gvir.md @@ -0,0 +1,22 @@ +{:author "Nourhan Mousa", + :date "2026-08-20", + :description "There has been widespread European condemnation of Israeli National Security Minister Itamar Ben-Gvir’s remarks, in which he described Palestinians as “not human” and called for the killing of 30–40 Palestinians from Gaza every night.", + :image + {:path "/img/ben-gvir.jpg", + :alt "Itamar Ben Gvir", + :width 1244, + :height 1555, + :type "image/jpeg"}, + :inferred-meta true, + :tags ["Ben-Gvir"], + :title "Condemnation of Ben-Gvir"} + +![Itamar Ben Gvir](/img/ben-gvir.jpg) + +There has been widespread European condemnation of Israeli National Security Minister Itamar Ben-Gvir’s remarks, in which he described Palestinians as “not human” and called for the killing of 30–40 Palestinians from Gaza every night. + +Germany and Sweden are among the countries that have condemned these remarks, amid calls for European sanctions against extremist Israeli ministers. + +As Palestinians, we do not want more statements of condemnation alone. We want real and meaningful action to stop incitement to kill us and protect civilian lives. + +We are human. Our children are human. Our blood is not a number. 💔 \ No newline at end of file diff --git a/deps.edn b/deps.edn new file mode 100644 index 0000000..8e1e6c8 --- /dev/null +++ b/deps.edn @@ -0,0 +1,14 @@ +{:deps {org.clojure/clojure {:mvn/version "1.11.3"} + ring/ring-devel {:mvn/version "1.12.1"} + compojure/compojure {:mvn/version "1.7.1"} + ring-server/ring-server {:mvn/version "0.5.0"} + cryogen-flexmark/cryogen-flexmark {:mvn/version "0.1.5"} + cryogen-core/cryogen-core {:mvn/version "0.4.9"}} + :aliases {;; Run with `clojure -M:build` + :build {:main-opts ["-m" "cryogen.core"]} + ;; Start a server serving the blog: `clojure -X:serve` + ;; Requires tools.deps.alpha 0.9.810+ + :serve {:exec-fn cryogen.server/serve + :exec-args {:port 3000}} + :fast {:exec-fn cryogen.server/serve + :exec-args {:fast true}}}} diff --git a/project.clj b/project.clj new file mode 100644 index 0000000..dde0520 --- /dev/null +++ b/project.clj @@ -0,0 +1,21 @@ +(defproject cryogen "0.1.0" + :description "Simple static site generator" + :url "https://github.com/cryogen-project/cryogen" + :license {:name "Eclipse Public License" + :url "http://www.eclipse.org/legal/epl-v10.html"} + :dependencies [[org.clojure/clojure "1.12.1"] + [ring/ring-devel "1.12.1"] + [compojure "1.7.1"] + [ring-server "0.5.0"] + [cryogen-flexmark "0.1.5"] + [cryogen-core "0.4.7a-simon-brooke"]] + :plugins [[lein-ring "0.12.5"]] + :managed-dependencies [[org.bouncycastle/bcpkix-jdk18on "1.81.1"] + [org.bouncycastle/bcutil-jdk18on "1.81.1"] + [org.bouncycastle/bcprov-jdk18on "1.81.1"] + [commons-io/commons-io "2.18.0"]] + :main cryogen.core + :ring {:init cryogen.server/init + :handler cryogen.server/handler} + :aliases {"serve" ["run" "-m" "cryogen.server"] + "serve:fast" ["run" "-m" "cryogen.server" "fast"]}) diff --git a/src/cryogen/core.clj b/src/cryogen/core.clj new file mode 100644 index 0000000..51647b2 --- /dev/null +++ b/src/cryogen/core.clj @@ -0,0 +1,8 @@ +(ns cryogen.core + (:require [cryogen-core.compiler :refer [compile-assets-timed]] + [cryogen-core.plugins :refer [load-plugins]])) + +(defn -main [] + (load-plugins) + (compile-assets-timed) + (System/exit 0)) diff --git a/src/cryogen/server.clj b/src/cryogen/server.clj new file mode 100644 index 0000000..aa4732d --- /dev/null +++ b/src/cryogen/server.clj @@ -0,0 +1,95 @@ +(ns cryogen.server + (:require + [compojure.core :refer [GET defroutes]] + [compojure.route :as route] + [ring.util.response :refer [redirect file-response]] + [ring.util.codec :refer [url-decode]] + [ring.server.standalone :as ring-server] + [cryogen-core.watcher :refer [start-watcher! start-watcher-for-changes!]] + [cryogen-core.plugins :refer [load-plugins]] + [cryogen-core.compiler :refer [compile-assets-timed]] + [cryogen-core.config :refer [resolve-config]] + [cryogen-core.io :refer [path]] + [clojure.string :as string]) + (:import (java.io File))) + +(def resolved-config (delay (resolve-config))) + +(def extra-config-dev + "Add dev-time configuration overrides here, such as `:hide-future-posts? false`" + {}) + +(defn init [& [fast?]] + (load-plugins) + (compile-assets-timed extra-config-dev) + (let [ignored-files (-> @resolved-config :ignored-files)] + (run! + #(if fast? + (start-watcher-for-changes! % ignored-files compile-assets-timed extra-config-dev) + (start-watcher! % ignored-files compile-assets-timed)) + ["content" "themes"]))) + +(defn wrap-subdirectories + [handler] + (fn [request] + (let [{:keys [clean-urls blog-prefix public-dest]} @resolved-config + req-uri (.substring (url-decode (:uri request)) 1) + res-path (if (or (.endsWith req-uri "/") + (.endsWith req-uri ".html") + (-> (string/split req-uri #"/") + last + (string/includes? ".") + not)) + (condp = clean-urls + :trailing-slash (path req-uri "index.html") + :no-trailing-slash (if (or (= req-uri "") + (= req-uri "/") + (= req-uri + (if (string/blank? blog-prefix) + blog-prefix + (.substring blog-prefix 1)))) + (path req-uri "index.html") + (path (str req-uri ".html"))) + :dirty (path (str req-uri ".html"))) + req-uri)] + (or (let [rsp (file-response res-path {:root public-dest}) + body (:body rsp)] + ;; Add content-type; it cannot be derived from the extension if `:[no-]trailing-slash` + (cond-> rsp + (and body + (instance? File body) + (string/ends-with? (.getName body) ".html")) + (assoc-in [:headers "Content-Type"] "text/html; charset=utf-8"))) + (handler request))))) + +(defroutes routes + (GET "/" [] (redirect (let [config (resolve-config)] + (path (:blog-prefix config) + (when (= (:clean-urls config) :dirty) + "index.html"))))) + (route/files "/") + (route/not-found "Page not found")) + +(def handler (wrap-subdirectories routes)) + +(defn serve + "Entrypoint for running via tools-deps (clojure)" + [{:keys [fast join?] :as opts}] + (ring-server/serve + handler + (merge + {:join? (if (some? join?) join? true) + :init (partial init fast) + :open-browser? true + :auto-refresh? fast ; w/o fast it would often try to reload the page before it has been fully compiled + :refresh-paths [(:public-dest @resolved-config)]} + opts))) + +(defn -main [& args] + (serve {:port 3000 :fast ((set args) "fast")})) + +(comment + (def srv (serve {:join? false, :fast true})) + (.stop srv) + + ,) diff --git a/themes/blue/css/screen.css b/themes/blue/css/screen.css new file mode 100644 index 0000000..cf56f57 --- /dev/null +++ b/themes/blue/css/screen.css @@ -0,0 +1,225 @@ +@font-face { + font-family: "Merriweather"; + src: url("../fonts/Merriweather/Merriweather-VariableFont_opsz,wdth,wght.ttf"); +} + +@font-face { + font-family: "Inter"; + src: url("../fonts/Inter/Inter-VariableFont_opsz,wght.ttf"); +} + + +h1, h2, h3, h4, h5, h6 { + font-family: 'Merriweather', Helvetica, Arial, sans-serif;; +} + +body { + color: #333; + background-color: #f2f2f2; + font-family: 'Inter', Helvetica, Arial, sans-serif; + font-size: normal; +} + +.container { + max-width: 1000px; +} + +.right { + float: right; + text-align: right; +} + +#navbar-button { + float: left !important; + padding: 0.25em; + position:absolute; + top: 0.25em; + left: 0.25em; +} + +.navbar { + border-radius: 0; + box-shadow: 0 0 0 0,0 6px 12px rgba(34,34,34,0.3); + font-family: 'Merriweather', Helvetica, Arial, sans-serif;; +} + +.navbar-default { + background-color: olive; + border: none; +} + +.navbar-default .navbar-brand { + color: #F9F9F9; +} + +.navbar-default .navbar-brand:hover { + color: #F9F9F9; +} + +.navbar-default .navbar-nav li a, .navbar-default .navbar-nav li a:visited { + color: #F9F9F9; +} + +.navbar-default .navbar-nav li a:hover { + color: #F9F9F9; + background-color: darkolivegreen; +} + +.navbar-default .navbar-nav .active a { + color: #F9F9F9; + background-color: darkolivegreen; +} + +.navbar-default .navbar-toggle:hover{ + background-color: darkolivegreen; +} + +.navbar-default .navbar-toggle .icon-bar { + background-color: #F9F9F9; +} + +#sidebar { + margin-left: 15px; + margin-top: 50px; +} + +#content { + background-color: #F9F9F9; + border-radius: 3px; + box-shadow: 0 0 0 0,0 6px 12px rgba(34,34,34,0.1); +} + +#content img { + max-width: 100%; + height: auto; +} + +footer { + font-size: smaller; + text-align: center; + padding-top: 75px; + padding-bottom: 30px; +} + +blockquote footer { + text-align: left; + padding-top: 0px; + padding-bottom: 0px; +} + +#appeal, #phone-appeal a { + color: #800020; + font-weight: bold; +} + +#phone-appeal { + display: none; + padding-left: 1em; +} + +#appeal a { + color: #a2022a; +} + +#post-tags { + margin-top: 30px; +} + +#prev-next { + padding: 15px 0; +} + +.post-header { + margin-bottom: 20px; +} +.post-header h2 { + font-size: larger; +} + +#post-meta { + font-size: smaller; + color: rgba(0,0,0,0.4) +} + +#page-header { + border-bottom: 1px solid silver; + margin-bottom: 20px; +} +#page-header h2 { + font-size: larger; +} + +a { + color: olive; +} + +a:hover { + color: #800020; +} + +a:visited { + color: darkolivegreen; +} + +hr { + color: darkolivegreen !important; + border-top: thin solid darkolivegreen !important; +} + +pre { + overflow-x: auto; +} +pre code { + display: block; + padding: 0.5em; + overflow-wrap: normal; + white-space: pre; +} + +code { + color: olive; +} + +pre, code, .hljs { + background-color: #f7f9fd; +} + +@media (min-width: 768px) { + /* .navbar { + min-height: 70px; + } */ + .navbar-nav>li>a { + padding: 30px 20px; + } + .navbar-default .navbar-brand { + font-size: large; + padding: 25px 15px; + } + #content{ + margin-top: 30px; + padding: 30px 40px; + } +} + +@media (max-width: 767px) { + body{ + font-size: normal; + } + .navbar-default .navbar-brand { + font-size: larger; + padding-left: 3em; + } + #appeal { + display: none; + } + #phone-appeal { + display: block; + } + #content{ + padding: 15px; + } + #post-meta .right { + float:left; + text-align: left; + } +} diff --git a/themes/blue/html/404.html b/themes/blue/html/404.html new file mode 100644 index 0000000..0f29f50 --- /dev/null +++ b/themes/blue/html/404.html @@ -0,0 +1,40 @@ + + + + + +
+
+
+

404

+

Error ! Page Not Found

+
+
+
+ + + diff --git a/themes/blue/html/archives.html b/themes/blue/html/archives.html new file mode 100644 index 0000000..d2b1378 --- /dev/null +++ b/themes/blue/html/archives.html @@ -0,0 +1,20 @@ +{% extends "/html/base.html" %} +{%block subtitle %}: Archives{% endblock %} +{% block content %} +
+ + {% for group in groups %} +

{{group.group}}

+ + {% endfor %} + +
+{% endblock %} diff --git a/themes/blue/html/author.html b/themes/blue/html/author.html new file mode 100644 index 0000000..cbedfff --- /dev/null +++ b/themes/blue/html/author.html @@ -0,0 +1,19 @@ +{% extends "/html/base.html" %} +{%block subtitle %}: Posts by {{author}} {% endblock %} +{% block content %} +
+
+

Posts by {{author}}

+
+ {% for group in groups %} +

{{group.group}}

+ + {% endfor %} +
+{% endblock %} diff --git a/themes/blue/html/base.html b/themes/blue/html/base.html new file mode 100644 index 0000000..66895b5 --- /dev/null +++ b/themes/blue/html/base.html @@ -0,0 +1,130 @@ + + + + + + {% if mastodon.host %} + + {% endif %} + {{title}}{% block subtitle %}{% endblock %} + {% block meta %} + + + {% endblock %} + + + + + + + + {% style "css/screen.css" %} + + + + + +
+ {% if appeal-uri %} + + {% endif %} +
+
+
{% block content %} {% endblock %}
+
+ +
+ +
+
+
+ Copyright © {{today|date:yyyy}} {{author}} +

+ Powered by Cryogen +

+
+
+ + + {% script "js/highlight.pack.js" %} + + {% if post.klipse %} {{post.klipse|safe}} {% endif %} {% if page.klipse + %} {{page.klipse|safe}} {% endif %} + + + \ No newline at end of file diff --git a/themes/blue/html/home.html b/themes/blue/html/home.html new file mode 100644 index 0000000..f5673c3 --- /dev/null +++ b/themes/blue/html/home.html @@ -0,0 +1,20 @@ +{% extends "/html/base.html" %} +{% block content %} +
+ {% include "/html/post-content.html" %} + {% if disqus? %} + + {% endif %} + +
+ {% if post.prev %} + « {{post.prev.title}} + {% endif %} + {% if post.next %} + {{post.next.title}} » + {% endif %} +
+
+{% endblock %} diff --git a/themes/blue/html/page.html b/themes/blue/html/page.html new file mode 100644 index 0000000..a5627cb --- /dev/null +++ b/themes/blue/html/page.html @@ -0,0 +1,56 @@ +{% extends "/html/base.html" %} +{%block subtitle %}: {{page.title}}{% endblock %} +{% block meta %} +{% if page.description %} + +{% comment %} OpenGraph tags {% endcomment %} + +{% endif %} +{% if page.image %} +{% if page.image.path %} + +{% if page.image.type %} +{% endif %} +{% if page.image.width %} +{% endif %} +{% if page.image.height %} +{% endif %} +{% if page.image.alt %} +{% endif %} +{% else %} +{% endif %} +{% endif %} + + + + + + + +{% if page.image %} + +{% endif %} + +{% endblock %} +{% block content %} +
+ + {% if page.toc %}{{page.toc|safe}}{% endif %} + {{page.content|safe}} + +
+ {% if page.prev %} + « {{page.prev.title}} + {% endif %} + {% if all page.prev page.next %} + || + {% endif %} + {% if page.next %} + {{page.next.title}} » + {% endif %} +
+
+{% endblock %} diff --git a/themes/blue/html/post-content.html b/themes/blue/html/post-content.html new file mode 100644 index 0000000..424b833 --- /dev/null +++ b/themes/blue/html/post-content.html @@ -0,0 +1,21 @@ +
+
+
{{post.date|date:longDate}}
+ {% if post.author %} + By: {{post.author}} + {% endif %} +
+

{{post.title}}

+
+
+ {% if post.toc %}{{post.toc|safe}}{% endif %} + {{post.content|safe}} +
+{% if post.tags|not-empty %} +
+ Tags: + {% for tag in post.tags|sort-by:name %} + | {{tag.name}} + {% endfor %}| +
+{% endif %} diff --git a/themes/blue/html/post.html b/themes/blue/html/post.html new file mode 100644 index 0000000..86c2a35 --- /dev/null +++ b/themes/blue/html/post.html @@ -0,0 +1,66 @@ +{% extends "/html/base.html" %} +{%block subtitle %}: {{post.title}}{% endblock %} +{% block meta %} + +{% if post.description %} + +{% comment %} OpenGraph tags {% endcomment %} + +{% endif %} +{% if post.image %} +{% if post.image.path %} + +{% if post.image.type %} +{% endif %} +{% if post.image.width %} +{% endif %} +{% if post.image.height %} +{% endif %} +{% if post.image.alt %} +{% endif %} +{% else %} +{% endif %} +{% endif %} + + + + + + + +{% if post.image %} + +{% endif %} + +{% endblock %} +{% block content %} +
+ {% include "/html/post-content.html" %} +
+ {% if post.prev %} + « {{post.prev.title}} + {% endif %} + {% if post.next %} + {{post.next.title}} » + {% endif %} +
+ + {% if disqus-shortname %} +
+ + {% endif %} + + +
+{% endblock %} diff --git a/themes/blue/html/previews.html b/themes/blue/html/previews.html new file mode 100644 index 0000000..297bd99 --- /dev/null +++ b/themes/blue/html/previews.html @@ -0,0 +1,28 @@ +{% extends "/html/base.html" %} +{% block content %} +
+ {% for post in posts %} +
+

{{post.title}}

+
+ {% if post.author %} +
{{post.author}}
+ {% endif %} +
{{post.date|date:longDate}}
+
+
+ {{post.content|safe}} + Continue reading → +
+ {% endfor %} + +
+ {% if prev-uri %} + « Prev + {% endif %} + {% if next-uri %} + Next » + {% endif %} +
+
+{% endblock %} diff --git a/themes/blue/html/tag.html b/themes/blue/html/tag.html new file mode 100644 index 0000000..15f14b5 --- /dev/null +++ b/themes/blue/html/tag.html @@ -0,0 +1,16 @@ +{% extends "/html/base.html" %} +{%block subtitle %}: Posts Tagged "{{name}}"{% endblock %} +{% block content %} +
+ + +
+{% endblock %} diff --git a/themes/blue/html/tags.html b/themes/blue/html/tags.html new file mode 100644 index 0000000..da2914d --- /dev/null +++ b/themes/blue/html/tags.html @@ -0,0 +1,15 @@ +{% extends "/html/base.html" %} +{%block subtitle %}: Tags{% endblock %} +{% block content %} +
+ + + +
+{% endblock %} diff --git a/themes/blue/js/highlight.pack.js b/themes/blue/js/highlight.pack.js new file mode 100644 index 0000000..acf70cc --- /dev/null +++ b/themes/blue/js/highlight.pack.js @@ -0,0 +1,2 @@ +/*! highlight.js v9.7.0 | BSD3 License | git.io/hljslicense */ +!function(e){var n="object"==typeof window&&window||"object"==typeof self&&self;"undefined"!=typeof exports?e(exports):n&&(n.hljs=e({}),"function"==typeof define&&define.amd&&define([],function(){return n.hljs}))}(function(e){function n(e){return e.replace(/[&<>]/gm,function(e){return I[e]})}function t(e){return e.nodeName.toLowerCase()}function r(e,n){var t=e&&e.exec(n);return t&&0===t.index}function a(e){return k.test(e)}function i(e){var n,t,r,i,o=e.className+" ";if(o+=e.parentNode?e.parentNode.className:"",t=B.exec(o))return R(t[1])?t[1]:"no-highlight";for(o=o.split(/\s+/),n=0,r=o.length;r>n;n++)if(i=o[n],a(i)||R(i))return i}function o(e,n){var t,r={};for(t in e)r[t]=e[t];if(n)for(t in n)r[t]=n[t];return r}function u(e){var n=[];return function r(e,a){for(var i=e.firstChild;i;i=i.nextSibling)3===i.nodeType?a+=i.nodeValue.length:1===i.nodeType&&(n.push({event:"start",offset:a,node:i}),a=r(i,a),t(i).match(/br|hr|img|input/)||n.push({event:"stop",offset:a,node:i}));return a}(e,0),n}function c(e,r,a){function i(){return e.length&&r.length?e[0].offset!==r[0].offset?e[0].offset"}function u(e){l+=""}function c(e){("start"===e.event?o:u)(e.node)}for(var s=0,l="",f=[];e.length||r.length;){var g=i();if(l+=n(a.substr(s,g[0].offset-s)),s=g[0].offset,g===e){f.reverse().forEach(u);do c(g.splice(0,1)[0]),g=i();while(g===e&&g.length&&g[0].offset===s);f.reverse().forEach(o)}else"start"===g[0].event?f.push(g[0].node):f.pop(),c(g.splice(0,1)[0])}return l+n(a.substr(s))}function s(e){function n(e){return e&&e.source||e}function t(t,r){return new RegExp(n(t),"m"+(e.cI?"i":"")+(r?"g":""))}function r(a,i){if(!a.compiled){if(a.compiled=!0,a.k=a.k||a.bK,a.k){var u={},c=function(n,t){e.cI&&(t=t.toLowerCase()),t.split(" ").forEach(function(e){var t=e.split("|");u[t[0]]=[n,t[1]?Number(t[1]):1]})};"string"==typeof a.k?c("keyword",a.k):E(a.k).forEach(function(e){c(e,a.k[e])}),a.k=u}a.lR=t(a.l||/\w+/,!0),i&&(a.bK&&(a.b="\\b("+a.bK.split(" ").join("|")+")\\b"),a.b||(a.b=/\B|\b/),a.bR=t(a.b),a.e||a.eW||(a.e=/\B|\b/),a.e&&(a.eR=t(a.e)),a.tE=n(a.e)||"",a.eW&&i.tE&&(a.tE+=(a.e?"|":"")+i.tE)),a.i&&(a.iR=t(a.i)),null==a.r&&(a.r=1),a.c||(a.c=[]);var s=[];a.c.forEach(function(e){e.v?e.v.forEach(function(n){s.push(o(e,n))}):s.push("self"===e?a:e)}),a.c=s,a.c.forEach(function(e){r(e,a)}),a.starts&&r(a.starts,i);var l=a.c.map(function(e){return e.bK?"\\.?("+e.b+")\\.?":e.b}).concat([a.tE,a.i]).map(n).filter(Boolean);a.t=l.length?t(l.join("|"),!0):{exec:function(){return null}}}}r(e)}function l(e,t,a,i){function o(e,n){var t,a;for(t=0,a=n.c.length;a>t;t++)if(r(n.c[t].bR,e))return n.c[t]}function u(e,n){if(r(e.eR,n)){for(;e.endsParent&&e.parent;)e=e.parent;return e}return e.eW?u(e.parent,n):void 0}function c(e,n){return!a&&r(n.iR,e)}function g(e,n){var t=N.cI?n[0].toLowerCase():n[0];return e.k.hasOwnProperty(t)&&e.k[t]}function h(e,n,t,r){var a=r?"":y.classPrefix,i='',i+n+o}function p(){var e,t,r,a;if(!E.k)return n(B);for(a="",t=0,E.lR.lastIndex=0,r=E.lR.exec(B);r;)a+=n(B.substr(t,r.index-t)),e=g(E,r),e?(M+=e[1],a+=h(e[0],n(r[0]))):a+=n(r[0]),t=E.lR.lastIndex,r=E.lR.exec(B);return a+n(B.substr(t))}function d(){var e="string"==typeof E.sL;if(e&&!x[E.sL])return n(B);var t=e?l(E.sL,B,!0,L[E.sL]):f(B,E.sL.length?E.sL:void 0);return E.r>0&&(M+=t.r),e&&(L[E.sL]=t.top),h(t.language,t.value,!1,!0)}function b(){k+=null!=E.sL?d():p(),B=""}function v(e){k+=e.cN?h(e.cN,"",!0):"",E=Object.create(e,{parent:{value:E}})}function m(e,n){if(B+=e,null==n)return b(),0;var t=o(n,E);if(t)return t.skip?B+=n:(t.eB&&(B+=n),b(),t.rB||t.eB||(B=n)),v(t,n),t.rB?0:n.length;var r=u(E,n);if(r){var a=E;a.skip?B+=n:(a.rE||a.eE||(B+=n),b(),a.eE&&(B=n));do E.cN&&(k+=C),E.skip||(M+=E.r),E=E.parent;while(E!==r.parent);return r.starts&&v(r.starts,""),a.rE?0:n.length}if(c(n,E))throw new Error('Illegal lexeme "'+n+'" for mode "'+(E.cN||"")+'"');return B+=n,n.length||1}var N=R(e);if(!N)throw new Error('Unknown language: "'+e+'"');s(N);var w,E=i||N,L={},k="";for(w=E;w!==N;w=w.parent)w.cN&&(k=h(w.cN,"",!0)+k);var B="",M=0;try{for(var I,j,O=0;;){if(E.t.lastIndex=O,I=E.t.exec(t),!I)break;j=m(t.substr(O,I.index-O),I[0]),O=I.index+j}for(m(t.substr(O)),w=E;w.parent;w=w.parent)w.cN&&(k+=C);return{r:M,value:k,language:e,top:E}}catch(T){if(T.message&&-1!==T.message.indexOf("Illegal"))return{r:0,value:n(t)};throw T}}function f(e,t){t=t||y.languages||E(x);var r={r:0,value:n(e)},a=r;return t.filter(R).forEach(function(n){var t=l(n,e,!1);t.language=n,t.r>a.r&&(a=t),t.r>r.r&&(a=r,r=t)}),a.language&&(r.second_best=a),r}function g(e){return y.tabReplace||y.useBR?e.replace(M,function(e,n){return y.useBR&&"\n"===e?"
":y.tabReplace?n.replace(/\t/g,y.tabReplace):void 0}):e}function h(e,n,t){var r=n?L[n]:t,a=[e.trim()];return e.match(/\bhljs\b/)||a.push("hljs"),-1===e.indexOf(r)&&a.push(r),a.join(" ").trim()}function p(e){var n,t,r,o,s,p=i(e);a(p)||(y.useBR?(n=document.createElementNS("http://www.w3.org/1999/xhtml","div"),n.innerHTML=e.innerHTML.replace(/\n/g,"").replace(//g,"\n")):n=e,s=n.textContent,r=p?l(p,s,!0):f(s),t=u(n),t.length&&(o=document.createElementNS("http://www.w3.org/1999/xhtml","div"),o.innerHTML=r.value,r.value=c(t,u(o),s)),r.value=g(r.value),e.innerHTML=r.value,e.className=h(e.className,p,r.language),e.result={language:r.language,re:r.r},r.second_best&&(e.second_best={language:r.second_best.language,re:r.second_best.r}))}function d(e){y=o(y,e)}function b(){if(!b.called){b.called=!0;var e=document.querySelectorAll("pre code");w.forEach.call(e,p)}}function v(){addEventListener("DOMContentLoaded",b,!1),addEventListener("load",b,!1)}function m(n,t){var r=x[n]=t(e);r.aliases&&r.aliases.forEach(function(e){L[e]=n})}function N(){return E(x)}function R(e){return e=(e||"").toLowerCase(),x[e]||x[L[e]]}var w=[],E=Object.keys,x={},L={},k=/^(no-?highlight|plain|text)$/i,B=/\blang(?:uage)?-([\w-]+)\b/i,M=/((^(<[^>]+>|\t|)+|(?:\n)))/gm,C="
",y={classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:void 0},I={"&":"&","<":"<",">":">"};return e.highlight=l,e.highlightAuto=f,e.fixMarkup=g,e.highlightBlock=p,e.configure=d,e.initHighlighting=b,e.initHighlightingOnLoad=v,e.registerLanguage=m,e.listLanguages=N,e.getLanguage=R,e.inherit=o,e.IR="[a-zA-Z]\\w*",e.UIR="[a-zA-Z_]\\w*",e.NR="\\b\\d+(\\.\\d+)?",e.CNR="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",e.BNR="\\b(0b[01]+)",e.RSR="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",e.BE={b:"\\\\[\\s\\S]",r:0},e.ASM={cN:"string",b:"'",e:"'",i:"\\n",c:[e.BE]},e.QSM={cN:"string",b:'"',e:'"',i:"\\n",c:[e.BE]},e.PWM={b:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|like)\b/},e.C=function(n,t,r){var a=e.inherit({cN:"comment",b:n,e:t,c:[]},r||{});return a.c.push(e.PWM),a.c.push({cN:"doctag",b:"(?:TODO|FIXME|NOTE|BUG|XXX):",r:0}),a},e.CLCM=e.C("//","$"),e.CBCM=e.C("/\\*","\\*/"),e.HCM=e.C("#","$"),e.NM={cN:"number",b:e.NR,r:0},e.CNM={cN:"number",b:e.CNR,r:0},e.BNM={cN:"number",b:e.BNR,r:0},e.CSSNM={cN:"number",b:e.NR+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",r:0},e.RM={cN:"regexp",b:/\//,e:/\/[gimuy]*/,i:/\n/,c:[e.BE,{b:/\[/,e:/\]/,r:0,c:[e.BE]}]},e.TM={cN:"title",b:e.IR,r:0},e.UTM={cN:"title",b:e.UIR,r:0},e.METHOD_GUARD={b:"\\.\\s*"+e.UIR,r:0},e});hljs.registerLanguage("coffeescript",function(e){var c={keyword:"in if for while finally new do return else break catch instanceof throw try this switch continue typeof delete debugger super then unless until loop of by when and or is isnt not",literal:"true false null undefined yes no on off",built_in:"npm require console print module global window document"},n="[A-Za-z$_][0-9A-Za-z$_]*",r={cN:"subst",b:/#\{/,e:/}/,k:c},s=[e.BNM,e.inherit(e.CNM,{starts:{e:"(\\s*/)?",r:0}}),{cN:"string",v:[{b:/'''/,e:/'''/,c:[e.BE]},{b:/'/,e:/'/,c:[e.BE]},{b:/"""/,e:/"""/,c:[e.BE,r]},{b:/"/,e:/"/,c:[e.BE,r]}]},{cN:"regexp",v:[{b:"///",e:"///",c:[r,e.HCM]},{b:"//[gim]*",r:0},{b:/\/(?![ *])(\\\/|.)*?\/[gim]*(?=\W|$)/}]},{b:"@"+n},{b:"`",e:"`",eB:!0,eE:!0,sL:"javascript"}];r.c=s;var i=e.inherit(e.TM,{b:n}),t="(\\(.*\\))?\\s*\\B[-=]>",o={cN:"params",b:"\\([^\\(]",rB:!0,c:[{b:/\(/,e:/\)/,k:c,c:["self"].concat(s)}]};return{aliases:["coffee","cson","iced"],k:c,i:/\/\*/,c:s.concat([e.C("###","###"),e.HCM,{cN:"function",b:"^\\s*"+n+"\\s*=\\s*"+t,e:"[-=]>",rB:!0,c:[i,o]},{b:/[:\(,=]\s*/,r:0,c:[{cN:"function",b:t,e:"[-=]>",rB:!0,c:[o]}]},{cN:"class",bK:"class",e:"$",i:/[:="\[\]]/,c:[{bK:"extends",eW:!0,i:/[:="\[\]]/,c:[i]},i]},{b:n+":",e:":",rB:!0,rE:!0,r:0}])}});hljs.registerLanguage("ini",function(e){var b={cN:"string",c:[e.BE],v:[{b:"'''",e:"'''",r:10},{b:'"""',e:'"""',r:10},{b:'"',e:'"'},{b:"'",e:"'"}]};return{aliases:["toml"],cI:!0,i:/\S/,c:[e.C(";","$"),e.HCM,{cN:"section",b:/^\s*\[+/,e:/\]+/},{b:/^[a-z0-9\[\]_-]+\s*=\s*/,e:"$",rB:!0,c:[{cN:"attr",b:/[a-z0-9\[\]_-]+/},{b:/=/,eW:!0,r:0,c:[{cN:"literal",b:/\bon|off|true|false|yes|no\b/},{cN:"variable",v:[{b:/\$[\w\d"][\w\d_]*/},{b:/\$\{(.*?)}/}]},b,{cN:"number",b:/([\+\-]+)?[\d]+_[\d_]+/},e.NM]}]}]}});hljs.registerLanguage("xml",function(s){var e="[A-Za-z0-9\\._:-]+",t={eW:!0,i:/`]+/}]}]}]};return{aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist"],cI:!0,c:[{cN:"meta",b:"",r:10,c:[{b:"\\[",e:"\\]"}]},s.C("",{r:10}),{b:"<\\!\\[CDATA\\[",e:"\\]\\]>",r:10},{b:/<\?(php)?/,e:/\?>/,sL:"php",c:[{b:"/\\*",e:"\\*/",skip:!0}]},{cN:"tag",b:"|$)",e:">",k:{name:"style"},c:[t],starts:{e:"",rE:!0,sL:["css","xml"]}},{cN:"tag",b:"|$)",e:">",k:{name:"script"},c:[t],starts:{e:"",rE:!0,sL:["actionscript","javascript","handlebars","xml"]}},{cN:"meta",v:[{b:/<\?xml/,e:/\?>/,r:10},{b:/<\?\w+/,e:/\?>/}]},{cN:"tag",b:"",c:[{cN:"name",b:/[^\/><\s]+/,r:0},t]}]}});hljs.registerLanguage("markdown",function(e){return{aliases:["md","mkdown","mkd"],c:[{cN:"section",v:[{b:"^#{1,6}",e:"$"},{b:"^.+?\\n[=-]{2,}$"}]},{b:"<",e:">",sL:"xml",r:0},{cN:"bullet",b:"^([*+-]|(\\d+\\.))\\s+"},{cN:"strong",b:"[*_]{2}.+?[*_]{2}"},{cN:"emphasis",v:[{b:"\\*.+?\\*"},{b:"_.+?_",r:0}]},{cN:"quote",b:"^>\\s+",e:"$"},{cN:"code",v:[{b:"^```w*s*$",e:"^```s*$"},{b:"`.+?`"},{b:"^( {4}| )",e:"$",r:0}]},{b:"^[-\\*]{3,}",e:"$"},{b:"\\[.+?\\][\\(\\[].*?[\\)\\]]",rB:!0,c:[{cN:"string",b:"\\[",e:"\\]",eB:!0,rE:!0,r:0},{cN:"link",b:"\\]\\(",e:"\\)",eB:!0,eE:!0},{cN:"symbol",b:"\\]\\[",e:"\\]",eB:!0,eE:!0}],r:10},{b:/^\[[^\n]+\]:/,rB:!0,c:[{cN:"symbol",b:/\[/,e:/\]/,eB:!0,eE:!0},{cN:"link",b:/:\s*/,e:/$/,eB:!0}]}]}});hljs.registerLanguage("cs",function(e){var i={keyword:"abstract as base bool break byte case catch char checked const continue decimal default delegate do double else enum event explicit extern finally fixed float for foreach goto if implicit in int interface internal is lock long object operator out override params private protected public readonly ref sbyte sealed short sizeof stackalloc static string struct switch this try typeof uint ulong unchecked unsafe ushort using virtual void volatile while nameof add alias ascending async await by descending dynamic equals from get global group into join let on orderby partial remove select set value var where yield",literal:"null false true"},r={cN:"string",b:'@"',e:'"',c:[{b:'""'}]},t=e.inherit(r,{i:/\n/}),a={cN:"subst",b:"{",e:"}",k:i},n=e.inherit(a,{i:/\n/}),c={cN:"string",b:/\$"/,e:'"',i:/\n/,c:[{b:"{{"},{b:"}}"},e.BE,n]},s={cN:"string",b:/\$@"/,e:'"',c:[{b:"{{"},{b:"}}"},{b:'""'},a]},o=e.inherit(s,{i:/\n/,c:[{b:"{{"},{b:"}}"},{b:'""'},n]});a.c=[s,c,r,e.ASM,e.QSM,e.CNM,e.CBCM],n.c=[o,c,t,e.ASM,e.QSM,e.CNM,e.inherit(e.CBCM,{i:/\n/})];var l={v:[s,c,r,e.ASM,e.QSM]},b=e.IR+"(<"+e.IR+"(\\s*,\\s*"+e.IR+")*>)?(\\[\\])?";return{aliases:["csharp"],k:i,i:/::/,c:[e.C("///","$",{rB:!0,c:[{cN:"doctag",v:[{b:"///",r:0},{b:""},{b:""}]}]}),e.CLCM,e.CBCM,{cN:"meta",b:"#",e:"$",k:{"meta-keyword":"if else elif endif define undef warning error line region endregion pragma checksum"}},l,e.CNM,{bK:"class interface",e:/[{;=]/,i:/[^\s:]/,c:[e.TM,e.CLCM,e.CBCM]},{bK:"namespace",e:/[{;=]/,i:/[^\s:]/,c:[e.inherit(e.TM,{b:"[a-zA-Z](\\.?\\w)*"}),e.CLCM,e.CBCM]},{bK:"new return throw await",r:0},{cN:"function",b:"("+b+"\\s+)+"+e.IR+"\\s*\\(",rB:!0,e:/[{;=]/,eE:!0,k:i,c:[{b:e.IR+"\\s*\\(",rB:!0,c:[e.TM],r:0},{cN:"params",b:/\(/,e:/\)/,eB:!0,eE:!0,k:i,r:0,c:[l,e.CNM,e.CBCM]},e.CLCM,e.CBCM]}]}});hljs.registerLanguage("ruby",function(e){var b="[a-zA-Z_]\\w*[!?=]?|[-+~]\\@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?",r={keyword:"and then defined module in return redo if BEGIN retry end for self when next until do begin unless END rescue else break undef not super class case require yield alias while ensure elsif or include attr_reader attr_writer attr_accessor",literal:"true false nil"},c={cN:"doctag",b:"@[A-Za-z]+"},a={b:"#<",e:">"},s=[e.C("#","$",{c:[c]}),e.C("^\\=begin","^\\=end",{c:[c],r:10}),e.C("^__END__","\\n$")],n={cN:"subst",b:"#\\{",e:"}",k:r},t={cN:"string",c:[e.BE,n],v:[{b:/'/,e:/'/},{b:/"/,e:/"/},{b:/`/,e:/`/},{b:"%[qQwWx]?\\(",e:"\\)"},{b:"%[qQwWx]?\\[",e:"\\]"},{b:"%[qQwWx]?{",e:"}"},{b:"%[qQwWx]?<",e:">"},{b:"%[qQwWx]?/",e:"/"},{b:"%[qQwWx]?%",e:"%"},{b:"%[qQwWx]?-",e:"-"},{b:"%[qQwWx]?\\|",e:"\\|"},{b:/\B\?(\\\d{1,3}|\\x[A-Fa-f0-9]{1,2}|\\u[A-Fa-f0-9]{4}|\\?\S)\b/},{b:/<<(-?)\w+$/,e:/^\s*\w+$/}]},i={cN:"params",b:"\\(",e:"\\)",endsParent:!0,k:r},d=[t,a,{cN:"class",bK:"class module",e:"$|;",i:/=/,c:[e.inherit(e.TM,{b:"[A-Za-z_]\\w*(::\\w+)*(\\?|\\!)?"}),{b:"<\\s*",c:[{b:"("+e.IR+"::)?"+e.IR}]}].concat(s)},{cN:"function",bK:"def",e:"$|;",c:[e.inherit(e.TM,{b:b}),i].concat(s)},{b:e.IR+"::"},{cN:"symbol",b:e.UIR+"(\\!|\\?)?:",r:0},{cN:"symbol",b:":(?!\\s)",c:[t,{b:b}],r:0},{cN:"number",b:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",r:0},{b:"(\\$\\W)|((\\$|\\@\\@?)(\\w+))"},{cN:"params",b:/\|/,e:/\|/,k:r},{b:"("+e.RSR+")\\s*",c:[a,{cN:"regexp",c:[e.BE,n],i:/\n/,v:[{b:"/",e:"/[a-z]*"},{b:"%r{",e:"}[a-z]*"},{b:"%r\\(",e:"\\)[a-z]*"},{b:"%r!",e:"![a-z]*"},{b:"%r\\[",e:"\\][a-z]*"}]}].concat(s),r:0}].concat(s);n.c=d,i.c=d;var l="[>?]>",o="[\\w#]+\\(\\w+\\):\\d+:\\d+>",w="(\\w+-)?\\d+\\.\\d+\\.\\d(p\\d+)?[^>]+>",u=[{b:/^\s*=>/,starts:{e:"$",c:d}},{cN:"meta",b:"^("+l+"|"+o+"|"+w+")",starts:{e:"$",c:d}}];return{aliases:["rb","gemspec","podspec","thor","irb"],k:r,i:/\/\*/,c:s.concat(u).concat(d)}});hljs.registerLanguage("apache",function(e){var r={cN:"number",b:"[\\$%]\\d+"};return{aliases:["apacheconf"],cI:!0,c:[e.HCM,{cN:"section",b:""},{cN:"attribute",b:/\w+/,r:0,k:{nomarkup:"order deny allow setenv rewriterule rewriteengine rewritecond documentroot sethandler errordocument loadmodule options header listen serverroot servername"},starts:{e:/$/,r:0,k:{literal:"on off all"},c:[{cN:"meta",b:"\\s\\[",e:"\\]$"},{cN:"variable",b:"[\\$%]\\{",e:"\\}",c:["self",r]},r,e.QSM]}}],i:/\S/}});hljs.registerLanguage("http",function(e){var t="HTTP/[0-9\\.]+";return{aliases:["https"],i:"\\S",c:[{b:"^"+t,e:"$",c:[{cN:"number",b:"\\b\\d{3}\\b"}]},{b:"^[A-Z]+ (.*?) "+t+"$",rB:!0,e:"$",c:[{cN:"string",b:" ",e:" ",eB:!0,eE:!0},{b:t},{cN:"keyword",b:"[A-Z]+"}]},{cN:"attribute",b:"^\\w",e:": ",eE:!0,i:"\\n|\\s|=",starts:{e:"$",r:0}},{b:"\\n\\n",starts:{sL:[],eW:!0}}]}});hljs.registerLanguage("clojure",function(e){var t={"builtin-name":"def defonce cond apply if-not if-let if not not= = < > <= >= == + / * - rem quot neg? pos? delay? symbol? keyword? true? false? integer? empty? coll? list? set? ifn? fn? associative? sequential? sorted? counted? reversible? number? decimal? class? distinct? isa? float? rational? reduced? ratio? odd? even? char? seq? vector? string? map? nil? contains? zero? instance? not-every? not-any? libspec? -> ->> .. . inc compare do dotimes mapcat take remove take-while drop letfn drop-last take-last drop-while while intern condp case reduced cycle split-at split-with repeat replicate iterate range merge zipmap declare line-seq sort comparator sort-by dorun doall nthnext nthrest partition eval doseq await await-for let agent atom send send-off release-pending-sends add-watch mapv filterv remove-watch agent-error restart-agent set-error-handler error-handler set-error-mode! error-mode shutdown-agents quote var fn loop recur throw try monitor-enter monitor-exit defmacro defn defn- macroexpand macroexpand-1 for dosync and or when when-not when-let comp juxt partial sequence memoize constantly complement identity assert peek pop doto proxy defstruct first rest cons defprotocol cast coll deftype defrecord last butlast sigs reify second ffirst fnext nfirst nnext defmulti defmethod meta with-meta ns in-ns create-ns import refer keys select-keys vals key val rseq name namespace promise into transient persistent! conj! assoc! dissoc! pop! disj! use class type num float double short byte boolean bigint biginteger bigdec print-method print-dup throw-if printf format load compile get-in update-in pr pr-on newline flush read slurp read-line subvec with-open memfn time re-find re-groups rand-int rand mod locking assert-valid-fdecl alias resolve ref deref refset swap! reset! set-validator! compare-and-set! alter-meta! reset-meta! commute get-validator alter ref-set ref-history-count ref-min-history ref-max-history ensure sync io! new next conj set! to-array future future-call into-array aset gen-class reduce map filter find empty hash-map hash-set sorted-map sorted-map-by sorted-set sorted-set-by vec vector seq flatten reverse assoc dissoc list disj get union difference intersection extend extend-type extend-protocol int nth delay count concat chunk chunk-buffer chunk-append chunk-first chunk-rest max min dec unchecked-inc-int unchecked-inc unchecked-dec-inc unchecked-dec unchecked-negate unchecked-add-int unchecked-add unchecked-subtract-int unchecked-subtract chunk-next chunk-cons chunked-seq? prn vary-meta lazy-seq spread list* str find-keyword keyword symbol gensym force rationalize"},r="a-zA-Z_\\-!.?+*=<>&#'",n="["+r+"]["+r+"0-9/;:]*",a="[-+]?\\d+(\\.\\d+)?",o={b:n,r:0},s={cN:"number",b:a,r:0},i=e.inherit(e.QSM,{i:null}),c=e.C(";","$",{r:0}),d={cN:"literal",b:/\b(true|false|nil)\b/},l={b:"[\\[\\{]",e:"[\\]\\}]"},m={cN:"comment",b:"\\^"+n},p=e.C("\\^\\{","\\}"),u={cN:"symbol",b:"[:]{1,2}"+n},f={b:"\\(",e:"\\)"},h={eW:!0,r:0},y={k:t,l:n,cN:"name",b:n,starts:h},b=[f,i,m,p,c,u,l,s,d,o];return f.c=[e.C("comment",""),y,h],h.c=b,l.c=b,{aliases:["clj"],i:/\S/,c:[f,i,m,p,c,u,l,s,d]}});hljs.registerLanguage("sql",function(e){var t=e.C("--","$");return{cI:!0,i:/[<>{}*#]/,c:[{bK:"begin end start commit rollback savepoint lock alter create drop rename call delete do handler insert load replace select truncate update set show pragma grant merge describe use explain help declare prepare execute deallocate release unlock purge reset change stop analyze cache flush optimize repair kill install uninstall checksum restore check backup revoke comment",e:/;/,eW:!0,l:/[\w\.]+/,k:{keyword:"abort abs absolute acc acce accep accept access accessed accessible account acos action activate add addtime admin administer advanced advise aes_decrypt aes_encrypt after agent aggregate ali alia alias allocate allow alter always analyze ancillary and any anydata anydataset anyschema anytype apply archive archived archivelog are as asc ascii asin assembly assertion associate asynchronous at atan atn2 attr attri attrib attribu attribut attribute attributes audit authenticated authentication authid authors auto autoallocate autodblink autoextend automatic availability avg backup badfile basicfile before begin beginning benchmark between bfile bfile_base big bigfile bin binary_double binary_float binlog bit_and bit_count bit_length bit_or bit_xor bitmap blob_base block blocksize body both bound buffer_cache buffer_pool build bulk by byte byteordermark bytes cache caching call calling cancel capacity cascade cascaded case cast catalog category ceil ceiling chain change changed char_base char_length character_length characters characterset charindex charset charsetform charsetid check checksum checksum_agg child choose chr chunk class cleanup clear client clob clob_base clone close cluster_id cluster_probability cluster_set clustering coalesce coercibility col collate collation collect colu colum column column_value columns columns_updated comment commit compact compatibility compiled complete composite_limit compound compress compute concat concat_ws concurrent confirm conn connec connect connect_by_iscycle connect_by_isleaf connect_by_root connect_time connection consider consistent constant constraint constraints constructor container content contents context contributors controlfile conv convert convert_tz corr corr_k corr_s corresponding corruption cos cost count count_big counted covar_pop covar_samp cpu_per_call cpu_per_session crc32 create creation critical cross cube cume_dist curdate current current_date current_time current_timestamp current_user cursor curtime customdatum cycle data database databases datafile datafiles datalength date_add date_cache date_format date_sub dateadd datediff datefromparts datename datepart datetime2fromparts day day_to_second dayname dayofmonth dayofweek dayofyear days db_role_change dbtimezone ddl deallocate declare decode decompose decrement decrypt deduplicate def defa defau defaul default defaults deferred defi defin define degrees delayed delegate delete delete_all delimited demand dense_rank depth dequeue des_decrypt des_encrypt des_key_file desc descr descri describ describe descriptor deterministic diagnostics difference dimension direct_load directory disable disable_all disallow disassociate discardfile disconnect diskgroup distinct distinctrow distribute distributed div do document domain dotnet double downgrade drop dumpfile duplicate duration each edition editionable editions element ellipsis else elsif elt empty enable enable_all enclosed encode encoding encrypt end end-exec endian enforced engine engines enqueue enterprise entityescaping eomonth error errors escaped evalname evaluate event eventdata events except exception exceptions exchange exclude excluding execu execut execute exempt exists exit exp expire explain export export_set extended extent external external_1 external_2 externally extract failed failed_login_attempts failover failure far fast feature_set feature_value fetch field fields file file_name_convert filesystem_like_logging final finish first first_value fixed flash_cache flashback floor flush following follows for forall force form forma format found found_rows freelist freelists freepools fresh from from_base64 from_days ftp full function general generated get get_format get_lock getdate getutcdate global global_name globally go goto grant grants greatest group group_concat group_id grouping grouping_id groups gtid_subtract guarantee guard handler hash hashkeys having hea head headi headin heading heap help hex hierarchy high high_priority hosts hour http id ident_current ident_incr ident_seed identified identity idle_time if ifnull ignore iif ilike ilm immediate import in include including increment index indexes indexing indextype indicator indices inet6_aton inet6_ntoa inet_aton inet_ntoa infile initial initialized initially initrans inmemory inner innodb input insert install instance instantiable instr interface interleaved intersect into invalidate invisible is is_free_lock is_ipv4 is_ipv4_compat is_not is_not_null is_used_lock isdate isnull isolation iterate java join json json_exists keep keep_duplicates key keys kill language large last last_day last_insert_id last_value lax lcase lead leading least leaves left len lenght length less level levels library like like2 like4 likec limit lines link list listagg little ln load load_file lob lobs local localtime localtimestamp locate locator lock locked log log10 log2 logfile logfiles logging logical logical_reads_per_call logoff logon logs long loop low low_priority lower lpad lrtrim ltrim main make_set makedate maketime managed management manual map mapping mask master master_pos_wait match matched materialized max maxextents maximize maxinstances maxlen maxlogfiles maxloghistory maxlogmembers maxsize maxtrans md5 measures median medium member memcompress memory merge microsecond mid migration min minextents minimum mining minus minute minvalue missing mod mode model modification modify module monitoring month months mount move movement multiset mutex name name_const names nan national native natural nav nchar nclob nested never new newline next nextval no no_write_to_binlog noarchivelog noaudit nobadfile nocheck nocompress nocopy nocycle nodelay nodiscardfile noentityescaping noguarantee nokeep nologfile nomapping nomaxvalue nominimize nominvalue nomonitoring none noneditionable nonschema noorder nopr nopro noprom nopromp noprompt norely noresetlogs noreverse normal norowdependencies noschemacheck noswitch not nothing notice notrim novalidate now nowait nth_value nullif nulls num numb numbe nvarchar nvarchar2 object ocicoll ocidate ocidatetime ociduration ociinterval ociloblocator ocinumber ociref ocirefcursor ocirowid ocistring ocitype oct octet_length of off offline offset oid oidindex old on online only opaque open operations operator optimal optimize option optionally or oracle oracle_date oradata ord ordaudio orddicom orddoc order ordimage ordinality ordvideo organization orlany orlvary out outer outfile outline output over overflow overriding package pad parallel parallel_enable parameters parent parse partial partition partitions pascal passing password password_grace_time password_lock_time password_reuse_max password_reuse_time password_verify_function patch path patindex pctincrease pctthreshold pctused pctversion percent percent_rank percentile_cont percentile_disc performance period period_add period_diff permanent physical pi pipe pipelined pivot pluggable plugin policy position post_transaction pow power pragma prebuilt precedes preceding precision prediction prediction_cost prediction_details prediction_probability prediction_set prepare present preserve prior priority private private_sga privileges procedural procedure procedure_analyze processlist profiles project prompt protection public publishingservername purge quarter query quick quiesce quota quotename radians raise rand range rank raw read reads readsize rebuild record records recover recovery recursive recycle redo reduced ref reference referenced references referencing refresh regexp_like register regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy reject rekey relational relative relaylog release release_lock relies_on relocate rely rem remainder rename repair repeat replace replicate replication required reset resetlogs resize resource respect restore restricted result result_cache resumable resume retention return returning returns reuse reverse revoke right rlike role roles rollback rolling rollup round row row_count rowdependencies rowid rownum rows rtrim rules safe salt sample save savepoint sb1 sb2 sb4 scan schema schemacheck scn scope scroll sdo_georaster sdo_topo_geometry search sec_to_time second section securefile security seed segment select self sequence sequential serializable server servererror session session_user sessions_per_user set sets settings sha sha1 sha2 share shared shared_pool short show shrink shutdown si_averagecolor si_colorhistogram si_featurelist si_positionalcolor si_stillimage si_texture siblings sid sign sin size size_t sizes skip slave sleep smalldatetimefromparts smallfile snapshot some soname sort soundex source space sparse spfile split sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_small_result sql_variant_property sqlcode sqldata sqlerror sqlname sqlstate sqrt square standalone standby start starting startup statement static statistics stats_binomial_test stats_crosstab stats_ks_test stats_mode stats_mw_test stats_one_way_anova stats_t_test_ stats_t_test_indep stats_t_test_one stats_t_test_paired stats_wsr_test status std stddev stddev_pop stddev_samp stdev stop storage store stored str str_to_date straight_join strcmp strict string struct stuff style subdate subpartition subpartitions substitutable substr substring subtime subtring_index subtype success sum suspend switch switchoffset switchover sync synchronous synonym sys sys_xmlagg sysasm sysaux sysdate sysdatetimeoffset sysdba sysoper system system_user sysutcdatetime table tables tablespace tan tdo template temporary terminated tertiary_weights test than then thread through tier ties time time_format time_zone timediff timefromparts timeout timestamp timestampadd timestampdiff timezone_abbr timezone_minute timezone_region to to_base64 to_date to_days to_seconds todatetimeoffset trace tracking transaction transactional translate translation treat trigger trigger_nestlevel triggers trim truncate try_cast try_convert try_parse type ub1 ub2 ub4 ucase unarchived unbounded uncompress under undo unhex unicode uniform uninstall union unique unix_timestamp unknown unlimited unlock unpivot unrecoverable unsafe unsigned until untrusted unusable unused update updated upgrade upped upper upsert url urowid usable usage use use_stored_outlines user user_data user_resources users using utc_date utc_timestamp uuid uuid_short validate validate_password_strength validation valist value values var var_samp varcharc vari varia variab variabl variable variables variance varp varraw varrawc varray verify version versions view virtual visible void wait wallet warning warnings week weekday weekofyear wellformed when whene whenev wheneve whenever where while whitespace with within without work wrapped xdb xml xmlagg xmlattributes xmlcast xmlcolattval xmlelement xmlexists xmlforest xmlindex xmlnamespaces xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltype xor year year_to_month years yearweek",literal:"true false null",built_in:"array bigint binary bit blob boolean char character date dec decimal float int int8 integer interval number numeric real record serial serial8 smallint text varchar varying void"},c:[{cN:"string",b:"'",e:"'",c:[e.BE,{b:"''"}]},{cN:"string",b:'"',e:'"',c:[e.BE,{b:'""'}]},{cN:"string",b:"`",e:"`",c:[e.BE]},e.CNM,e.CBCM,t]},e.CBCM,t]}});hljs.registerLanguage("perl",function(e){var t="getpwent getservent quotemeta msgrcv scalar kill dbmclose undef lc ma syswrite tr send umask sysopen shmwrite vec qx utime local oct semctl localtime readpipe do return format read sprintf dbmopen pop getpgrp not getpwnam rewinddir qqfileno qw endprotoent wait sethostent bless s|0 opendir continue each sleep endgrent shutdown dump chomp connect getsockname die socketpair close flock exists index shmgetsub for endpwent redo lstat msgctl setpgrp abs exit select print ref gethostbyaddr unshift fcntl syscall goto getnetbyaddr join gmtime symlink semget splice x|0 getpeername recv log setsockopt cos last reverse gethostbyname getgrnam study formline endhostent times chop length gethostent getnetent pack getprotoent getservbyname rand mkdir pos chmod y|0 substr endnetent printf next open msgsnd readdir use unlink getsockopt getpriority rindex wantarray hex system getservbyport endservent int chr untie rmdir prototype tell listen fork shmread ucfirst setprotoent else sysseek link getgrgid shmctl waitpid unpack getnetbyname reset chdir grep split require caller lcfirst until warn while values shift telldir getpwuid my getprotobynumber delete and sort uc defined srand accept package seekdir getprotobyname semop our rename seek if q|0 chroot sysread setpwent no crypt getc chown sqrt write setnetent setpriority foreach tie sin msgget map stat getlogin unless elsif truncate exec keys glob tied closedirioctl socket readlink eval xor readline binmode setservent eof ord bind alarm pipe atan2 getgrent exp time push setgrent gt lt or ne m|0 break given say state when",r={cN:"subst",b:"[$@]\\{",e:"\\}",k:t},s={b:"->{",e:"}"},n={v:[{b:/\$\d/},{b:/[\$%@](\^\w\b|#\w+(::\w+)*|{\w+}|\w+(::\w*)*)/},{b:/[\$%@][^\s\w{]/,r:0}]},i=[e.BE,r,n],o=[n,e.HCM,e.C("^\\=\\w","\\=cut",{eW:!0}),s,{cN:"string",c:i,v:[{b:"q[qwxr]?\\s*\\(",e:"\\)",r:5},{b:"q[qwxr]?\\s*\\[",e:"\\]",r:5},{b:"q[qwxr]?\\s*\\{",e:"\\}",r:5},{b:"q[qwxr]?\\s*\\|",e:"\\|",r:5},{b:"q[qwxr]?\\s*\\<",e:"\\>",r:5},{b:"qw\\s+q",e:"q",r:5},{b:"'",e:"'",c:[e.BE]},{b:'"',e:'"'},{b:"`",e:"`",c:[e.BE]},{b:"{\\w+}",c:[],r:0},{b:"-?\\w+\\s*\\=\\>",c:[],r:0}]},{cN:"number",b:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",r:0},{b:"(\\/\\/|"+e.RSR+"|\\b(split|return|print|reverse|grep)\\b)\\s*",k:"split return print reverse grep",r:0,c:[e.HCM,{cN:"regexp",b:"(s|tr|y)/(\\\\.|[^/])*/(\\\\.|[^/])*/[a-z]*",r:10},{cN:"regexp",b:"(m|qr)?/",e:"/[a-z]*",c:[e.BE],r:0}]},{cN:"function",bK:"sub",e:"(\\s*\\(.*?\\))?[;{]",eE:!0,r:5,c:[e.TM]},{b:"-\\w\\b",r:0},{b:"^__DATA__$",e:"^__END__$",sL:"mojolicious",c:[{b:"^@@.*",e:"$",cN:"comment"}]}];return r.c=o,s.c=o,{aliases:["pl","pm"],l:/[\w\.]+/,k:t,c:o}});hljs.registerLanguage("php",function(e){var c={b:"\\$+[a-zA-Z_-ÿ][a-zA-Z0-9_-ÿ]*"},i={cN:"meta",b:/<\?(php)?|\?>/},t={cN:"string",c:[e.BE,i],v:[{b:'b"',e:'"'},{b:"b'",e:"'"},e.inherit(e.ASM,{i:null}),e.inherit(e.QSM,{i:null})]},a={v:[e.BNM,e.CNM]};return{aliases:["php3","php4","php5","php6"],cI:!0,k:"and include_once list abstract global private echo interface as static endswitch array null if endwhile or const for endforeach self var while isset public protected exit foreach throw elseif include __FILE__ empty require_once do xor return parent clone use __CLASS__ __LINE__ else break print eval new catch __METHOD__ case exception default die require __FUNCTION__ enddeclare final try switch continue endfor endif declare unset true false trait goto instanceof insteadof __DIR__ __NAMESPACE__ yield finally",c:[e.HCM,e.C("//","$",{c:[i]}),e.C("/\\*","\\*/",{c:[{cN:"doctag",b:"@[A-Za-z]+"}]}),e.C("__halt_compiler.+?;",!1,{eW:!0,k:"__halt_compiler",l:e.UIR}),{cN:"string",b:/<<<['"]?\w+['"]?$/,e:/^\w+;?$/,c:[e.BE,{cN:"subst",v:[{b:/\$\w+/},{b:/\{\$/,e:/\}/}]}]},i,{cN:"keyword",b:/\$this\b/},c,{b:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{cN:"function",bK:"function",e:/[;{]/,eE:!0,i:"\\$|\\[|%",c:[e.UTM,{cN:"params",b:"\\(",e:"\\)",c:["self",c,e.CBCM,t,a]}]},{cN:"class",bK:"class interface",e:"{",eE:!0,i:/[:\(\$"]/,c:[{bK:"extends implements"},e.UTM]},{bK:"namespace",e:";",i:/[\.']/,c:[e.UTM]},{bK:"use",e:";",c:[e.UTM]},{b:"=>"},t,a]}});hljs.registerLanguage("json",function(e){var i={literal:"true false null"},n=[e.QSM,e.CNM],r={e:",",eW:!0,eE:!0,c:n,k:i},t={b:"{",e:"}",c:[{cN:"attr",b:/"/,e:/"/,c:[e.BE],i:"\\n"},e.inherit(r,{b:/:/})],i:"\\S"},c={b:"\\[",e:"\\]",c:[e.inherit(r)],i:"\\S"};return n.splice(n.length,0,t,c),{c:n,k:i,i:"\\S"}});hljs.registerLanguage("cpp",function(t){var e={cN:"keyword",b:"\\b[a-z\\d_]*_t\\b"},r={cN:"string",v:[{b:'(u8?|U)?L?"',e:'"',i:"\\n",c:[t.BE]},{b:'(u8?|U)?R"',e:'"',c:[t.BE]},{b:"'\\\\?.",e:"'",i:"."}]},s={cN:"number",v:[{b:"\\b(0b[01']+)"},{b:"\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{b:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],r:0},i={cN:"meta",b:/#\s*[a-z]+\b/,e:/$/,k:{"meta-keyword":"if else elif endif define undef warning error line pragma ifdef ifndef include"},c:[{b:/\\\n/,r:0},t.inherit(r,{cN:"meta-string"}),{cN:"meta-string",b:"<",e:">",i:"\\n"},t.CLCM,t.CBCM]},a=t.IR+"\\s*\\(",c={keyword:"int float while private char catch import module export virtual operator sizeof dynamic_cast|10 typedef const_cast|10 const struct for static_cast|10 union namespace unsigned long volatile static protected bool template mutable if public friend do goto auto void enum else break extern using class asm case typeid short reinterpret_cast|10 default double register explicit signed typename try this switch continue inline delete alignof constexpr decltype noexcept static_assert thread_local restrict _Bool complex _Complex _Imaginary atomic_bool atomic_char atomic_schar atomic_uchar atomic_short atomic_ushort atomic_int atomic_uint atomic_long atomic_ulong atomic_llong atomic_ullong new throw return",built_in:"std string cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap array shared_ptr abort abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr",literal:"true false nullptr NULL"},n=[e,t.CLCM,t.CBCM,s,r];return{aliases:["c","cc","h","c++","h++","hpp"],k:c,i:"",k:c,c:["self",e]},{b:t.IR+"::",k:c},{v:[{b:/=/,e:/;/},{b:/\(/,e:/\)/},{bK:"new throw return else",e:/;/}],k:c,c:n.concat([{b:/\(/,e:/\)/,k:c,c:n.concat(["self"]),r:0}]),r:0},{cN:"function",b:"("+t.IR+"[\\*&\\s]+)+"+a,rB:!0,e:/[{;=]/,eE:!0,k:c,i:/[^\w\s\*&]/,c:[{b:a,rB:!0,c:[t.TM],r:0},{cN:"params",b:/\(/,e:/\)/,k:c,r:0,c:[t.CLCM,t.CBCM,r,s,e]},t.CLCM,t.CBCM,i]}]),exports:{preprocessor:i,strings:r,k:c}}});hljs.registerLanguage("css",function(e){var c="[a-zA-Z-][a-zA-Z0-9_-]*",t={b:/[A-Z\_\.\-]+\s*:/,rB:!0,e:";",eW:!0,c:[{cN:"attribute",b:/\S/,e:":",eE:!0,starts:{eW:!0,eE:!0,c:[{b:/[\w-]+\(/,rB:!0,c:[{cN:"built_in",b:/[\w-]+/},{b:/\(/,e:/\)/,c:[e.ASM,e.QSM]}]},e.CSSNM,e.QSM,e.ASM,e.CBCM,{cN:"number",b:"#[0-9A-Fa-f]+"},{cN:"meta",b:"!important"}]}}]};return{cI:!0,i:/[=\/|'\$]/,c:[e.CBCM,{cN:"selector-id",b:/#[A-Za-z0-9_-]+/},{cN:"selector-class",b:/\.[A-Za-z0-9_-]+/},{cN:"selector-attr",b:/\[/,e:/\]/,i:"$"},{cN:"selector-pseudo",b:/:(:)?[a-zA-Z0-9\_\-\+\(\)"'.]+/},{b:"@(font-face|page)",l:"[a-z-]+",k:"font-face page"},{b:"@",e:"[{;]",i:/:/,c:[{cN:"keyword",b:/\w+/},{b:/\s/,eW:!0,eE:!0,r:0,c:[e.ASM,e.QSM,e.CSSNM]}]},{cN:"selector-tag",b:c,r:0},{b:"{",e:"}",i:/\S/,c:[e.CBCM,t]}]}});hljs.registerLanguage("makefile",function(e){var a={cN:"variable",b:/\$\(/,e:/\)/,c:[e.BE]};return{aliases:["mk","mak"],c:[e.HCM,{b:/^\w+\s*\W*=/,rB:!0,r:0,starts:{e:/\s*\W*=/,eE:!0,starts:{e:/$/,r:0,c:[a]}}},{cN:"section",b:/^[\w]+:\s*$/},{cN:"meta",b:/^\.PHONY:/,e:/$/,k:{"meta-keyword":".PHONY"},l:/[\.\w]+/},{b:/^\t+/,e:/$/,r:0,c:[e.QSM,a]}]}});hljs.registerLanguage("objectivec",function(e){var t={cN:"built_in",b:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},_={keyword:"int float while char export sizeof typedef const struct for union unsigned long volatile static bool mutable if do return goto void enum else break extern asm case short default double register explicit signed typename this switch continue wchar_t inline readonly assign readwrite self @synchronized id typeof nonatomic super unichar IBOutlet IBAction strong weak copy in out inout bycopy byref oneway __strong __weak __block __autoreleasing @private @protected @public @try @property @end @throw @catch @finally @autoreleasepool @synthesize @dynamic @selector @optional @required @encode @package @import @defs @compatibility_alias __bridge __bridge_transfer __bridge_retained __bridge_retain __covariant __contravariant __kindof _Nonnull _Nullable _Null_unspecified __FUNCTION__ __PRETTY_FUNCTION__ __attribute__ getter setter retain unsafe_unretained nonnull nullable null_unspecified null_resettable class instancetype NS_DESIGNATED_INITIALIZER NS_UNAVAILABLE NS_REQUIRES_SUPER NS_RETURNS_INNER_POINTER NS_INLINE NS_AVAILABLE NS_DEPRECATED NS_ENUM NS_OPTIONS NS_SWIFT_UNAVAILABLE NS_ASSUME_NONNULL_BEGIN NS_ASSUME_NONNULL_END NS_REFINED_FOR_SWIFT NS_SWIFT_NAME NS_SWIFT_NOTHROW NS_DURING NS_HANDLER NS_ENDHANDLER NS_VALUERETURN NS_VOIDRETURN",literal:"false true FALSE TRUE nil YES NO NULL",built_in:"BOOL dispatch_once_t dispatch_queue_t dispatch_sync dispatch_async dispatch_once"},i=/[a-zA-Z@][a-zA-Z0-9_]*/,n="@interface @class @protocol @implementation";return{aliases:["mm","objc","obj-c"],k:_,l:i,i:""}]}]},{cN:"class",b:"("+n.split(" ").join("|")+")\\b",e:"({|$)",eE:!0,k:n,l:i,c:[e.UTM]},{b:"\\."+e.UIR,r:0}]}});hljs.registerLanguage("nginx",function(e){var r={cN:"variable",v:[{b:/\$\d+/},{b:/\$\{/,e:/}/},{b:"[\\$\\@]"+e.UIR}]},b={eW:!0,l:"[a-z/_]+",k:{literal:"on off yes no true false none blocked debug info notice warn error crit select break last permanent redirect kqueue rtsig epoll poll /dev/poll"},r:0,i:"=>",c:[e.HCM,{cN:"string",c:[e.BE,r],v:[{b:/"/,e:/"/},{b:/'/,e:/'/}]},{b:"([a-z]+):/",e:"\\s",eW:!0,eE:!0,c:[r]},{cN:"regexp",c:[e.BE,r],v:[{b:"\\s\\^",e:"\\s|{|;",rE:!0},{b:"~\\*?\\s+",e:"\\s|{|;",rE:!0},{b:"\\*(\\.[a-z\\-]+)+"},{b:"([a-z\\-]+\\.)+\\*"}]},{cN:"number",b:"\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b"},{cN:"number",b:"\\b\\d+[kKmMgGdshdwy]*\\b",r:0},r]};return{aliases:["nginxconf"],c:[e.HCM,{b:e.UIR+"\\s+{",rB:!0,e:"{",c:[{cN:"section",b:e.UIR}],r:0},{b:e.UIR+"\\s",e:";|{",rB:!0,c:[{cN:"attribute",b:e.UIR,starts:b}],r:0}],i:"[^\\s\\}]"}});hljs.registerLanguage("python",function(e){var r={cN:"meta",b:/^(>>>|\.\.\.) /},b={cN:"string",c:[e.BE],v:[{b:/(u|b)?r?'''/,e:/'''/,c:[r],r:10},{b:/(u|b)?r?"""/,e:/"""/,c:[r],r:10},{b:/(u|r|ur)'/,e:/'/,r:10},{b:/(u|r|ur)"/,e:/"/,r:10},{b:/(b|br)'/,e:/'/},{b:/(b|br)"/,e:/"/},e.ASM,e.QSM]},a={cN:"number",r:0,v:[{b:e.BNR+"[lLjJ]?"},{b:"\\b(0o[0-7]+)[lLjJ]?"},{b:e.CNR+"[lLjJ]?"}]},l={cN:"params",b:/\(/,e:/\)/,c:["self",r,a,b]};return{aliases:["py","gyp"],k:{keyword:"and elif is global as in if from raise for except finally print import pass return exec else break not with class assert yield try while continue del or def lambda async await nonlocal|10 None True False",built_in:"Ellipsis NotImplemented"},i:/(<\/|->|\?)/,c:[r,a,b,e.HCM,{v:[{cN:"function",bK:"def",r:10},{cN:"class",bK:"class"}],e:/:/,i:/[${=;\n,]/,c:[e.UTM,l,{b:/->/,eW:!0,k:"None"}]},{cN:"meta",b:/^[\t ]*@/,e:/$/},{b:/\b(print|exec)\(/}]}});hljs.registerLanguage("diff",function(e){return{aliases:["patch"],c:[{cN:"meta",r:10,v:[{b:/^@@ +\-\d+,\d+ +\+\d+,\d+ +@@$/},{b:/^\*\*\* +\d+,\d+ +\*\*\*\*$/},{b:/^\-\-\- +\d+,\d+ +\-\-\-\-$/}]},{cN:"comment",v:[{b:/Index: /,e:/$/},{b:/={3,}/,e:/$/},{b:/^\-{3}/,e:/$/},{b:/^\*{3} /,e:/$/},{b:/^\+{3}/,e:/$/},{b:/\*{5}/,e:/\*{5}$/}]},{cN:"addition",b:"^\\+",e:"$"},{cN:"deletion",b:"^\\-",e:"$"},{cN:"addition",b:"^\\!",e:"$"}]}});hljs.registerLanguage("java",function(e){var t=e.UIR+"(<"+e.UIR+"(\\s*,\\s*"+e.UIR+")*>)?",a="false synchronized int abstract float private char boolean static null if const for true while long strictfp finally protected import native final void enum else break transient catch instanceof byte super volatile case assert short package default double public try this switch continue throws protected public private module requires exports",r="\\b(0[bB]([01]+[01_]+[01]+|[01]+)|0[xX]([a-fA-F0-9]+[a-fA-F0-9_]+[a-fA-F0-9]+|[a-fA-F0-9]+)|(([\\d]+[\\d_]+[\\d]+|[\\d]+)(\\.([\\d]+[\\d_]+[\\d]+|[\\d]+))?|\\.([\\d]+[\\d_]+[\\d]+|[\\d]+))([eE][-+]?\\d+)?)[lLfF]?",s={cN:"number",b:r,r:0};return{aliases:["jsp"],k:a,i:/<\/|#/,c:[e.C("/\\*\\*","\\*/",{r:0,c:[{b:/\w+@/,r:0},{cN:"doctag",b:"@[A-Za-z]+"}]}),e.CLCM,e.CBCM,e.ASM,e.QSM,{cN:"class",bK:"class interface",e:/[{;=]/,eE:!0,k:"class interface",i:/[:"\[\]]/,c:[{bK:"extends implements"},e.UTM]},{bK:"new throw return else",r:0},{cN:"function",b:"("+t+"\\s+)+"+e.UIR+"\\s*\\(",rB:!0,e:/[{;=]/,eE:!0,k:a,c:[{b:e.UIR+"\\s*\\(",rB:!0,r:0,c:[e.UTM]},{cN:"params",b:/\(/,e:/\)/,k:a,r:0,c:[e.ASM,e.QSM,e.CNM,e.CBCM]},e.CLCM,e.CBCM]},s,{cN:"meta",b:"@[A-Za-z]+"}]}});hljs.registerLanguage("bash",function(e){var t={cN:"variable",v:[{b:/\$[\w\d#@][\w\d_]*/},{b:/\$\{(.*?)}/}]},s={cN:"string",b:/"/,e:/"/,c:[e.BE,t,{cN:"variable",b:/\$\(/,e:/\)/,c:[e.BE]}]},a={cN:"string",b:/'/,e:/'/};return{aliases:["sh","zsh"],l:/-?[a-z\._]+/,k:{keyword:"if then else elif fi for while in do done case esac function",literal:"true false",built_in:"break cd continue eval exec exit export getopts hash pwd readonly return shift test times trap umask unset alias bind builtin caller command declare echo enable help let local logout mapfile printf read readarray source type typeset ulimit unalias set shopt autoload bg bindkey bye cap chdir clone comparguments compcall compctl compdescribe compfiles compgroups compquote comptags comptry compvalues dirs disable disown echotc echoti emulate fc fg float functions getcap getln history integer jobs kill limit log noglob popd print pushd pushln rehash sched setcap setopt stat suspend ttyctl unfunction unhash unlimit unsetopt vared wait whence where which zcompile zformat zftp zle zmodload zparseopts zprof zpty zregexparse zsocket zstyle ztcp",_:"-ne -eq -lt -gt -f -d -e -s -l -a"},c:[{cN:"meta",b:/^#![^\n]+sh\s*$/,r:10},{cN:"function",b:/\w[\w\d_]*\s*\(\s*\)\s*\{/,rB:!0,c:[e.inherit(e.TM,{b:/\w[\w\d_]*/})],r:0},e.HCM,s,a,t]}});hljs.registerLanguage("javascript",function(e){var r="[A-Za-z$_][0-9A-Za-z$_]*",t={keyword:"in of if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const export super debugger as async await static import from as",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect Promise"},a={cN:"number",v:[{b:"\\b(0[bB][01]+)"},{b:"\\b(0[oO][0-7]+)"},{b:e.CNR}],r:0},n={cN:"subst",b:"\\$\\{",e:"\\}",k:t,c:[]},c={cN:"string",b:"`",e:"`",c:[e.BE,n]};n.c=[e.ASM,e.QSM,c,a,e.RM];var s=n.c.concat([e.CBCM,e.CLCM]);return{aliases:["js","jsx"],k:t,c:[{cN:"meta",r:10,b:/^\s*['"]use (strict|asm)['"]/},{cN:"meta",b:/^#!/,e:/$/},e.ASM,e.QSM,c,e.CLCM,e.CBCM,a,{b:/[{,]\s*/,r:0,c:[{b:r+"\\s*:",rB:!0,r:0,c:[{cN:"attr",b:r,r:0}]}]},{b:"("+e.RSR+"|\\b(case|return|throw)\\b)\\s*",k:"return throw case",c:[e.CLCM,e.CBCM,e.RM,{cN:"function",b:"(\\(.*?\\)|"+r+")\\s*=>",rB:!0,e:"\\s*=>",c:[{cN:"params",v:[{b:r},{b:/\(\s*\)/},{b:/\(/,e:/\)/,eB:!0,eE:!0,k:t,c:s}]}]},{b://,sL:"xml",c:[{b:/<\w+\s*\/>/,skip:!0},{b:/<\w+/,e:/(\/\w+|\w+\/)>/,skip:!0,c:[{b:/<\w+\s*\/>/,skip:!0},"self"]}]}],r:0},{cN:"function",bK:"function",e:/\{/,eE:!0,c:[e.inherit(e.TM,{b:r}),{cN:"params",b:/\(/,e:/\)/,eB:!0,eE:!0,c:s}],i:/\[|%/},{b:/\$[(.]/},e.METHOD_GUARD,{cN:"class",bK:"class",e:/[{;=]/,eE:!0,i:/[:"\[\]]/,c:[{bK:"extends"},e.UTM]},{bK:"constructor",e:/\{/,eE:!0}],i:/#(?!!)/}}); \ No newline at end of file