diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml new file mode 100644 index 0000000..c50cd6f --- /dev/null +++ b/.forgejo/workflows/build.yaml @@ -0,0 +1,52 @@ +name: build-to-pages +on: [push] +branches: [main] +jobs: + build: + runs-on: docker + env: + HUGO_VERSION: 0.115.4 + steps: + - name: Install Hugo CLI + run: | + wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \ + && dpkg -i ${{ runner.temp }}/hugo.deb + - name: Install Dart Sass + run: npm i -g sass + - uses: actions/checkout@v4 + with: + submodules: recursive + - name: Build with hugo + env: + # For maximum backward compatibility with Hugo modules + HUGO_ENVIRONMENT: production + HUGO_ENV: production + run: hugo --minify + - name: Zip output + run: apt update && apt install zip -y && zip -r public.zip public/ + - uses: actions/upload-artifact@v3 + with: + name: hugo-output + path: ./public.zip + if-no-files-found: error + retention-days: 1 + push: + runs-on: docker + steps: + - uses: actions/checkout@v4 + with: + ref: public + - name: Clean current files in directory + run: rm -rf * + - uses: actions/download-artifact@v3 + with: + name: hugo-output + - name: Unzip hugo output + run: apt update && apt install unzip -y && unzip hugo-output/public.zip -d . && shopt -s dotglob && mv ./public/* ./ + - name: Publish + run: | + git config user.name "forgejo-actions" + git config user.email "" + git add . + git commit -m "generated" + git push \ No newline at end of file diff --git a/.gitignore b/.gitignore index 0299c7e..6fd12db 100644 --- a/.gitignore +++ b/.gitignore @@ -12,4 +12,3 @@ hugo.linux # Temporary lock file while building /.hugo_build.lock - diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..51edd47 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "themes/gokarna"] + path = themes/gokarna + url = https://github.com/526avijitgupta/gokarna.git diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..00e77bd --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,6 @@ +--- +title: "{{ replace .Name "-" " " | title }}" +date: {{ .Date }} +draft: true +--- + diff --git a/config.toml b/config.toml new file mode 100644 index 0000000..4f2d86d --- /dev/null +++ b/config.toml @@ -0,0 +1,26 @@ +theme = 'gokarna' +baseURL = 'https://rallex.de/' +languageCode = 'en-us' +title = 'Rallex' + +# Automatically generate robots.txt +enableRobotsTXT = true + +[menu] + [[menu.main]] + # Unique identifier for a menu item + identifier = "posts" + + url = "/posts/" + + # You can add extra information before the name (HTML format is supported), such as icons + pre = "" + + # You can add extra information after the name (HTML format is supported), such as icons + post = "" + + # Display name + name = "Blog" + + # Weights are used to determine the ordering + weight = 1 diff --git a/content/posts/first_post.md b/content/posts/first_post.md new file mode 100644 index 0000000..812354f --- /dev/null +++ b/content/posts/first_post.md @@ -0,0 +1,10 @@ +--- +title: "First_post" +date: 2023-10-28T22:19:12+02:00 +draft: false +type: "post" +--- + +This is a Test. + +Hello World! diff --git a/static/.domains b/static/.domains new file mode 100644 index 0000000..5ed6e7e --- /dev/null +++ b/static/.domains @@ -0,0 +1,3 @@ +rallex.de +www.rallex.de +rallex.nutfactory.page \ No newline at end of file diff --git a/static/.gitignore b/static/.gitignore new file mode 100644 index 0000000..ea17112 --- /dev/null +++ b/static/.gitignore @@ -0,0 +1,5 @@ +# Generated files by hugo +/public/ + +# Generated files by forgejo actions +/hugo-output/ diff --git a/themes/gokarna/.gitignore b/themes/gokarna/.gitignore new file mode 100644 index 0000000..e0e1aaf --- /dev/null +++ b/themes/gokarna/.gitignore @@ -0,0 +1,4 @@ +.DS_Store +geckodriver.log +.idea/ +.hugo_build.lock \ No newline at end of file diff --git a/themes/gokarna/LICENSE b/themes/gokarna/LICENSE new file mode 100644 index 0000000..53d1f3d --- /dev/null +++ b/themes/gokarna/LICENSE @@ -0,0 +1,675 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + Copyright (C) + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. + diff --git a/themes/gokarna/README.md b/themes/gokarna/README.md new file mode 100644 index 0000000..acc645c --- /dev/null +++ b/themes/gokarna/README.md @@ -0,0 +1,87 @@ +# Gokarna + +Gokarna is an opinionated theme with a focus on minimalism and simplicity. + +### Authors: + +1. [Yash Mehrotra](https://yashmehrotra.com) +2. [Avijit Gupta](https://twitter.com/526avijit) + +### Demo: [https://gokarna-hugo.netlify.app](https://gokarna-hugo.netlify.app) + +## Support the developer + +[!["Buy Me A Coffee"](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://www.buymeacoffee.com/avijitgupta) + +## Features + +- Minimalistic & fast +- Customizable header +- Responsive +- Available in light and dark themes +- Native fonts and support for [feather icons](https://feathericons.com/) and [svg icons](https://gokarna-hugo.netlify.app/posts/theme-documentation-advanced/#icons-on-homepage) +- Syntax highlighting +- SEO Ready +- Table of contents which can be configured per page +- Option to add custom javascript and css +- RSS Feed +- Math typesetting using [Katex](https://gokarna-hugo.netlify.app/posts/theme-documentation-advanced/#katex) + +## Screenshots + +### Homepage + +Light Mode | Dark Mode +:-------------------------:|:-------------------------: +![Light mode](https://raw.githubusercontent.com/526avijitgupta/gokarna/main/images/screenshot-light-home.png "Light mode") | ![Dark mode](https://raw.githubusercontent.com/526avijitgupta/gokarna/main/images/screenshot-dark-home.png "Dark mode") + +### Post page + +Light Mode | Dark Mode +:-------------------------:|:-------------------------: +![Light mode](https://raw.githubusercontent.com/526avijitgupta/gokarna/main/images/screenshot-light-post.png "Light mode") | ![Dark mode](https://raw.githubusercontent.com/526avijitgupta/gokarna/main/images/screenshot-dark-post.png "Dark mode") + +### List page + +Light Mode | Dark Mode +:-------------------------:|:-------------------------: +![Light mode](https://raw.githubusercontent.com/526avijitgupta/gokarna/main/images/screenshot-light-list.png "Light mode") | ![Dark mode](https://raw.githubusercontent.com/526avijitgupta/gokarna/main/images/screenshot-dark-list.png "Dark mode") + + + +## Installation + +Follow details installation steps in the [documentation here](https://gokarna-hugo.netlify.app/posts/theme-documentation-basics/#installation) + +```sh +git submodule add https://github.com/526avijitgupta/gokarna.git themes/gokarna +``` + +## Customization + +For a complete guide on customization, please go through our [basic](https://gokarna-hugo.netlify.app/posts/theme-documentation-basics/) and [advanced](https://gokarna-hugo.netlify.app/posts/theme-documentation-advanced/) theme documentation. A gist of things you can customize: + +- Navigation menu +- Avatar image and size +- Accent color +- Theme mode (Auto, Light & Dark) +- Custom HTML in head and footer section for loading any scripts +- Syntax highlighting +- Option to show posts recent or popular homepage. +- Footer + +## Inspiration + +The theme is inspired by and accordingly named after [Gokarna](https://en.wikipedia.org/wiki/Gokarna,_Karnataka), a small and peaceful beach town on the west coast on India. + +![Gokarna](https://raw.githubusercontent.com/526avijitgupta/gokarna/main/images/gokarna.jpg) + +## Performance + +Google Lighthouse check score: 100% + +![Lighthouse Score](https://raw.githubusercontent.com/526avijitgupta/gokarna/main/images/lighthouse.png) + +## LICENSE + +This code is licensed under [GNU GPLv3](https://www.gnu.org/licenses/gpl-3.0.html) diff --git a/themes/gokarna/archetypes/default.md b/themes/gokarna/archetypes/default.md new file mode 100644 index 0000000..ac36e06 --- /dev/null +++ b/themes/gokarna/archetypes/default.md @@ -0,0 +1,2 @@ ++++ ++++ diff --git a/themes/gokarna/assets/css/dark.css b/themes/gokarna/assets/css/dark.css new file mode 100644 index 0000000..6d71b11 --- /dev/null +++ b/themes/gokarna/assets/css/dark.css @@ -0,0 +1,97 @@ +:root { + --dark-primary-color: 34, 39, 46; + --dark-secondary-color: #2d333b; + --dark-tertiary-color: #646464; + --dark-text-color: white; +} + +html { + background-color: rgb(var(--dark-primary-color)); + color: var(--dark-text-color); + fill: var(--dark-text-color); +} + +.header { + background-color: rgba(var(--dark-primary-color), 0.95); +} + +.nav-hamburger-list { + background: rgba(var(--dark-primary-color), 1); +} + +.nav-links .nav-icons-divider { + color: var(--dark-secondary-color); +} + +a:hover .feather-moon { + fill: white; + color: white; +} + +.social-icons-list .social-icon, +.social-icons-list .social-icon a:visited { + fill: var(--dark-text-color); +} + +.social-icons-list .social-icon a:hover { + fill: var(--accent-color); +} + +.post-tags .post-tag:hover { + background-color: var(--dark-text-color); + color: rgb(var(--dark-primary-color)); +} + +.tags-list .post-tags .post-tag a .tag-posts-count { + background-color: var(--dark-secondary-color); +} + +.tags-list .post-tags .post-tag:hover a .tag-posts-count { + background-color: var(--dark-text-color); + color: rgb(var(--dark-primary-color)); +} + +.footer { + border-top-color: var(--dark-header-bg-color); +} + +blockquote { + color: darkgrey; + border-left-color: var(--dark-secondary-color); +} + +hr { + color: var(--dark-secondary-color); +} + +table thead { + background-color: var(--dark-secondary-color); +} + +table td, +table th { + border-bottom-color: var(--dark-secondary-color); +} + +code, +pre { + background-color: var(--dark-secondary-color) !important; +} + +:not(pre) > code { + background-color: var(--dark-tertiary-color) !important; + color: var(--dark-text-color); +} + +.header-shadow { + box-shadow: rgb(33, 38, 45) 0px -1px 0px 0px inset; +} + +/* TODO: Check if this is needed or not */ +/* +img, +video { + filter: hue-rotate(180deg) contrast(100%) invert(100%); + -webkit-filter: hue-rotate(180deg) contrast(100%) invert(100%); +} +*/ diff --git a/themes/gokarna/assets/css/main.css b/themes/gokarna/assets/css/main.css new file mode 100644 index 0000000..fac106a --- /dev/null +++ b/themes/gokarna/assets/css/main.css @@ -0,0 +1,626 @@ +:root { + --content-width: 1120px; + --container-width: 810px; + + --light-primary-color: 255, 255, 255; + --light-secondary-color: #dddddd; + --light-tertiary-color: #272822; + --light-text-color: black; +} + +@font-face { + font-family: Lato; + font-weight: 400; + src: url("/fonts/Lato-Regular.ttf"); +} + +@font-face { + font-family: Lato; + font-weight: 700; + src: url("/fonts/Lato-Bold.ttf"); +} + +html { + background-color: rgb(var(--light-primary-color)); + color: var(--light-text-color); + font-family: "Lato", sans-serif; + font-size: 17.5px; + min-height: 100%; + position: relative; +} + +body { + margin-bottom: 170px; +} + +b, +strong { + font-weight: bold; +} + +a { + color: inherit; +} + +/* This is set in partials/head.html and is populated via config */ +a:hover { + color: var(--accent-color); + fill: var(--accent-color); +} + +main#content { + margin: 90px auto 0; + width: var(--content-width); +} + +main#content > .container { + margin: auto; + width: 75%; + max-width: var(--container-width); +} + +.post.container { + box-sizing: border-box; + display: inline-block; +} + +.post-toc { + box-sizing: border-box; + display: inline-block; + padding-left: 50px; + vertical-align: top; + /* Would be 25% had there been no margins or border box on all inline blocks */ + width: 24%; +} + +#toc { + position: fixed; + top: 80px; + bottom: 20px; + overflow-x: hidden; + overflow-y: auto; +} + +#toc ul { + list-style: none; + margin: 0; + padding: 0; + font-size: 14px; +} + +#toc ul li { + margin-top: 12px; +} + +#toc ul li a.level-1 { + padding-left: 0; +} + +#toc ul li a.level-2 { + padding-left: 10px; +} + +#toc ul li a.level-3 { + padding-left: 20px; +} + +#toc ul li a.level-4 { + padding-left: 30px; +} + +#toc ul li a { + text-decoration: none; +} + +#toc ul li a.active { + color: var(--accent-color); +} + +img { + height: auto; + max-width: 100%; +} + +/* HEADER */ +.header { + background-color: rgba(var(--light-primary-color), 0.95); + color: inherit; + height: 50px; + left: 0; + position: fixed; + top: 0; + transition: box-shadow 0.3s ease-in-out; + width: 100%; + z-index: 5; +} + +.header a { + text-decoration: none; +} +.header .header-nav { + height: 50px; + margin-top: 0; +} + +.header-nav .avatar { + border-radius: 18px; + float: left; + height: 100%; + margin-left: 15px; +} +.header-nav .avatar img { + border-radius: 100%; + display: block; + height: 38px; + margin-top: 5px; + overflow: hidden; + width: 38px; +} +.header-nav .nav-title { + display: inline-block; + height: 100%; + line-height: 50px; + padding-left: 15px; +} +.nav-title a { + height: 50px; +} +.header-nav .nav-links { + float: right; + line-height: 50px; + margin-right: 10px; +} +.nav-links .nav-link { + display: inline-block; + padding: 0 2px; +} +.nav-links .nav-link a { + display: block; + padding: 0 6px; +} +.nav-link a svg { + height: 20px; + margin: -3px auto; + stroke-width: 2; + width: 20px; +} +.nav-links .nav-link.icon a { + padding: 0 8px; +} +.nav-links .nav-icons-divider { + border-color: inherit; + border-left: 1.5px solid; + color: var(--light-secondary-color); + margin: 0 10px; +} +.nav-links .dark-theme-toggle:hover { + cursor: pointer; +} + +a:hover .feather-sun { + fill: black; + color: black; +} + +.dark-theme-toggle .feather { + height: 22px; + stroke-linecap: round; + stroke-linejoin: round; + width: 22px; +} +#hamburger-menu-toggle { + display: none; +} +#hamburger-menu-toggle .feather { + height: 24px; + stroke-linecap: round; + stroke-linejoin: round; + width: 24px; +} +.nav-hamburger-list { + background: rgb(var(--light-primary-color)); + border-bottom: solid 1.5px var(--light-secondary-color); + border-top: solid 1.5px var(--light-secondary-color); + list-style-type: none; + margin: 0; + padding: 0; + position: absolute; + right: 0; + text-align: center; + width: 100%; + z-index: 5; +} +.nav-hamburger-list a:hover { + text-decoration: underline; +} + +/* FOOTER */ +.footer { + bottom: 0; + color: inherit; + left: 0; + overflow: hidden; + padding: 40px 0; + position: absolute; + text-align: center; + width: 100%; +} + +.footer span { + display: block; + font-size: 0.85em; + font-weight: 300; + padding: 1px 0; +} + +/** COMMON **/ +.flex-break { + flex-basis: 100%; + height: 0; + display: none; +} + +.visibility-hidden { + visibility: hidden; +} + +.header-shadow { + box-shadow: rgb(220, 220, 220) 0px 1px 5px; +} + +/* TAGS */ +.post-tags { + list-style-type: none; + padding: 0; +} +.post-tags .post-tag { + border: 1.5px solid; + border-radius: 4px; + box-sizing: border-box; + color: inherit; + display: inline-block; + font-size: 14px; +} +.post-tags .post-tag:hover { + background-color: var(--light-text-color); + color: rgb(var(--light-primary-color)); +} +.post-tag a { + color: inherit; + display: block; + padding: 6px 12px; + text-decoration: none; +} + +/* CODE BLOCKS */ +code, +pre { + background-color: var(--light-tertiary-color); + box-sizing: border-box; + color: white; +} + +pre { + font-size: 0.95rem; + overflow: auto; + padding: 20px; +} + +code { + box-decoration-break: clone; + word-wrap: break-word; + font-size: 0.8em; +} + +:not(pre) > code { + background-color: var(--light-secondary-color) !important; + color: var(--light-text-color); + padding: 1px 4px; +} + +pre code { + font-size: 0.9em; +} + +blockquote { + border-left: 2px solid var(--light-secondary-color); + color: grey; + padding-left: 1rem; + margin-left: 0; +} + +hr { + color: var(--light-secondary-color); + margin: 50px auto; +} + +table { + border-collapse: collapse; + margin: 30px 0; + text-align: left; + display: block; + overflow-x: auto; +} + +table thead { + background-color: var(--light-secondary-color); +} + +table td, +table th { + padding: 1.4rem; +} + +table td { + border-bottom: 1px solid var(--light-secondary-color); +} + +/* HOME PAGE */ +.home-about { + text-align: center; +} + +.home-about .avatar img { + border-radius: 50%; + height: auto; + object-fit: cover; +} + +/* Avatar sizes (default is M) - XS, S, M, L, XL */ +.home-about .avatar img.size-xs { + height: 7rem; + width: 7rem; +} + +.home-about .avatar img.size-s { + height: 9rem; + width: 9rem; +} + +.home-about .avatar img.size-m { + height: 11rem; + width: 11rem; +} + +.home-about .avatar img.size-l { + height: 13rem; + width: 13rem; +} + +.home-about .avatar img.size-xl { + height: 15rem; + width: 15rem; +} + +.home-about h1 { + font-size: 2em; +} + +.social-icons { + text-align: center; +} + +.social-icons .social-icons-list { + display: inline-block; + list-style-type: none; + padding: 0; + text-align: center; +} + +.social-icons-list .social-icon { + box-sizing: border-box; + display: inline-block; + fill: var(--light-text-color); + height: 24px; + margin: 0 6px; + width: 24px; +} + +.social-icon a svg path { + transition: fill 0.15s ease; +} + +.markdown-content { + line-height: 1.25; + width: 80%; + margin: 0 auto; +} + +.home-posts { + margin: 0 auto; + padding-top: 10px; + width: 80%; +} + +/* SINGLE */ +.post [role="doc-subtitle"] { + font-size: 1.1em; + font-style: italic; +} +.post { + /* Prevent long strings from overflowing */ + overflow-wrap: break-word; +} +.post .post-date, .prev-post-date, .next-post-date { + color: gray; +} +.post .post-content { + line-height: 1.7; + margin-top: 50px; + letter-spacing: 0.5px; +} +.post-content h1, .post-content h2, .post-content h3, .post-content h4 { + scroll-margin-top: 55px; +} +.post-content h1 { + margin-top: 40px; +} +.post-content h2 { + margin-top: 35px; +} +.post-content h3 { + margin-top: 30px; +} +.post-content h4 { + margin-top: 25px; +} +.post-content h5 { + margin-top: 20px; +} +.post-content img { + display: block; + margin-left: auto; + margin-right: auto; +} + +/* LIST */ +.list-posts .list-title { + text-align: center; +} +.list-posts .posts-year { + margin-top: 70px; +} +.list-posts .post-title { + margin: 18px 0 0 15px; +} +.list-posts a { + text-decoration: none; +} +.post-title .post-link, +.post-title .post-date { + display: inline-block; +} +.post-title .post-link { + /* This magic number is the largest width that keeps the post-date div from + * causing the line to wrap with the longest possible date string + * "September 22, 2022" + */ + width: 73%; +} +.tags-list .post-tags { + margin-top: 50px; +} +.tags-list .post-tags .post-tag { + margin: 2px 5px; + padding: 0; +} +.tags-list .post-tags .post-tag a { + border-radius: inherit; + padding: 0; +} +.tags-list .post-tags .post-tag a div { + display: inline-block; +} +.tags-list .post-tags .post-tag a .tag-name { + padding: 5px 8px; +} +.tags-list .post-tags .post-tag a .tag-posts-count { + background-color: var(--light-secondary-color); + border-radius: inherit; + color: inherit; + opacity: 0.8; + padding: 6px; + position: relative; + z-index: 0; +} +.tags-list .post-tags .post-tag:hover a .tag-posts-count { + background-color: var(--light-text-color); + color: rgb(var(--light-primary-color)); +} + +.text-404 { + margin-top: 125px; + text-align: center; +} + +@media only screen and (max-width: 1120px) { + main#content { + width: auto; + } +} + +@media only screen and (max-width: 820px) { + body { + font-size: 0.95rem; + } + + .flex-break { + display: block; + } + + .home-about .avatar img { + border-radius: 50%; + height: 7rem; + width: 7rem; + } + + .nav-links .nav-link, + .nav-icons-divider { + display: none; + } + + #hamburger-menu-toggle { + display: inline-block; + } + + main#content { + box-sizing: border-box; + padding: 0 1.5rem; + width: auto; + } + + .markdown-content, .home-posts { + width: auto; + margin: 0; + } + + main#content .container { + width: 100%; + } + + .home-about { + margin: 0 auto; + } + + #toc { + display:none; + } + + .list-posts { + flex: 1; + } + + .list-posts .post-date { + color: gray; + } +} + +@media only screen and (min-width: 820px) { + .nav-hamburger-list { + visibility: hidden !important; + } +} + +/*Accessibility*/ +.sr-only { + position: absolute; + left: -10000px; + top: auto; + width: 1px; + height: 1px; + overflow: hidden; +} + +.prev-post { + float: left; + text-align: left; +} + +.next-post { + float: right; + text-align: right; +} + +.prev-post, .next-post { + max-width: 33%; +} diff --git a/themes/gokarna/assets/css/normalize.min.css b/themes/gokarna/assets/css/normalize.min.css new file mode 100644 index 0000000..87aa24d --- /dev/null +++ b/themes/gokarna/assets/css/normalize.min.css @@ -0,0 +1,2 @@ +/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none} +/*# sourceMappingURL=normalize.min.css.map */ \ No newline at end of file diff --git a/themes/gokarna/assets/js/feather-icons.min.js b/themes/gokarna/assets/js/feather-icons.min.js new file mode 100644 index 0000000..8134a5c --- /dev/null +++ b/themes/gokarna/assets/js/feather-icons.min.js @@ -0,0 +1,13 @@ +!function(e,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.feather=n():e.feather=n()}("undefined"!=typeof self?self:this,function(){return function(e){var n={};function i(t){if(n[t])return n[t].exports;var l=n[t]={i:t,l:!1,exports:{}};return e[t].call(l.exports,l,l.exports,i),l.l=!0,l.exports}return i.m=e,i.c=n,i.d=function(e,n,t){i.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:t})},i.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},i.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(n,"a",n),n},i.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},i.p="",i(i.s=80)}([function(e,n,i){(function(n){var i="object",t=function(e){return e&&e.Math==Math&&e};e.exports=t(typeof globalThis==i&&globalThis)||t(typeof window==i&&window)||t(typeof self==i&&self)||t(typeof n==i&&n)||Function("return this")()}).call(this,i(75))},function(e,n){var i={}.hasOwnProperty;e.exports=function(e,n){return i.call(e,n)}},function(e,n,i){var t=i(0),l=i(11),r=i(33),o=i(62),a=t.Symbol,c=l("wks");e.exports=function(e){return c[e]||(c[e]=o&&a[e]||(o?a:r)("Symbol."+e))}},function(e,n,i){var t=i(6);e.exports=function(e){if(!t(e))throw TypeError(String(e)+" is not an object");return e}},function(e,n){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,n,i){var t=i(8),l=i(7),r=i(10);e.exports=t?function(e,n,i){return l.f(e,n,r(1,i))}:function(e,n,i){return e[n]=i,e}},function(e,n){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,n,i){var t=i(8),l=i(35),r=i(3),o=i(18),a=Object.defineProperty;n.f=t?a:function(e,n,i){if(r(e),n=o(n,!0),r(i),l)try{return a(e,n,i)}catch(e){}if("get"in i||"set"in i)throw TypeError("Accessors not supported");return"value"in i&&(e[n]=i.value),e}},function(e,n,i){var t=i(4);e.exports=!t(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,n){e.exports={}},function(e,n){e.exports=function(e,n){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:n}}},function(e,n,i){var t=i(0),l=i(19),r=i(17),o=t["__core-js_shared__"]||l("__core-js_shared__",{});(e.exports=function(e,n){return o[e]||(o[e]=void 0!==n?n:{})})("versions",[]).push({version:"3.1.3",mode:r?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(e,n,i){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=o(i(43)),l=o(i(41)),r=o(i(40));function o(e){return e&&e.__esModule?e:{default:e}}n.default=Object.keys(l.default).map(function(e){return new t.default(e,l.default[e],r.default[e])}).reduce(function(e,n){return e[n.name]=n,e},{})},function(e,n){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,n,i){var t=i(72),l=i(20);e.exports=function(e){return t(l(e))}},function(e,n){e.exports={}},function(e,n,i){var t=i(11),l=i(33),r=t("keys");e.exports=function(e){return r[e]||(r[e]=l(e))}},function(e,n){e.exports=!1},function(e,n,i){var t=i(6);e.exports=function(e,n){if(!t(e))return e;var i,l;if(n&&"function"==typeof(i=e.toString)&&!t(l=i.call(e)))return l;if("function"==typeof(i=e.valueOf)&&!t(l=i.call(e)))return l;if(!n&&"function"==typeof(i=e.toString)&&!t(l=i.call(e)))return l;throw TypeError("Can't convert object to primitive value")}},function(e,n,i){var t=i(0),l=i(5);e.exports=function(e,n){try{l(t,e,n)}catch(i){t[e]=n}return n}},function(e,n){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,n){var i=Math.ceil,t=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?t:i)(e)}},function(e,n,i){var t; +/*! + Copyright (c) 2016 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/ +/*! + Copyright (c) 2016 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/ +!function(){"use strict";var i=function(){function e(){}function n(e,n){for(var i=n.length,t=0;t0?l(t(e),9007199254740991):0}},function(e,n,i){var t=i(1),l=i(14),r=i(68),o=i(15),a=r(!1);e.exports=function(e,n){var i,r=l(e),c=0,p=[];for(i in r)!t(o,i)&&t(r,i)&&p.push(i);for(;n.length>c;)t(r,i=n[c++])&&(~a(p,i)||p.push(i));return p}},function(e,n,i){var t=i(0),l=i(11),r=i(5),o=i(1),a=i(19),c=i(36),p=i(37),y=p.get,h=p.enforce,x=String(c).split("toString");l("inspectSource",function(e){return c.call(e)}),(e.exports=function(e,n,i,l){var c=!!l&&!!l.unsafe,p=!!l&&!!l.enumerable,y=!!l&&!!l.noTargetGet;"function"==typeof i&&("string"!=typeof n||o(i,"name")||r(i,"name",n),h(i).source=x.join("string"==typeof n?n:"")),e!==t?(c?!y&&e[n]&&(p=!0):delete e[n],p?e[n]=i:r(e,n,i)):p?e[n]=i:a(n,i)})(Function.prototype,"toString",function(){return"function"==typeof this&&y(this).source||c.call(this)})},function(e,n){var i={}.toString;e.exports=function(e){return i.call(e).slice(8,-1)}},function(e,n,i){var t=i(8),l=i(73),r=i(10),o=i(14),a=i(18),c=i(1),p=i(35),y=Object.getOwnPropertyDescriptor;n.f=t?y:function(e,n){if(e=o(e),n=a(n,!0),p)try{return y(e,n)}catch(e){}if(c(e,n))return r(!l.f.call(e,n),e[n])}},function(e,n,i){var t=i(0),l=i(31).f,r=i(5),o=i(29),a=i(19),c=i(71),p=i(65);e.exports=function(e,n){var i,y,h,x,s,u=e.target,d=e.global,f=e.stat;if(i=d?t:f?t[u]||a(u,{}):(t[u]||{}).prototype)for(y in n){if(x=n[y],h=e.noTargetGet?(s=l(i,y))&&s.value:i[y],!p(d?y:u+(f?".":"#")+y,e.forced)&&void 0!==h){if(typeof x==typeof h)continue;c(x,h)}(e.sham||h&&h.sham)&&r(x,"sham",!0),o(i,y,x,e)}}},function(e,n){var i=0,t=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++i+t).toString(36))}},function(e,n,i){var t=i(0),l=i(6),r=t.document,o=l(r)&&l(r.createElement);e.exports=function(e){return o?r.createElement(e):{}}},function(e,n,i){var t=i(8),l=i(4),r=i(34);e.exports=!t&&!l(function(){return 7!=Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a})},function(e,n,i){var t=i(11);e.exports=t("native-function-to-string",Function.toString)},function(e,n,i){var t,l,r,o=i(76),a=i(0),c=i(6),p=i(5),y=i(1),h=i(16),x=i(15),s=a.WeakMap;if(o){var u=new s,d=u.get,f=u.has,g=u.set;t=function(e,n){return g.call(u,e,n),n},l=function(e){return d.call(u,e)||{}},r=function(e){return f.call(u,e)}}else{var v=h("state");x[v]=!0,t=function(e,n){return p(e,v,n),n},l=function(e){return y(e,v)?e[v]:{}},r=function(e){return y(e,v)}}e.exports={set:t,get:l,has:r,enforce:function(e){return r(e)?l(e):t(e,{})},getterFor:function(e){return function(n){var i;if(!c(n)||(i=l(n)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return i}}}},function(e,n,i){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=Object.assign||function(e){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:{};if("undefined"==typeof document)throw new Error("`feather.replace()` only works in a browser environment.");var n=document.querySelectorAll("[data-feather]");Array.from(n).forEach(function(n){return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=function(e){return Array.from(e.attributes).reduce(function(e,n){return e[n.name]=n.value,e},{})}(e),o=i["data-feather"];delete i["data-feather"];var a=r.default[o].toSvg(t({},n,i,{class:(0,l.default)(n.class,i.class)})),c=(new DOMParser).parseFromString(a,"image/svg+xml").querySelector("svg");e.parentNode.replaceChild(c,e)}(n,e)})}},function(e,n,i){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t,l=i(12),r=(t=l)&&t.__esModule?t:{default:t};n.default=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(console.warn("feather.toSvg() is deprecated. Please use feather.icons[name].toSvg() instead."),!e)throw new Error("The required `key` (icon name) parameter is missing.");if(!r.default[e])throw new Error("No icon matching '"+e+"'. See the complete list of icons at https://feathericons.com");return r.default[e].toSvg(n)}},function(e){e.exports={activity:["pulse","health","action","motion"],airplay:["stream","cast","mirroring"],"alert-circle":["warning","alert","danger"],"alert-octagon":["warning","alert","danger"],"alert-triangle":["warning","alert","danger"],"align-center":["text alignment","center"],"align-justify":["text alignment","justified"],"align-left":["text alignment","left"],"align-right":["text alignment","right"],anchor:[],archive:["index","box"],"at-sign":["mention","at","email","message"],award:["achievement","badge"],aperture:["camera","photo"],"bar-chart":["statistics","diagram","graph"],"bar-chart-2":["statistics","diagram","graph"],battery:["power","electricity"],"battery-charging":["power","electricity"],bell:["alarm","notification","sound"],"bell-off":["alarm","notification","silent"],bluetooth:["wireless"],"book-open":["read","library"],book:["read","dictionary","booklet","magazine","library"],bookmark:["read","clip","marker","tag"],box:["cube"],briefcase:["work","bag","baggage","folder"],calendar:["date"],camera:["photo"],cast:["chromecast","airplay"],circle:["off","zero","record"],clipboard:["copy"],clock:["time","watch","alarm"],"cloud-drizzle":["weather","shower"],"cloud-lightning":["weather","bolt"],"cloud-rain":["weather"],"cloud-snow":["weather","blizzard"],cloud:["weather"],codepen:["logo"],codesandbox:["logo"],code:["source","programming"],coffee:["drink","cup","mug","tea","cafe","hot","beverage"],columns:["layout"],command:["keyboard","cmd","terminal","prompt"],compass:["navigation","safari","travel","direction"],copy:["clone","duplicate"],"corner-down-left":["arrow","return"],"corner-down-right":["arrow"],"corner-left-down":["arrow"],"corner-left-up":["arrow"],"corner-right-down":["arrow"],"corner-right-up":["arrow"],"corner-up-left":["arrow"],"corner-up-right":["arrow"],cpu:["processor","technology"],"credit-card":["purchase","payment","cc"],crop:["photo","image"],crosshair:["aim","target"],database:["storage","memory"],delete:["remove"],disc:["album","cd","dvd","music"],"dollar-sign":["currency","money","payment"],droplet:["water"],edit:["pencil","change"],"edit-2":["pencil","change"],"edit-3":["pencil","change"],eye:["view","watch"],"eye-off":["view","watch","hide","hidden"],"external-link":["outbound"],facebook:["logo","social"],"fast-forward":["music"],figma:["logo","design","tool"],"file-minus":["delete","remove","erase"],"file-plus":["add","create","new"],"file-text":["data","txt","pdf"],film:["movie","video"],filter:["funnel","hopper"],flag:["report"],"folder-minus":["directory"],"folder-plus":["directory"],folder:["directory"],framer:["logo","design","tool"],frown:["emoji","face","bad","sad","emotion"],gift:["present","box","birthday","party"],"git-branch":["code","version control"],"git-commit":["code","version control"],"git-merge":["code","version control"],"git-pull-request":["code","version control"],github:["logo","version control"],gitlab:["logo","version control"],globe:["world","browser","language","translate"],"hard-drive":["computer","server","memory","data"],hash:["hashtag","number","pound"],headphones:["music","audio","sound"],heart:["like","love","emotion"],"help-circle":["question mark"],hexagon:["shape","node.js","logo"],home:["house","living"],image:["picture"],inbox:["email"],instagram:["logo","camera"],key:["password","login","authentication","secure"],layers:["stack"],layout:["window","webpage"],"life-bouy":["help","life ring","support"],link:["chain","url"],"link-2":["chain","url"],linkedin:["logo","social media"],list:["options"],lock:["security","password","secure"],"log-in":["sign in","arrow","enter"],"log-out":["sign out","arrow","exit"],mail:["email","message"],"map-pin":["location","navigation","travel","marker"],map:["location","navigation","travel"],maximize:["fullscreen"],"maximize-2":["fullscreen","arrows","expand"],meh:["emoji","face","neutral","emotion"],menu:["bars","navigation","hamburger"],"message-circle":["comment","chat"],"message-square":["comment","chat"],"mic-off":["record","sound","mute"],mic:["record","sound","listen"],minimize:["exit fullscreen","close"],"minimize-2":["exit fullscreen","arrows","close"],minus:["subtract"],monitor:["tv","screen","display"],moon:["dark","night"],"more-horizontal":["ellipsis"],"more-vertical":["ellipsis"],"mouse-pointer":["arrow","cursor"],move:["arrows"],music:["note"],navigation:["location","travel"],"navigation-2":["location","travel"],octagon:["stop"],package:["box","container"],paperclip:["attachment"],pause:["music","stop"],"pause-circle":["music","audio","stop"],"pen-tool":["vector","drawing"],percent:["discount"],"phone-call":["ring"],"phone-forwarded":["call"],"phone-incoming":["call"],"phone-missed":["call"],"phone-off":["call","mute"],"phone-outgoing":["call"],phone:["call"],play:["music","start"],"pie-chart":["statistics","diagram"],"play-circle":["music","start"],plus:["add","new"],"plus-circle":["add","new"],"plus-square":["add","new"],pocket:["logo","save"],power:["on","off"],printer:["fax","office","device"],radio:["signal"],"refresh-cw":["synchronise","arrows"],"refresh-ccw":["arrows"],repeat:["loop","arrows"],rewind:["music"],"rotate-ccw":["arrow"],"rotate-cw":["arrow"],rss:["feed","subscribe"],save:["floppy disk"],scissors:["cut"],search:["find","magnifier","magnifying glass"],send:["message","mail","email","paper airplane","paper aeroplane"],settings:["cog","edit","gear","preferences"],"share-2":["network","connections"],shield:["security","secure"],"shield-off":["security","insecure"],"shopping-bag":["ecommerce","cart","purchase","store"],"shopping-cart":["ecommerce","cart","purchase","store"],shuffle:["music"],"skip-back":["music"],"skip-forward":["music"],slack:["logo"],slash:["ban","no"],sliders:["settings","controls"],smartphone:["cellphone","device"],smile:["emoji","face","happy","good","emotion"],speaker:["audio","music"],star:["bookmark","favorite","like"],"stop-circle":["media","music"],sun:["brightness","weather","light"],sunrise:["weather","time","morning","day"],sunset:["weather","time","evening","night"],tablet:["device"],tag:["label"],target:["logo","bullseye"],terminal:["code","command line","prompt"],thermometer:["temperature","celsius","fahrenheit","weather"],"thumbs-down":["dislike","bad","emotion"],"thumbs-up":["like","good","emotion"],"toggle-left":["on","off","switch"],"toggle-right":["on","off","switch"],tool:["settings","spanner"],trash:["garbage","delete","remove","bin"],"trash-2":["garbage","delete","remove","bin"],triangle:["delta"],truck:["delivery","van","shipping","transport","lorry"],tv:["television","stream"],twitch:["logo"],twitter:["logo","social"],type:["text"],umbrella:["rain","weather"],unlock:["security"],"user-check":["followed","subscribed"],"user-minus":["delete","remove","unfollow","unsubscribe"],"user-plus":["new","add","create","follow","subscribe"],"user-x":["delete","remove","unfollow","unsubscribe","unavailable"],user:["person","account"],users:["group"],"video-off":["camera","movie","film"],video:["camera","movie","film"],voicemail:["phone"],volume:["music","sound","mute"],"volume-1":["music","sound"],"volume-2":["music","sound"],"volume-x":["music","sound","mute"],watch:["clock","time"],"wifi-off":["disabled"],wifi:["connection","signal","wireless"],wind:["weather","air"],"x-circle":["cancel","close","delete","remove","times","clear"],"x-octagon":["delete","stop","alert","warning","times","clear"],"x-square":["cancel","close","delete","remove","times","clear"],x:["cancel","close","delete","remove","times","clear"],youtube:["logo","video","play"],"zap-off":["flash","camera","lightning"],zap:["flash","camera","lightning"],"zoom-in":["magnifying glass"],"zoom-out":["magnifying glass"]}},function(e){e.exports={activity:'',airplay:'',"alert-circle":'',"alert-octagon":'',"alert-triangle":'',"align-center":'',"align-justify":'',"align-left":'',"align-right":'',anchor:'',aperture:'',archive:'',"arrow-down-circle":'',"arrow-down-left":'',"arrow-down-right":'',"arrow-down":'',"arrow-left-circle":'',"arrow-left":'',"arrow-right-circle":'',"arrow-right":'',"arrow-up-circle":'',"arrow-up-left":'',"arrow-up-right":'',"arrow-up":'',"at-sign":'',award:'',"bar-chart-2":'',"bar-chart":'',"battery-charging":'',battery:'',"bell-off":'',bell:'',bluetooth:'',bold:'',"book-open":'',book:'',bookmark:'',box:'',briefcase:'',calendar:'',"camera-off":'',camera:'',cast:'',"check-circle":'',"check-square":'',check:'',"chevron-down":'',"chevron-left":'',"chevron-right":'',"chevron-up":'',"chevrons-down":'',"chevrons-left":'',"chevrons-right":'',"chevrons-up":'',chrome:'',circle:'',clipboard:'',clock:'',"cloud-drizzle":'',"cloud-lightning":'',"cloud-off":'',"cloud-rain":'',"cloud-snow":'',cloud:'',code:'',codepen:'',codesandbox:'',coffee:'',columns:'',command:'',compass:'',copy:'',"corner-down-left":'',"corner-down-right":'',"corner-left-down":'',"corner-left-up":'',"corner-right-down":'',"corner-right-up":'',"corner-up-left":'',"corner-up-right":'',cpu:'',"credit-card":'',crop:'',crosshair:'',database:'',delete:'',disc:'',"divide-circle":'',"divide-square":'',divide:'',"dollar-sign":'',"download-cloud":'',download:'',dribbble:'',droplet:'',"edit-2":'',"edit-3":'',edit:'',"external-link":'',"eye-off":'',eye:'',facebook:'',"fast-forward":'',feather:'',figma:'',"file-minus":'',"file-plus":'',"file-text":'',file:'',film:'',filter:'',flag:'',"folder-minus":'',"folder-plus":'',folder:'',framer:'',frown:'',gift:'',"git-branch":'',"git-commit":'',"git-merge":'',"git-pull-request":'',github:'',gitlab:'',globe:'',grid:'',"hard-drive":'',hash:'',headphones:'',heart:'',"help-circle":'',hexagon:'',home:'',image:'',inbox:'',info:'',instagram:'',italic:'',key:'',layers:'',layout:'',"life-buoy":'',"link-2":'',link:'',linkedin:'',list:'',loader:'',lock:'',"log-in":'',"log-out":'',mail:'',"map-pin":'',map:'',"maximize-2":'',maximize:'',meh:'',menu:'',"message-circle":'',"message-square":'',"mic-off":'',mic:'',"minimize-2":'',minimize:'',"minus-circle":'',"minus-square":'',minus:'',monitor:'',moon:'',"more-horizontal":'',"more-vertical":'',"mouse-pointer":'',move:'',music:'',"navigation-2":'',navigation:'',octagon:'',package:'',paperclip:'',"pause-circle":'',pause:'',"pen-tool":'',percent:'',"phone-call":'',"phone-forwarded":'',"phone-incoming":'',"phone-missed":'',"phone-off":'',"phone-outgoing":'',phone:'',"pie-chart":'',"play-circle":'',play:'',"plus-circle":'',"plus-square":'',plus:'',pocket:'',power:'',printer:'',radio:'',"refresh-ccw":'',"refresh-cw":'',repeat:'',rewind:'',"rotate-ccw":'',"rotate-cw":'',rss:'',save:'',scissors:'',search:'',send:'',server:'',settings:'',"share-2":'',share:'',"shield-off":'',shield:'',"shopping-bag":'',"shopping-cart":'',shuffle:'',sidebar:'',"skip-back":'',"skip-forward":'',slack:'',slash:'',sliders:'',smartphone:'',smile:'',speaker:'',square:'',star:'',"stop-circle":'',sun:'',sunrise:'',sunset:'',tablet:'',tag:'',target:'',terminal:'',thermometer:'',"thumbs-down":'',"thumbs-up":'',"toggle-left":'',"toggle-right":'',tool:'',"trash-2":'',trash:'',trello:'',"trending-down":'',"trending-up":'',triangle:'',truck:'',tv:'',twitch:'',twitter:'',type:'',umbrella:'',underline:'',unlock:'',"upload-cloud":'',upload:'',"user-check":'',"user-minus":'',"user-plus":'',"user-x":'',user:'',users:'',"video-off":'',video:'',voicemail:'',"volume-1":'',"volume-2":'',"volume-x":'',volume:'',watch:'',"wifi-off":'',wifi:'',wind:'',"x-circle":'',"x-octagon":'',"x-square":'',x:'',youtube:'',"zap-off":'',zap:'',"zoom-in":'',"zoom-out":''}},function(e){e.exports={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"}},function(e,n,i){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=Object.assign||function(e){for(var n=1;n2&&void 0!==arguments[2]?arguments[2]:[];!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,e),this.name=n,this.contents=i,this.tags=l,this.attrs=t({},o.default,{class:"feather feather-"+n})}return l(e,[{key:"toSvg",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return""+this.contents+""}},{key:"toString",value:function(){return this.contents}}]),e}();n.default=c},function(e,n,i){"use strict";var t=o(i(12)),l=o(i(39)),r=o(i(38));function o(e){return e&&e.__esModule?e:{default:e}}e.exports={icons:t.default,toSvg:l.default,replace:r.default}},function(e,n,i){e.exports=i(0)},function(e,n,i){var t=i(2)("iterator"),l=!1;try{var r=0,o={next:function(){return{done:!!r++}},return:function(){l=!0}};o[t]=function(){return this},Array.from(o,function(){throw 2})}catch(e){}e.exports=function(e,n){if(!n&&!l)return!1;var i=!1;try{var r={};r[t]=function(){return{next:function(){return{done:i=!0}}}},e(r)}catch(e){}return i}},function(e,n,i){var t=i(30),l=i(2)("toStringTag"),r="Arguments"==t(function(){return arguments}());e.exports=function(e){var n,i,o;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(i=function(e,n){try{return e[n]}catch(e){}}(n=Object(e),l))?i:r?t(n):"Object"==(o=t(n))&&"function"==typeof n.callee?"Arguments":o}},function(e,n,i){var t=i(47),l=i(9),r=i(2)("iterator");e.exports=function(e){if(void 0!=e)return e[r]||e["@@iterator"]||l[t(e)]}},function(e,n,i){"use strict";var t=i(18),l=i(7),r=i(10);e.exports=function(e,n,i){var o=t(n);o in e?l.f(e,o,r(0,i)):e[o]=i}},function(e,n,i){var t=i(2),l=i(9),r=t("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(l.Array===e||o[r]===e)}},function(e,n,i){var t=i(3);e.exports=function(e,n,i,l){try{return l?n(t(i)[0],i[1]):n(i)}catch(n){var r=e.return;throw void 0!==r&&t(r.call(e)),n}}},function(e,n){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},function(e,n,i){var t=i(52);e.exports=function(e,n,i){if(t(e),void 0===n)return e;switch(i){case 0:return function(){return e.call(n)};case 1:return function(i){return e.call(n,i)};case 2:return function(i,t){return e.call(n,i,t)};case 3:return function(i,t,l){return e.call(n,i,t,l)}}return function(){return e.apply(n,arguments)}}},function(e,n,i){"use strict";var t=i(53),l=i(24),r=i(51),o=i(50),a=i(27),c=i(49),p=i(48);e.exports=function(e){var n,i,y,h,x=l(e),s="function"==typeof this?this:Array,u=arguments.length,d=u>1?arguments[1]:void 0,f=void 0!==d,g=0,v=p(x);if(f&&(d=t(d,u>2?arguments[2]:void 0,2)),void 0==v||s==Array&&o(v))for(i=new s(n=a(x.length));n>g;g++)c(i,g,f?d(x[g],g):x[g]);else for(h=v.call(x),i=new s;!(y=h.next()).done;g++)c(i,g,f?r(h,d,[y.value,g],!0):y.value);return i.length=g,i}},function(e,n,i){var t=i(32),l=i(54);t({target:"Array",stat:!0,forced:!i(46)(function(e){Array.from(e)})},{from:l})},function(e,n,i){var t=i(6),l=i(3);e.exports=function(e,n){if(l(e),!t(n)&&null!==n)throw TypeError("Can't set "+String(n)+" as a prototype")}},function(e,n,i){var t=i(56);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,n=!1,i={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(i,[]),n=i instanceof Array}catch(e){}return function(i,l){return t(i,l),n?e.call(i,l):i.__proto__=l,i}}():void 0)},function(e,n,i){var t=i(0).document;e.exports=t&&t.documentElement},function(e,n,i){var t=i(28),l=i(13);e.exports=Object.keys||function(e){return t(e,l)}},function(e,n,i){var t=i(8),l=i(7),r=i(3),o=i(59);e.exports=t?Object.defineProperties:function(e,n){r(e);for(var i,t=o(n),a=t.length,c=0;a>c;)l.f(e,i=t[c++],n[i]);return e}},function(e,n,i){var t=i(3),l=i(60),r=i(13),o=i(15),a=i(58),c=i(34),p=i(16)("IE_PROTO"),y=function(){},h=function(){var e,n=c("iframe"),i=r.length;for(n.style.display="none",a.appendChild(n),n.src=String("javascript:"),(e=n.contentWindow.document).open(),e.write(" + + + """ + socialIcons = [ + {name = "twitter", url = "https://example.com"}, + {name = "linkedin", url = "https://example.com"}, + {name = "stackoverflow", url = "https://example.com"}, + {name = "dribbble", url = "https://example.com"}, + {name = "instagram", url = "https://example.com"}, + {name = "twitch", url = "https://example.com"}, + {name = "email", url = "mailto:example@example.com"} + ] + metaKeywords = ["blog", "gokarna", "hugo"] + +[menu] + [[menu.main]] + name = "Home" + pre = "" + url = "/" + weight = 1 + + [[menu.main]] + name = "Posts" + pre = "" + url = "/posts/" + weight = 2 + + [[menu.main]] + name = "Projects" + pre = "" + url = "/projects/" + weight = 3 + + [[menu.main]] + name = "Tags" + pre = "" + url = "/tags/" + weight = 4 + + [[menu.main]] + identifier = "github" + pre = "" + url = "https://github.com/526avijitgupta/gokarna" + weight = 5 + + [[menu.main]] + identifier = "buymeacoffee" + pre = "" + url = "https://www.buymeacoffee.com/avijitgupta" + weight = 6 + + [[menu.main]] + identifier = "rss" + pre = "" + url = "/index.xml" + weight = 7 + +[markup] + [markup.tableOfContents] + startLevel = 1 + endLevel = 4 + ordered = false diff --git a/themes/gokarna/exampleSite/content/posts/emoji-support.md b/themes/gokarna/exampleSite/content/posts/emoji-support.md new file mode 100644 index 0000000..d68dbbc --- /dev/null +++ b/themes/gokarna/exampleSite/content/posts/emoji-support.md @@ -0,0 +1,1273 @@ +--- +title: "Emoji Support" +date: 2020-10-01T17:55:28+08:00 +description: "Guide to emoji usage in Hugo and DoIt." +tags: ["emoji"] +type: post +weight: 25 +showTableOfContents: true +--- + +Emoji can be enabled in a Hugo project in a number of ways. + +The [`emojify`](https://gohugo.io/functions/emojify/) function can be called directly in templates or [Inline Shortcodes](https://gohugo.io/templates/shortcode-templates#inline-shortcodes). + +To enable emoji globally, set `enableEmoji` to `true` in your [site configuration](https://gohugo.io/getting-started/configuration/) and then you can type emoji shorthand codes directly in content files. + +These begin and end with a **colon** and include the **code** of an emoji: + +```markdown +Gone camping! {?:}tent: Be back soon. + +That is so funny! {?:}joy: +``` + +The rendered output looks like this: + +Gone camping! :tent: Be back soon. + +That is so funny! :joy: + +The following **cheat sheet** is a useful reference for emoji shorthand codes. + +## Smileys & Emotion + +### Face Smiling + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :grinning: | grinning | :smiley: | smiley | +| :smile: | smile | :grin: | grin | +| :laughing: | laughing
satisfied | :sweat_smile: | sweat_smile | +| :rofl: | rofl | :joy: | joy | +| :slightly_smiling_face: | slightly_smiling_face | :upside_down_face: | upside_down_face | +| :wink: | wink | :blush: | blush | +| :innocent: | innocent | | | + +### Face Affection + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :heart_eyes: | heart_eyes | :kissing_heart: | kissing_heart | +| :kissing: | kissing | :relaxed: | relaxed | +| :kissing_closed_eyes: | kissing_closed_eyes | :kissing_smiling_eyes: | kissing_smiling_eyes | + +### Face Tongue + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :yum: | yum | :stuck_out_tongue: | stuck_out_tongue | +| :stuck_out_tongue_winking_eye: | stuck_out_tongue_winking_eye | :stuck_out_tongue_closed_eyes: | stuck_out_tongue_closed_eyes | +| :money_mouth_face: | money_mouth_face | | | + +### Face Hand + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :hugs: | hugs | :thinking: | thinking | + +### Face Neutral Skeptical + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :zipper_mouth_face: | zipper_mouth_face | :neutral_face: | neutral_face | +| :expressionless: | expressionless | :no_mouth: | no_mouth | +| :smirk: | smirk | :unamused: | unamused | +| :roll_eyes: | roll_eyes | :grimacing: | grimacing | +| :lying_face: | lying_face | | | + +### Face Sleepy + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :relieved: | relieved | :pensive: | pensive | +| :sleepy: | sleepy | :drooling_face: | drooling_face | +| :sleeping: | sleeping | | | + +### Face Unwell + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :mask: | mask | :face_with_thermometer: | face_with_thermometer | +| :face_with_head_bandage: | face_with_head_bandage | :nauseated_face: | nauseated_face | +| :sneezing_face: | sneezing_face | :dizzy_face: | dizzy_face | + +### Face Hat + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :cowboy_hat_face: | cowboy_hat_face | | | + +### Face Glasses + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :sunglasses: | sunglasses | :nerd_face: | nerd_face | + +### Face Concerned + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :confused: | confused | :worried: | worried | +| :slightly_frowning_face: | slightly_frowning_face | :frowning_face: | frowning_face | +| :open_mouth: | open_mouth | :hushed: | hushed | +| :astonished: | astonished | :flushed: | flushed | +| :frowning: | frowning | :anguished: | anguished | +| :fearful: | fearful | :cold_sweat: | cold_sweat | +| :disappointed_relieved: | disappointed_relieved | :cry: | cry | +| :sob: | sob | :scream: | scream | +| :confounded: | confounded | :persevere: | persevere | +| :disappointed: | disappointed | :sweat: | sweat | +| :weary: | weary | :tired_face: | tired_face | + +### Face Negative + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :triumph: | triumph | :pout: | pout
rage | +| :angry: | angry | :smiling_imp: | smiling_imp | +| :imp: | imp | :skull: | skull | +| :skull_and_crossbones: | skull_and_crossbones | | | + +### Face Costume + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :hankey: | hankey
poop
shit | :clown_face: | clown_face | +| :japanese_ogre: | japanese_ogre | :japanese_goblin: | japanese_goblin | +| :ghost: | ghost | :alien: | alien | +| :space_invader: | space_invader | :robot: | robot | + +### Cat Face + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :smiley_cat: | smiley_cat | :smile_cat: | smile_cat | +| :joy_cat: | joy_cat | :heart_eyes_cat: | heart_eyes_cat | +| :smirk_cat: | smirk_cat | :kissing_cat: | kissing_cat | +| :scream_cat: | scream_cat | :crying_cat_face: | crying_cat_face | +| :pouting_cat: | pouting_cat | | | + +### Monkey Face + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :see_no_evil: | see_no_evil | :hear_no_evil: | hear_no_evil | +| :speak_no_evil: | speak_no_evil | | | + +### Emotion + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :kiss: | kiss | :love_letter: | love_letter | +| :cupid: | cupid | :gift_heart: | gift_heart | +| :sparkling_heart: | sparkling_heart | :heartpulse: | heartpulse | +| :heartbeat: | heartbeat | :revolving_hearts: | revolving_hearts | +| :two_hearts: | two_hearts | :heart_decoration: | heart_decoration | +| :heavy_heart_exclamation: | heavy_heart_exclamation | :broken_heart: | broken_heart | +| :heart: | heart | :yellow_heart: | yellow_heart | +| :green_heart: | green_heart | :blue_heart: | blue_heart | +| :purple_heart: | purple_heart | :black_heart: | black_heart | +| :100: | 100 | :anger: | anger | +| :boom: | boom
collision | :dizzy: | dizzy | +| :sweat_drops: | sweat_drops | :dash: | dash | +| :hole: | hole | :bomb: | bomb | +| :speech_balloon: | speech_balloon | :eye_speech_bubble: | eye_speech_bubble | +| :right_anger_bubble: | right_anger_bubble | :thought_balloon: | thought_balloon | +| :zzz: | zzz | | | + +## People & Body + +### Hand Fingers Open + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :wave: | wave | :raised_back_of_hand: | raised_back_of_hand | +| :raised_hand_with_fingers_splayed: | raised_hand_with_fingers_splayed | :hand: | hand
raised_hand | +| :vulcan_salute: | vulcan_salute | | | + +### Hand Fingers Partial + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :ok_hand: | ok_hand | :v: | v | +| :crossed_fingers: | crossed_fingers | :metal: | metal | +| :call_me_hand: | call_me_hand | | | + +### Hand Single Finger + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :point_left: | point_left | :point_right: | point_right | +| :point_up_2: | point_up_2 | :fu: | fu
middle_finger | +| :point_down: | point_down | :point_up: | point_up | + +### Hand Fingers Closed + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :+1: | +1
thumbsup | :-1: | -1
thumbsdown | +| :fist: | fist
fist_raised | :facepunch: | facepunch
fist_oncoming
punch | +| :fist_left: | fist_left | :fist_right: | fist_right | + +### Hands + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :clap: | clap | :raised_hands: | raised_hands | +| :open_hands: | open_hands | :handshake: | handshake | +| :pray: | pray | | | + +### Hand Prop + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :writing_hand: | writing_hand | :nail_care: | nail_care | +| :selfie: | selfie | | | + +### Body Parts + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :muscle: | muscle | :ear: | ear | +| :nose: | nose | :eyes: | eyes | +| :eye: | eye | :tongue: | tongue | +| :lips: | lips | | | + +### Person + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :baby: | baby | :boy: | boy | +| :girl: | girl | :blonde_man: | blonde_man
person_with_blond_hair | +| :man: | man | :woman: | woman | +| :blonde_woman: | blonde_woman | :older_man: | older_man | +| :older_woman: | older_woman | | | + +### Person Gesture + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :frowning_woman: | frowning_woman
person_frowning | :frowning_man: | frowning_man | +| :person_with_pouting_face: | person_with_pouting_face
pouting_woman | :pouting_man: | pouting_man | +| :ng_woman: | ng_woman
no_good
no_good_woman | :ng_man: | ng_man
no_good_man | +| :ok_woman: | ok_woman | :ok_man: | ok_man | +| :information_desk_person: | information_desk_person
sassy_woman
tipping_hand_woman | :sassy_man: | sassy_man
tipping_hand_man | +| :raising_hand: | raising_hand
raising_hand_woman | :raising_hand_man: | raising_hand_man | +| :bow: | bow
bowing_man | :bowing_woman: | bowing_woman | +| :man_facepalming: | man_facepalming | :woman_facepalming: | woman_facepalming | +| :man_shrugging: | man_shrugging | :woman_shrugging: | woman_shrugging | + +### Person Role + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :man_health_worker: | man_health_worker | :woman_health_worker: | woman_health_worker | +| :man_student: | man_student | :woman_student: | woman_student | +| :man_teacher: | man_teacher | :woman_teacher: | woman_teacher | +| :man_judge: | man_judge | :woman_judge: | woman_judge | +| :man_farmer: | man_farmer | :woman_farmer: | woman_farmer | +| :man_cook: | man_cook | :woman_cook: | woman_cook | +| :man_mechanic: | man_mechanic | :woman_mechanic: | woman_mechanic | +| :man_factory_worker: | man_factory_worker | :woman_factory_worker: | woman_factory_worker | +| :man_office_worker: | man_office_worker | :woman_office_worker: | woman_office_worker | +| :man_scientist: | man_scientist | :woman_scientist: | woman_scientist | +| :man_technologist: | man_technologist | :woman_technologist: | woman_technologist | +| :man_singer: | man_singer | :woman_singer: | woman_singer | +| :man_artist: | man_artist | :woman_artist: | woman_artist | +| :man_pilot: | man_pilot | :woman_pilot: | woman_pilot | +| :man_astronaut: | man_astronaut | :woman_astronaut: | woman_astronaut | +| :man_firefighter: | man_firefighter | :woman_firefighter: | woman_firefighter | +| :cop: | cop
policeman | :policewoman: | policewoman | +| :detective: | detective
male_detective | :female_detective: | female_detective | +| :guardsman: | guardsman | :guardswoman: | guardswoman | +| :construction_worker: | construction_worker
construction_worker_man | :construction_worker_woman: | construction_worker_woman | +| :prince: | prince | :princess: | princess | +| :man_with_turban: | man_with_turban | :woman_with_turban: | woman_with_turban | +| :man_with_gua_pi_mao: | man_with_gua_pi_mao | :man_in_tuxedo: | man_in_tuxedo | +| :bride_with_veil: | bride_with_veil | :pregnant_woman: | pregnant_woman | + +### Person Fantasy + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :angel: | angel | :santa: | santa | +| :mrs_claus: | mrs_claus | | | + +### Person Activity + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :massage: | massage
massage_woman | :massage_man: | massage_man | +| :haircut: | haircut
haircut_woman | :haircut_man: | haircut_man | +| :walking: | walking
walking_man | :walking_woman: | walking_woman | +| :runner: | runner
running
running_man | :running_woman: | running_woman | +| :dancer: | dancer | :man_dancing: | man_dancing | +| :business_suit_levitating: | business_suit_levitating | :dancers: | dancers
dancing_women | +| :dancing_men: | dancing_men | | | + +### Person Sport + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :person_fencing: | person_fencing | :horse_racing: | horse_racing | +| :skier: | skier | :snowboarder: | snowboarder | +| :golfing_man: | golfing_man | :golfing_woman: | golfing_woman | +| :surfer: | surfer
surfing_man | :surfing_woman: | surfing_woman | +| :rowboat: | rowboat
rowing_man | :rowing_woman: | rowing_woman | +| :swimmer: | swimmer
swimming_man | :swimming_woman: | swimming_woman | +| :basketball_man: | basketball_man | :basketball_woman: | basketball_woman | +| :weight_lifting_man: | weight_lifting_man | :weight_lifting_woman: | weight_lifting_woman | +| :bicyclist: | bicyclist
biking_man | :biking_woman: | biking_woman | +| :mountain_bicyclist: | mountain_bicyclist
mountain_biking_man | :mountain_biking_woman: | mountain_biking_woman | +| :man_cartwheeling: | man_cartwheeling | :woman_cartwheeling: | woman_cartwheeling | +| :men_wrestling: | men_wrestling | :women_wrestling: | women_wrestling | +| :man_playing_water_polo: | man_playing_water_polo | :woman_playing_water_polo: | woman_playing_water_polo | +| :man_playing_handball: | man_playing_handball | :woman_playing_handball: | woman_playing_handball | +| :man_juggling: | man_juggling | :woman_juggling: | woman_juggling | + +### Person Resting + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :bath: | bath | :sleeping_bed: | sleeping_bed | + +### Family + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :two_women_holding_hands: | two_women_holding_hands | :couple: | couple | +| :two_men_holding_hands: | two_men_holding_hands | :couplekiss_man_woman: | couplekiss_man_woman | +| :couplekiss_man_man: | couplekiss_man_man | :couplekiss_woman_woman: | couplekiss_woman_woman | +| :couple_with_heart: | couple_with_heart
couple_with_heart_woman_man | :couple_with_heart_man_man: | couple_with_heart_man_man | +| :couple_with_heart_woman_woman: | couple_with_heart_woman_woman | :family: | family
family_man_woman_boy | +| :family_man_woman_girl: | family_man_woman_girl | :family_man_woman_girl_boy: | family_man_woman_girl_boy | +| :family_man_woman_boy_boy: | family_man_woman_boy_boy | :family_man_woman_girl_girl: | family_man_woman_girl_girl | +| :family_man_man_boy: | family_man_man_boy | :family_man_man_girl: | family_man_man_girl | +| :family_man_man_girl_boy: | family_man_man_girl_boy | :family_man_man_boy_boy: | family_man_man_boy_boy | +| :family_man_man_girl_girl: | family_man_man_girl_girl | :family_woman_woman_boy: | family_woman_woman_boy | +| :family_woman_woman_girl: | family_woman_woman_girl | :family_woman_woman_girl_boy: | family_woman_woman_girl_boy | +| :family_woman_woman_boy_boy: | family_woman_woman_boy_boy | :family_woman_woman_girl_girl: | family_woman_woman_girl_girl | +| :family_man_boy: | family_man_boy | :family_man_boy_boy: | family_man_boy_boy | +| :family_man_girl: | family_man_girl | :family_man_girl_boy: | family_man_girl_boy | +| :family_man_girl_girl: | family_man_girl_girl | :family_woman_boy: | family_woman_boy | +| :family_woman_boy_boy: | family_woman_boy_boy | :family_woman_girl: | family_woman_girl | +| :family_woman_girl_boy: | family_woman_girl_boy | :family_woman_girl_girl: | family_woman_girl_girl | + +### Person Symbol + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :speaking_head: | speaking_head | :bust_in_silhouette: | bust_in_silhouette | +| :busts_in_silhouette: | busts_in_silhouette | :footprints: | footprints | + +## Animals & Nature + +### Animal Mammal + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :monkey_face: | monkey_face | :monkey: | monkey | +| :gorilla: | gorilla | :dog: | dog | +| :dog2: | dog2 | :poodle: | poodle | +| :wolf: | wolf | :fox_face: | fox_face | +| :cat: | cat | :cat2: | cat2 | +| :lion: | lion | :tiger: | tiger | +| :tiger2: | tiger2 | :leopard: | leopard | +| :horse: | horse | :racehorse: | racehorse | +| :unicorn: | unicorn | :deer: | deer | +| :cow: | cow | :ox: | ox | +| :water_buffalo: | water_buffalo | :cow2: | cow2 | +| :pig: | pig | :pig2: | pig2 | +| :boar: | boar | :pig_nose: | pig_nose | +| :ram: | ram | :sheep: | sheep | +| :goat: | goat | :dromedary_camel: | dromedary_camel | +| :camel: | camel | :elephant: | elephant | +| :rhinoceros: | rhinoceros | :mouse: | mouse | +| :mouse2: | mouse2 | :rat: | rat | +| :hamster: | hamster | :rabbit: | rabbit | +| :rabbit2: | rabbit2 | :chipmunk: | chipmunk | +| :bat: | bat | :bear: | bear | +| :koala: | koala | :panda_face: | panda_face | +| :feet: | feet
paw_prints | | | + +### Animal Bird + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :turkey: | turkey | :chicken: | chicken | +| :rooster: | rooster | :hatching_chick: | hatching_chick | +| :baby_chick: | baby_chick | :hatched_chick: | hatched_chick | +| :bird: | bird | :penguin: | penguin | +| :dove: | dove | :eagle: | eagle | +| :duck: | duck | :owl: | owl | + +### Animal Amphibian + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :frog: | frog | + +### Animal Reptile + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :crocodile: | crocodile | :turtle: | turtle | +| :lizard: | lizard | :snake: | snake | +| :dragon_face: | dragon_face | :dragon: | dragon | + +### Animal Marine + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :whale: | whale | :whale2: | whale2 | +| :dolphin: | dolphin
flipper | :fish: | fish | +| :tropical_fish: | tropical_fish | :blowfish: | blowfish | +| :shark: | shark | :octopus: | octopus | +| :shell: | shell | | | + +### Animal Bug + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :snail: | snail | :butterfly: | butterfly | +| :bug: | bug | :ant: | ant | +| :bee: | bee
honeybee | :beetle: | beetle | +| :spider: | spider | :spider_web: | spider_web | +| :scorpion: | scorpion | | | + +### Plant Flower + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :bouquet: | bouquet | :cherry_blossom: | cherry_blossom | +| :white_flower: | white_flower | :rosette: | rosette | +| :rose: | rose | :wilted_flower: | wilted_flower | +| :hibiscus: | hibiscus | :sunflower: | sunflower | +| :blossom: | blossom | :tulip: | tulip | + +### Plant Other + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :seedling: | seedling | :evergreen_tree: | evergreen_tree | +| :deciduous_tree: | deciduous_tree | :palm_tree: | palm_tree | +| :cactus: | cactus | :ear_of_rice: | ear_of_rice | +| :herb: | herb | :shamrock: | shamrock | +| :four_leaf_clover: | four_leaf_clover | :maple_leaf: | maple_leaf | +| :fallen_leaf: | fallen_leaf | :leaves: | leaves | + +## Food & Drink + +### Food Fruit + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :grapes: | grapes | :melon: | melon | +| :watermelon: | watermelon | :mandarin: | mandarin
orange
tangerine | +| :lemon: | lemon | :banana: | banana | +| :pineapple: | pineapple | :apple: | apple | +| :green_apple: | green_apple | :pear: | pear | +| :peach: | peach | :cherries: | cherries | +| :strawberry: | strawberry | :kiwi_fruit: | kiwi_fruit | +| :tomato: | tomato | | | + +### Food Vegetable + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :avocado: | avocado | :eggplant: | eggplant | +| :potato: | potato | :carrot: | carrot | +| :corn: | corn | :hot_pepper: | hot_pepper | +| :cucumber: | cucumber | :mushroom: | mushroom | +| :peanuts: | peanuts | :chestnut: | chestnut | + +### Food Prepared + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :bread: | bread | :croissant: | croissant | +| :baguette_bread: | baguette_bread | :pancakes: | pancakes | +| :cheese: | cheese | :meat_on_bone: | meat_on_bone | +| :poultry_leg: | poultry_leg | :bacon: | bacon | +| :hamburger: | hamburger | :fries: | fries | +| :pizza: | pizza | :hotdog: | hotdog | +| :taco: | taco | :burrito: | burrito | +| :stuffed_flatbread: | stuffed_flatbread | :egg: | egg | +| :fried_egg: | fried_egg | :shallow_pan_of_food: | shallow_pan_of_food | +| :stew: | stew | :green_salad: | green_salad | +| :popcorn: | popcorn | | | + +### Food Asian + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :bento: | bento | :rice_cracker: | rice_cracker | +| :rice_ball: | rice_ball | :rice: | rice | +| :curry: | curry | :ramen: | ramen | +| :spaghetti: | spaghetti | :sweet_potato: | sweet_potato | +| :oden: | oden | :sushi: | sushi | +| :fried_shrimp: | fried_shrimp | :fish_cake: | fish_cake | +| :dango: | dango | | | + +### Food Marine + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :crab: | crab | :shrimp: | shrimp | +| :squid: | squid | | | + +### Food Sweet + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :icecream: | icecream | :shaved_ice: | shaved_ice | +| :ice_cream: | ice_cream | :doughnut: | doughnut | +| :cookie: | cookie | :birthday: | birthday | +| :cake: | cake | :chocolate_bar: | chocolate_bar | +| :candy: | candy | :lollipop: | lollipop | +| :custard: | custard | :honey_pot: | honey_pot | + +### Drink + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :baby_bottle: | baby_bottle | :milk_glass: | milk_glass | +| :coffee: | coffee | :tea: | tea | +| :sake: | sake | :champagne: | champagne | +| :wine_glass: | wine_glass | :cocktail: | cocktail | +| :tropical_drink: | tropical_drink | :beer: | beer | +| :beers: | beers | :clinking_glasses: | clinking_glasses | +| :tumbler_glass: | tumbler_glass | | | + +### Dishware + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :plate_with_cutlery: | plate_with_cutlery | :fork_and_knife: | fork_and_knife | +| :spoon: | spoon | :hocho: | hocho
knife | +| :amphora: | amphora | | | + +## Travel & Places + +### Place Map + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :earth_africa: | earth_africa | :earth_americas: | earth_americas | +| :earth_asia: | earth_asia | :globe_with_meridians: | globe_with_meridians | +| :world_map: | world_map | :japan: | japan | + +### Place Geographic + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :mountain_snow: | mountain_snow | :mountain: | mountain | +| :volcano: | volcano | :mount_fuji: | mount_fuji | +| :camping: | camping | :beach_umbrella: | beach_umbrella | +| :desert: | desert | :desert_island: | desert_island | +| :national_park: | national_park | | | + +### Place Building + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :stadium: | stadium | :classical_building: | classical_building | +| :building_construction: | building_construction | :houses: | houses | +| :derelict_house: | derelict_house | :house: | house | +| :house_with_garden: | house_with_garden | :office: | office | +| :post_office: | post_office | :european_post_office: | european_post_office | +| :hospital: | hospital | :bank: | bank | +| :hotel: | hotel | :love_hotel: | love_hotel | +| :convenience_store: | convenience_store | :school: | school | +| :department_store: | department_store | :factory: | factory | +| :japanese_castle: | japanese_castle | :european_castle: | european_castle | +| :wedding: | wedding | :tokyo_tower: | tokyo_tower | +| :statue_of_liberty: | statue_of_liberty | | | + +### Place Religious + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :church: | church | :mosque: | mosque | +| :synagogue: | synagogue | :shinto_shrine: | shinto_shrine | +| :kaaba: | kaaba | | | + +### Place Other + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :fountain: | fountain | :tent: | tent | +| :foggy: | foggy | :night_with_stars: | night_with_stars | +| :cityscape: | cityscape | :sunrise_over_mountains: | sunrise_over_mountains | +| :sunrise: | sunrise | :city_sunset: | city_sunset | +| :city_sunrise: | city_sunrise | :bridge_at_night: | bridge_at_night | +| :hotsprings: | hotsprings | :carousel_horse: | carousel_horse | +| :ferris_wheel: | ferris_wheel | :roller_coaster: | roller_coaster | +| :barber: | barber | :circus_tent: | circus_tent | + +### Transport Ground + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :steam_locomotive: | steam_locomotive | :railway_car: | railway_car | +| :bullettrain_side: | bullettrain_side | :bullettrain_front: | bullettrain_front | +| :train2: | train2 | :metro: | metro | +| :light_rail: | light_rail | :station: | station | +| :tram: | tram | :monorail: | monorail | +| :mountain_railway: | mountain_railway | :train: | train | +| :bus: | bus | :oncoming_bus: | oncoming_bus | +| :trolleybus: | trolleybus | :minibus: | minibus | +| :ambulance: | ambulance | :fire_engine: | fire_engine | +| :police_car: | police_car | :oncoming_police_car: | oncoming_police_car | +| :taxi: | taxi | :oncoming_taxi: | oncoming_taxi | +| :car: | car
red_car | :oncoming_automobile: | oncoming_automobile | +| :blue_car: | blue_car | :truck: | truck | +| :articulated_lorry: | articulated_lorry | :tractor: | tractor | +| :racing_car: | racing_car | :motorcycle: | motorcycle | +| :motor_scooter: | motor_scooter | :bike: | bike | +| :kick_scooter: | kick_scooter | :busstop: | busstop | +| :motorway: | motorway | :railway_track: | railway_track | +| :oil_drum: | oil_drum | :fuelpump: | fuelpump | +| :rotating_light: | rotating_light | :traffic_light: | traffic_light | +| :vertical_traffic_light: | vertical_traffic_light | :stop_sign: | stop_sign | +| :construction: | construction | | | + +### Transport Water + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :anchor: | anchor | :boat: | boat
sailboat | +| :canoe: | canoe | :speedboat: | speedboat | +| :passenger_ship: | passenger_ship | :ferry: | ferry | +| :motor_boat: | motor_boat | :ship: | ship | + +### Transport Air + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :airplane: | airplane | :small_airplane: | small_airplane | +| :flight_departure: | flight_departure | :flight_arrival: | flight_arrival | +| :seat: | seat | :helicopter: | helicopter | +| :suspension_railway: | suspension_railway | :mountain_cableway: | mountain_cableway | +| :aerial_tramway: | aerial_tramway | :artificial_satellite: | artificial_satellite | +| :rocket: | rocket | | | + +### Hotel + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :bellhop_bell: | bellhop_bell | + +### Time + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :hourglass: | hourglass | :hourglass_flowing_sand: | hourglass_flowing_sand | +| :watch: | watch | :alarm_clock: | alarm_clock | +| :stopwatch: | stopwatch | :timer_clock: | timer_clock | +| :mantelpiece_clock: | mantelpiece_clock | :clock12: | clock12 | +| :clock1230: | clock1230 | :clock1: | clock1 | +| :clock130: | clock130 | :clock2: | clock2 | +| :clock230: | clock230 | :clock3: | clock3 | +| :clock330: | clock330 | :clock4: | clock4 | +| :clock430: | clock430 | :clock5: | clock5 | +| :clock530: | clock530 | :clock6: | clock6 | +| :clock630: | clock630 | :clock7: | clock7 | +| :clock730: | clock730 | :clock8: | clock8 | +| :clock830: | clock830 | :clock9: | clock9 | +| :clock930: | clock930 | :clock10: | clock10 | +| :clock1030: | clock1030 | :clock11: | clock11 | +| :clock1130: | clock1130 | | | + +### Sky & Weather + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :new_moon: | new_moon | :waxing_crescent_moon: | waxing_crescent_moon | +| :first_quarter_moon: | first_quarter_moon | :moon: | moon
waxing_gibbous_moon | +| :full_moon: | full_moon | :waning_gibbous_moon: | waning_gibbous_moon | +| :last_quarter_moon: | last_quarter_moon | :waning_crescent_moon: | waning_crescent_moon | +| :crescent_moon: | crescent_moon | :new_moon_with_face: | new_moon_with_face | +| :first_quarter_moon_with_face: | first_quarter_moon_with_face | :last_quarter_moon_with_face: | last_quarter_moon_with_face | +| :thermometer: | thermometer | :sunny: | sunny | +| :full_moon_with_face: | full_moon_with_face | :sun_with_face: | sun_with_face | +| :star: | star | :star2: | star2 | +| :stars: | stars | :milky_way: | milky_way | +| :cloud: | cloud | :partly_sunny: | partly_sunny | +| :cloud_with_lightning_and_rain: | cloud_with_lightning_and_rain | :sun_behind_small_cloud: | sun_behind_small_cloud | +| :sun_behind_large_cloud: | sun_behind_large_cloud | :sun_behind_rain_cloud: | sun_behind_rain_cloud | +| :cloud_with_rain: | cloud_with_rain | :cloud_with_snow: | cloud_with_snow | +| :cloud_with_lightning: | cloud_with_lightning | :tornado: | tornado | +| :fog: | fog | :wind_face: | wind_face | +| :cyclone: | cyclone | :rainbow: | rainbow | +| :closed_umbrella: | closed_umbrella | :open_umbrella: | open_umbrella | +| :umbrella: | umbrella | :parasol_on_ground: | parasol_on_ground | +| :zap: | zap | :snowflake: | snowflake | +| :snowman_with_snow: | snowman_with_snow | :snowman: | snowman | +| :comet: | comet | :fire: | fire | +| :droplet: | droplet | :ocean: | ocean | + +## Activities + +### Event + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :jack_o_lantern: | jack_o_lantern | :christmas_tree: | christmas_tree | +| :fireworks: | fireworks | :sparkler: | sparkler | +| :sparkles: | sparkles | :balloon: | balloon | +| :tada: | tada | :confetti_ball: | confetti_ball | +| :tanabata_tree: | tanabata_tree | :bamboo: | bamboo | +| :dolls: | dolls | :flags: | flags | +| :wind_chime: | wind_chime | :rice_scene: | rice_scene | +| :ribbon: | ribbon | :gift: | gift | +| :reminder_ribbon: | reminder_ribbon | :tickets: | tickets | +| :ticket: | ticket | | | + +### Award Medal + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :medal_military: | medal_military | :trophy: | trophy | +| :medal_sports: | medal_sports | :1st_place_medal: | 1st_place_medal | +| :2nd_place_medal: | 2nd_place_medal | :3rd_place_medal: | 3rd_place_medal | + +### Sport + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :soccer: | soccer | :baseball: | baseball | +| :basketball: | basketball | :volleyball: | volleyball | +| :football: | football | :rugby_football: | rugby_football | +| :tennis: | tennis | :bowling: | bowling | +| :cricket: | cricket | :field_hockey: | field_hockey | +| :ice_hockey: | ice_hockey | :ping_pong: | ping_pong | +| :badminton: | badminton | :boxing_glove: | boxing_glove | +| :martial_arts_uniform: | martial_arts_uniform | :goal_net: | goal_net | +| :golf: | golf | :ice_skate: | ice_skate | +| :fishing_pole_and_fish: | fishing_pole_and_fish | :running_shirt_with_sash: | running_shirt_with_sash | +| :ski: | ski | | | + +### Game + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :dart: | dart | :8ball: | 8ball | +| :crystal_ball: | crystal_ball | :video_game: | video_game | +| :joystick: | joystick | :slot_machine: | slot_machine | +| :game_die: | game_die | :spades: | spades | +| :hearts: | hearts | :diamonds: | diamonds | +| :clubs: | clubs | :black_joker: | black_joker | +| :mahjong: | mahjong | :flower_playing_cards: | flower_playing_cards | + +### Arts & Crafts + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :performing_arts: | performing_arts | :framed_picture: | framed_picture | +| :art: | art | | | + +## Objects + +### Clothing + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :eyeglasses: | eyeglasses | :dark_sunglasses: | dark_sunglasses | +| :necktie: | necktie | :shirt: | shirt
tshirt | +| :jeans: | jeans | :dress: | dress | +| :kimono: | kimono | :bikini: | bikini | +| :womans_clothes: | womans_clothes | :purse: | purse | +| :handbag: | handbag | :pouch: | pouch | +| :shopping: | shopping | :school_satchel: | school_satchel | +| :mans_shoe: | mans_shoe
shoe | :athletic_shoe: | athletic_shoe | +| :high_heel: | high_heel | :sandal: | sandal | +| :boot: | boot | :crown: | crown | +| :womans_hat: | womans_hat | :tophat: | tophat | +| :mortar_board: | mortar_board | :rescue_worker_helmet: | rescue_worker_helmet | +| :prayer_beads: | prayer_beads | :lipstick: | lipstick | +| :ring: | ring | :gem: | gem | + +### Sound + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :mute: | mute | :speaker: | speaker | +| :sound: | sound | :loud_sound: | loud_sound | +| :loudspeaker: | loudspeaker | :mega: | mega | +| :postal_horn: | postal_horn | :bell: | bell | +| :no_bell: | no_bell | | | + +### Music + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :musical_score: | musical_score | :musical_note: | musical_note | +| :notes: | notes | :studio_microphone: | studio_microphone | +| :level_slider: | level_slider | :control_knobs: | control_knobs | +| :microphone: | microphone | :headphones: | headphones | +| :radio: | radio | | | + +### Musical Instrument + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :saxophone: | saxophone | :guitar: | guitar | +| :musical_keyboard: | musical_keyboard | :trumpet: | trumpet | +| :violin: | violin | :drum: | drum | + +### Phone + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :iphone: | iphone | :calling: | calling | +| :phone: | phone
telephone | :telephone_receiver: | telephone_receiver | +| :pager: | pager | :fax: | fax | + +### Computer + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :battery: | battery | :electric_plug: | electric_plug | +| :computer: | computer | :desktop_computer: | desktop_computer | +| :printer: | printer | :keyboard: | keyboard | +| :computer_mouse: | computer_mouse | :trackball: | trackball | +| :minidisc: | minidisc | :floppy_disk: | floppy_disk | +| :cd: | cd | :dvd: | dvd | + +### Light & Video + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :movie_camera: | movie_camera | :film_strip: | film_strip | +| :film_projector: | film_projector | :clapper: | clapper | +| :tv: | tv | :camera: | camera | +| :camera_flash: | camera_flash | :video_camera: | video_camera | +| :vhs: | vhs | :mag: | mag | +| :mag_right: | mag_right | :candle: | candle | +| :bulb: | bulb | :flashlight: | flashlight | +| :izakaya_lantern: | izakaya_lantern
lantern | | | + +### Book Paper + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :notebook_with_decorative_cover: | notebook_with_decorative_cover | :closed_book: | closed_book | +| :book: | book
open_book | :green_book: | green_book | +| :blue_book: | blue_book | :orange_book: | orange_book | +| :books: | books | :notebook: | notebook | +| :ledger: | ledger | :page_with_curl: | page_with_curl | +| :scroll: | scroll | :page_facing_up: | page_facing_up | +| :newspaper: | newspaper | :newspaper_roll: | newspaper_roll | +| :bookmark_tabs: | bookmark_tabs | :bookmark: | bookmark | +| :label: | label | | | + +### Money + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :moneybag: | moneybag | :yen: | yen | +| :dollar: | dollar | :euro: | euro | +| :pound: | pound | :money_with_wings: | money_with_wings | +| :credit_card: | credit_card | :chart: | chart | + +### Mail + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :email: | email
envelope | :e-mail: | :e-mail: | +| :incoming_envelope: | incoming_envelope | :envelope_with_arrow: | envelope_with_arrow | +| :outbox_tray: | outbox_tray | :inbox_tray: | inbox_tray | +| :package: | package | :mailbox: | mailbox | +| :mailbox_closed: | mailbox_closed | :mailbox_with_mail: | mailbox_with_mail | +| :mailbox_with_no_mail: | mailbox_with_no_mail | :postbox: | postbox | +| :ballot_box: | ballot_box | | | + +### Writing + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :pencil2: | pencil2 | :black_nib: | black_nib | +| :fountain_pen: | fountain_pen | :pen: | pen | +| :paintbrush: | paintbrush | :crayon: | crayon | +| :memo: | memo
pencil | | | + +### Office + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :briefcase: | briefcase | :file_folder: | file_folder | +| :open_file_folder: | open_file_folder | :card_index_dividers: | card_index_dividers | +| :date: | date | :calendar: | calendar | +| :spiral_notepad: | spiral_notepad | :spiral_calendar: | spiral_calendar | +| :card_index: | card_index | :chart_with_upwards_trend: | chart_with_upwards_trend | +| :chart_with_downwards_trend: | chart_with_downwards_trend | :bar_chart: | bar_chart | +| :clipboard: | clipboard | :pushpin: | pushpin | +| :round_pushpin: | round_pushpin | :paperclip: | paperclip | +| :paperclips: | paperclips | :straight_ruler: | straight_ruler | +| :triangular_ruler: | triangular_ruler | :scissors: | scissors | +| :card_file_box: | card_file_box | :file_cabinet: | file_cabinet | +| :wastebasket: | wastebasket | | | + +### Lock + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :lock: | lock | :unlock: | unlock | +| :lock_with_ink_pen: | lock_with_ink_pen | :closed_lock_with_key: | closed_lock_with_key | +| :key: | key | :old_key: | old_key | + +### Tool + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :hammer: | hammer | :pick: | pick | +| :hammer_and_pick: | hammer_and_pick | :hammer_and_wrench: | hammer_and_wrench | +| :dagger: | dagger | :crossed_swords: | crossed_swords | +| :gun: | gun | :bow_and_arrow: | bow_and_arrow | +| :shield: | shield | :wrench: | wrench | +| :nut_and_bolt: | nut_and_bolt | :gear: | gear | +| :clamp: | clamp | :balance_scale: | balance_scale | +| :link: | link | :chains: | chains | + +### Science + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :alembic: | alembic | :microscope: | microscope | +| :telescope: | telescope | :satellite: | satellite | + +### Medical + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :syringe: | syringe | :pill: | pill | + +### Household + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :door: | door | :bed: | bed | +| :couch_and_lamp: | couch_and_lamp | :toilet: | toilet | +| :shower: | shower | :bathtub: | bathtub | +| :shopping_cart: | shopping_cart | | | + +### Other Object + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :smoking: | smoking | :coffin: | coffin | +| :funeral_urn: | funeral_urn | :moyai: | moyai | + +## Symbols + +### Transport Sign + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :atm: | atm | :put_litter_in_its_place: | put_litter_in_its_place | +| :potable_water: | potable_water | :wheelchair: | wheelchair | +| :mens: | mens | :womens: | womens | +| :restroom: | restroom | :baby_symbol: | baby_symbol | +| :wc: | wc | :passport_control: | passport_control | +| :customs: | customs | :baggage_claim: | baggage_claim | +| :left_luggage: | left_luggage | | | + +### Warning + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :warning: | warning | :children_crossing: | children_crossing | +| :no_entry: | no_entry | :no_entry_sign: | no_entry_sign | +| :no_bicycles: | no_bicycles | :no_smoking: | no_smoking | +| :do_not_litter: | do_not_litter | :non-potable_water: | :non-potable_water: | +| :no_pedestrians: | no_pedestrians | :no_mobile_phones: | no_mobile_phones | +| :underage: | underage | :radioactive: | radioactive | +| :biohazard: | biohazard | | | + +### Arrow + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :arrow_up: | arrow_up | :arrow_upper_right: | arrow_upper_right | +| :arrow_right: | arrow_right | :arrow_lower_right: | arrow_lower_right | +| :arrow_down: | arrow_down | :arrow_lower_left: | arrow_lower_left | +| :arrow_left: | arrow_left | :arrow_upper_left: | arrow_upper_left | +| :arrow_up_down: | arrow_up_down | :left_right_arrow: | left_right_arrow | +| :leftwards_arrow_with_hook: | leftwards_arrow_with_hook | :arrow_right_hook: | arrow_right_hook | +| :arrow_heading_up: | arrow_heading_up | :arrow_heading_down: | arrow_heading_down | +| :arrows_clockwise: | arrows_clockwise | :arrows_counterclockwise: | arrows_counterclockwise | +| :back: | back | :end: | end | +| :on: | on | :soon: | soon | +| :top: | top | | | + +### Religion + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :place_of_worship: | place_of_worship | :atom_symbol: | atom_symbol | +| :om: | om | :star_of_david: | star_of_david | +| :wheel_of_dharma: | wheel_of_dharma | :yin_yang: | yin_yang | +| :latin_cross: | latin_cross | :orthodox_cross: | orthodox_cross | +| :star_and_crescent: | star_and_crescent | :peace_symbol: | peace_symbol | +| :menorah: | menorah | :six_pointed_star: | six_pointed_star | + +### Zodiac + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :aries: | aries | :taurus: | taurus | +| :gemini: | gemini | :cancer: | cancer | +| :leo: | leo | :virgo: | virgo | +| :libra: | libra | :scorpius: | scorpius | +| :sagittarius: | sagittarius | :capricorn: | capricorn | +| :aquarius: | aquarius | :pisces: | pisces | +| :ophiuchus: | ophiuchus | | | + +### Av Symbol + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :twisted_rightwards_arrows: | twisted_rightwards_arrows | :repeat: | repeat | +| :repeat_one: | repeat_one | :arrow_forward: | arrow_forward | +| :fast_forward: | fast_forward | :next_track_button: | next_track_button | +| :play_or_pause_button: | play_or_pause_button | :arrow_backward: | arrow_backward | +| :rewind: | rewind | :previous_track_button: | previous_track_button | +| :arrow_up_small: | arrow_up_small | :arrow_double_up: | arrow_double_up | +| :arrow_down_small: | arrow_down_small | :arrow_double_down: | arrow_double_down | +| :pause_button: | pause_button | :stop_button: | stop_button | +| :record_button: | record_button | :cinema: | cinema | +| :low_brightness: | low_brightness | :high_brightness: | high_brightness | +| :signal_strength: | signal_strength | :vibration_mode: | vibration_mode | +| :mobile_phone_off: | mobile_phone_off | | | + +### Math + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :heavy_multiplication_x: | heavy_multiplication_x | :heavy_plus_sign: | heavy_plus_sign | +| :heavy_minus_sign: | heavy_minus_sign | :heavy_division_sign: | heavy_division_sign | + +### Punctuation + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :bangbang: | bangbang | :interrobang: | interrobang | +| :question: | question | :grey_question: | grey_question | +| :grey_exclamation: | grey_exclamation | :exclamation: | exclamation
heavy_exclamation_mark | +| :wavy_dash: | wavy_dash | | | + +### Currency + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :currency_exchange: | currency_exchange | :heavy_dollar_sign: | heavy_dollar_sign | + +### Keycap + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :hash: | hash | :asterisk: | asterisk | +| :zero: | zero | :one: | one | +| :two: | two | :three: | three | +| :four: | four | :five: | five | +| :six: | six | :seven: | seven | +| :eight: | eight | :nine: | nine | +| :keycap_ten: | keycap_ten | | | + +### Alphabet + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :capital_abcd: | capital_abcd | :abcd: | abcd | +| :1234: | 1234 | :symbols: | symbols | +| :abc: | abc | :a: | a | +| :ab: | ab | :b: | b | +| :cl: | cl | :cool: | cool | +| :free: | free | :information_source: | information_source | +| :id: | id | :m: | m | +| :new: | new | :ng: | ng | +| :o2: | o2 | :ok: | ok | +| :parking: | parking | :sos: | sos | +| :up: | up | :vs: | vs | +| :koko: | koko | :sa: | sa | +| :u6708: | u6708 | :u6709: | u6709 | +| :u6307: | u6307 | :ideograph_advantage: | ideograph_advantage | +| :u5272: | u5272 | :u7121: | u7121 | +| :u7981: | u7981 | :accept: | accept | +| :u7533: | u7533 | :u5408: | u5408 | +| :u7a7a: | u7a7a | :congratulations: | congratulations | +| :secret: | secret | :u55b6: | u55b6 | +| :u6e80: | u6e80 | | | + +### Geometric + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :red_circle: | red_circle | :large_blue_circle: | large_blue_circle | +| :black_circle: | black_circle | :white_circle: | white_circle | +| :black_large_square: | black_large_square | :white_large_square: | white_large_square | +| :black_medium_square: | black_medium_square | :white_medium_square: | white_medium_square | +| :black_medium_small_square: | black_medium_small_square | :white_medium_small_square: | white_medium_small_square | +| :black_small_square: | black_small_square | :white_small_square: | white_small_square | +| :large_orange_diamond: | large_orange_diamond | :large_blue_diamond: | large_blue_diamond | +| :small_orange_diamond: | small_orange_diamond | :small_blue_diamond: | small_blue_diamond | +| :small_red_triangle: | small_red_triangle | :small_red_triangle_down: | small_red_triangle_down | +| :diamond_shape_with_a_dot_inside: | diamond_shape_with_a_dot_inside | :radio_button: | radio_button | +| :white_square_button: | white_square_button | :black_square_button: | black_square_button | + +### Other Symbol + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :recycle: | recycle | :fleur_de_lis: | fleur_de_lis | +| :trident: | trident | :name_badge: | name_badge | +| :beginner: | beginner | :o: | o | +| :white_check_mark: | white_check_mark | :ballot_box_with_check: | ballot_box_with_check | +| :heavy_check_mark: | heavy_check_mark | :x: | x | +| :negative_squared_cross_mark: | negative_squared_cross_mark | :curly_loop: | curly_loop | +| :loop: | loop | :part_alternation_mark: | part_alternation_mark | +| :eight_spoked_asterisk: | eight_spoked_asterisk | :eight_pointed_black_star: | eight_pointed_black_star | +| :sparkle: | sparkle | :copyright: | copyright | +| :registered: | registered | :tm: | tm | + +## Flags + +### Common Flags + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :checkered_flag: | checkered_flag | :triangular_flag_on_post: | triangular_flag_on_post | +| :crossed_flags: | crossed_flags | :black_flag: | black_flag | +| :white_flag: | white_flag | :rainbow_flag: | rainbow_flag | + +### Country and Region Flags + +| icon | code | icon | code | +| :-: | - | :-: | - | +| :andorra: | andorra | :united_arab_emirates: | united_arab_emirates | +| :afghanistan: | afghanistan | :antigua_barbuda: | antigua_barbuda | +| :anguilla: | anguilla | :albania: | albania | +| :armenia: | armenia | :angola: | angola | +| :antarctica: | antarctica | :argentina: | argentina | +| :american_samoa: | american_samoa | :austria: | austria | +| :australia: | australia | :aruba: | aruba | +| :aland_islands: | aland_islands | :azerbaijan: | azerbaijan | +| :bosnia_herzegovina: | bosnia_herzegovina | :barbados: | barbados | +| :bangladesh: | bangladesh | :belgium: | belgium | +| :burkina_faso: | burkina_faso | :bulgaria: | bulgaria | +| :bahrain: | bahrain | :burundi: | burundi | +| :benin: | benin | :st_barthelemy: | st_barthelemy | +| :bermuda: | bermuda | :brunei: | brunei | +| :bolivia: | bolivia | :caribbean_netherlands: | caribbean_netherlands | +| :brazil: | brazil | :bahamas: | bahamas | +| :bhutan: | bhutan | :botswana: | botswana | +| :belarus: | belarus | :belize: | belize | +| :canada: | canada | :cocos_islands: | cocos_islands | +| :congo_kinshasa: | congo_kinshasa | :central_african_republic: | central_african_republic | +| :congo_brazzaville: | congo_brazzaville | :switzerland: | switzerland | +| :cote_divoire: | cote_divoire | :cook_islands: | cook_islands | +| :chile: | chile | :cameroon: | cameroon | +| :cn: | cn | :colombia: | colombia | +| :costa_rica: | costa_rica | :cuba: | cuba | +| :cape_verde: | cape_verde | :curacao: | curacao | +| :christmas_island: | christmas_island | :cyprus: | cyprus | +| :czech_republic: | czech_republic | :de: | de | +| :djibouti: | djibouti | :denmark: | denmark | +| :dominica: | dominica | :dominican_republic: | dominican_republic | +| :algeria: | algeria | :ecuador: | ecuador | +| :estonia: | estonia | :egypt: | egypt | +| :western_sahara: | western_sahara | :eritrea: | eritrea | +| :es: | es | :ethiopia: | ethiopia | +| :eu: | eu
european_union | :finland: | finland | +| :fiji: | fiji | :falkland_islands: | falkland_islands | +| :micronesia: | micronesia | :faroe_islands: | faroe_islands | +| :fr: | fr | :gabon: | gabon | +| :gb: | gb
uk | :grenada: | grenada | +| :georgia: | georgia | :french_guiana: | french_guiana | +| :guernsey: | guernsey | :ghana: | ghana | +| :gibraltar: | gibraltar | :greenland: | greenland | +| :gambia: | gambia | :guinea: | guinea | +| :guadeloupe: | guadeloupe | :equatorial_guinea: | equatorial_guinea | +| :greece: | greece | :south_georgia_south_sandwich_islands: | south_georgia_south_sandwich_islands | +| :guatemala: | guatemala | :guam: | guam | +| :guinea_bissau: | guinea_bissau | :guyana: | guyana | +| :hong_kong: | hong_kong | :honduras: | honduras | +| :croatia: | croatia | :haiti: | haiti | +| :hungary: | hungary | :canary_islands: | canary_islands | +| :indonesia: | indonesia | :ireland: | ireland | +| :israel: | israel | :isle_of_man: | isle_of_man | +| :india: | india | :british_indian_ocean_territory: | british_indian_ocean_territory | +| :iraq: | iraq | :iran: | iran | +| :iceland: | iceland | :it: | it | +| :jersey: | jersey | :jamaica: | jamaica | +| :jordan: | jordan | :jp: | jp | +| :kenya: | kenya | :kyrgyzstan: | kyrgyzstan | +| :cambodia: | cambodia | :kiribati: | kiribati | +| :comoros: | comoros | :st_kitts_nevis: | st_kitts_nevis | +| :north_korea: | north_korea | :kr: | kr | +| :kuwait: | kuwait | :cayman_islands: | cayman_islands | +| :kazakhstan: | kazakhstan | :laos: | laos | +| :lebanon: | lebanon | :st_lucia: | st_lucia | +| :liechtenstein: | liechtenstein | :sri_lanka: | sri_lanka | +| :liberia: | liberia | :lesotho: | lesotho | +| :lithuania: | lithuania | :luxembourg: | luxembourg | +| :latvia: | latvia | :libya: | libya | +| :morocco: | morocco | :monaco: | monaco | +| :moldova: | moldova | :montenegro: | montenegro | +| :madagascar: | madagascar | :marshall_islands: | marshall_islands | +| :macedonia: | macedonia | :mali: | mali | +| :myanmar: | myanmar | :mongolia: | mongolia | +| :macau: | macau | :northern_mariana_islands: | northern_mariana_islands | +| :martinique: | martinique | :mauritania: | mauritania | +| :montserrat: | montserrat | :malta: | malta | +| :mauritius: | mauritius | :maldives: | maldives | +| :malawi: | malawi | :mexico: | mexico | +| :malaysia: | malaysia | :mozambique: | mozambique | +| :namibia: | namibia | :new_caledonia: | new_caledonia | +| :niger: | niger | :norfolk_island: | norfolk_island | +| :nigeria: | nigeria | :nicaragua: | nicaragua | +| :netherlands: | netherlands | :norway: | norway | +| :nepal: | nepal | :nauru: | nauru | +| :niue: | niue | :new_zealand: | new_zealand | +| :oman: | oman | :panama: | panama | +| :peru: | peru | :french_polynesia: | french_polynesia | +| :papua_new_guinea: | papua_new_guinea | :philippines: | philippines | +| :pakistan: | pakistan | :poland: | poland | +| :st_pierre_miquelon: | st_pierre_miquelon | :pitcairn_islands: | pitcairn_islands | +| :puerto_rico: | puerto_rico | :palestinian_territories: | palestinian_territories | +| :portugal: | portugal | :palau: | palau | +| :paraguay: | paraguay | :qatar: | qatar | +| :reunion: | reunion | :romania: | romania | +| :serbia: | serbia | :ru: | ru | +| :rwanda: | rwanda | :saudi_arabia: | saudi_arabia | +| :solomon_islands: | solomon_islands | :seychelles: | seychelles | +| :sudan: | sudan | :sweden: | sweden | +| :singapore: | singapore | :st_helena: | st_helena | +| :slovenia: | slovenia | :slovakia: | slovakia | +| :sierra_leone: | sierra_leone | :san_marino: | san_marino | +| :senegal: | senegal | :somalia: | somalia | +| :suriname: | suriname | :south_sudan: | south_sudan | +| :sao_tome_principe: | sao_tome_principe | :el_salvador: | el_salvador | +| :sint_maarten: | sint_maarten | :syria: | syria | +| :swaziland: | swaziland | :turks_caicos_islands: | turks_caicos_islands | +| :chad: | chad | :french_southern_territories: | french_southern_territories | +| :togo: | togo | :thailand: | thailand | +| :tajikistan: | tajikistan | :tokelau: | tokelau | +| :timor_leste: | timor_leste | :turkmenistan: | turkmenistan | +| :tunisia: | tunisia | :tonga: | tonga | +| :tr: | tr | :trinidad_tobago: | trinidad_tobago | +| :tuvalu: | tuvalu | :taiwan: | taiwan | +| :tanzania: | tanzania | :ukraine: | ukraine | +| :uganda: | uganda | :us: | us | +| :uruguay: | uruguay | :uzbekistan: | uzbekistan | +| :vatican_city: | vatican_city | :st_vincent_grenadines: | st_vincent_grenadines | +| :venezuela: | venezuela | :british_virgin_islands: | british_virgin_islands | +| :us_virgin_islands: | us_virgin_islands | :vietnam: | vietnam | +| :vanuatu: | vanuatu | :wallis_futuna: | wallis_futuna | +| :samoa: | samoa | :kosovo: | kosovo | +| :yemen: | yemen | :mayotte: | mayotte | +| :south_africa: | south_africa | :zambia: | zambia | +| :zimbabwe: | zimbabwe | | | + diff --git a/themes/gokarna/exampleSite/content/posts/lorem-ipsum.md b/themes/gokarna/exampleSite/content/posts/lorem-ipsum.md new file mode 100644 index 0000000..7ccec06 --- /dev/null +++ b/themes/gokarna/exampleSite/content/posts/lorem-ipsum.md @@ -0,0 +1,49 @@ +--- +title: "Lorem Ipsum" +date: 2021-04-15T23:39:49+05:30 +tags: ["xyz", "def"] +type: "post" +image: "/images/lorem-ipsum/quick-fox.png" +showTableOfContents: false +--- + +# Heading 1 + +"Lorem ipsum dolor sit amet, consectetaur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum." + +This continues at length and variously. The text is not really Greek, but badly garbled Latin. It started life as extracted phrases from sections 1.10.32 and 1.10.33 of Cicero's "De Finibus Bonorum et Malorum" ("The Extremes of Good and Evil"), which read: + +## Heading 2 + +Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur? + +At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Temporibus autem quibusdam et aut officiis debitis aut rerum necessitatibus saepe eveniet ut et voluptates repudiandae sint et molestiae non recusandae. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat. + +### Heading 3 + +"Lorem ipsum dolor sit amet, consectetaur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum." + +This continues at length and variously. The text is not really Greek, but badly garbled Latin. It started life as extracted phrases from sections 1.10.32 and 1.10.33 of Cicero's "De Finibus Bonorum et Malorum" ("The Extremes of Good and Evil"), which read: + +Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur? + + +#### Heading 4 + +At ver +"Lorem ipsum dolor sit amet, consectetaur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum." + +This continues at length and variously. The text is not really Greek, but badly garbled Latin. It started life as extracted phrases from sections 1.10.32 and 1.10.33 of Cicero's "De Finibus Bonorum et Malorum" ("The Extremes of Good and Evil"), which read: + +Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur? + +##### Heading 5 + +At ver +"Lorem ipsum dolor sit amet, consectetaur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum." + +This continues at length and variously. The text is not really Greek, but badly garbled Latin. It started life as extracted phrases from sections 1.10.32 and 1.10.33 of Cicero's "De Finibus Bonorum et Malorum" ("The Extremes of Good and Evil"), which read: + +Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur? + +At ver diff --git a/themes/gokarna/exampleSite/content/posts/markdown-syntax.md b/themes/gokarna/exampleSite/content/posts/markdown-syntax.md new file mode 100644 index 0000000..286878a --- /dev/null +++ b/themes/gokarna/exampleSite/content/posts/markdown-syntax.md @@ -0,0 +1,128 @@ +--- +title: "Markdown Syntax Guide" +date: 2019-06-19 +description: "Sample article showcasing basic Markdown syntax and formatting for HTML elements." +tags: ["markdown", "css", "html"] +type: post +weight: 20 +showTableOfContents: true +--- + +This article offers a sample of basic Markdown syntax that can be used in Hugo content files, also it shows whether basic HTML elements are decorated with CSS in a Hugo theme. + + +# Headings + +The following HTML `

`—`

` elements represent six levels of section headings. `

` is the highest section level while `

` is the lowest. + +# H1 +## H2 +### H3 +#### H4 +##### H5 +###### H6 + +## Paragraph + +Xerum, quo qui aut unt expliquam qui dolut labo. Aque venitatiusda cum, voluptionse latur sitiae dolessi aut parist aut dollo enim qui voluptate ma dolestendit peritin re plis aut quas inctum laceat est volestemque commosa as cus endigna tectur, offic to cor sequas etum rerum idem sintibus eiur? Quianimin porecus evelectur, cum que nis nust voloribus ratem aut omnimi, sitatur? Quiatem. Nam, omnis sum am facea corem alique molestrunt et eos evelece arcillit ut aut eos eos nus, sin conecerem erum fuga. Ri oditatquam, ad quibus unda veliamenimin cusam et facea ipsamus es exerum sitate dolores editium rerore eost, temped molorro ratiae volorro te reribus dolorer sperchicium faceata tiustia prat. + +Itatur? Quiatae cullecum rem ent aut odis in re eossequodi nonsequ idebis ne sapicia is sinveli squiatum, core et que aut hariosam ex eat. + +## Blockquotes + +The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a `footer` or `cite` element, and optionally with in-line changes such as annotations and abbreviations. + +#### Blockquote without attribution + +> Tiam, ad mint andaepu dandae nostion secatur sequo quae. +> **Note** that you can use *Markdown syntax* within a blockquote. + +#### Blockquote with attribution + +> Don't communicate by sharing memory, share memory by communicating.
+> — Rob Pike[^1] + +[^1]: The above quote is excerpted from Rob Pike's [talk](https://www.youtube.com/watch?v=PAAkCSZUG1c) during Gopherfest, November 18, 2015. + +## Tables + +Tables aren't part of the core Markdown spec, but Hugo supports them out-of-the-box. + + Name | Age +--------|------ + Bob | 27 + Alice | 23 + +#### Inline Markdown within tables + +| Italics | Bold | Code | +| -------- | -------- | ------ | +| *italics* | **bold** | `code` | + +## Code Blocks + +#### Code block with backticks + +```html + + + + + Example HTML5 Document + + +

Test

+ + +``` + +#### Code block indented with four spaces + + + + + + Example HTML5 Document + + +

Test

+ + + +#### Code block with Hugo's internal highlight shortcode +{{< highlight html >}} + + + + + Example HTML5 Document + + +

Test

+ + +{{< /highlight >}} + +## List Types + +#### Ordered List + +1. First item +2. Second item +3. Third item + +#### Unordered List + +* List item +* Another item +* And another item + +#### Nested list + +* Fruit + * Apple + * Orange + * Banana +* Dairy + * Milk + * Cheese diff --git a/themes/gokarna/exampleSite/content/posts/theme-documentation-advanced.md b/themes/gokarna/exampleSite/content/posts/theme-documentation-advanced.md new file mode 100644 index 0000000..aac7af4 --- /dev/null +++ b/themes/gokarna/exampleSite/content/posts/theme-documentation-advanced.md @@ -0,0 +1,290 @@ +--- +weight: 15 +title: "Theme Documentation - Advanced" +date: 2020-05-06T21:29:01+08:00 +description: "Discover how to maximise Gokarna's potential" +tags: ["installation", "configuration", "markdown"] +type: post +showTableOfContents: true +--- + +Gokarna is an opinionated theme with a focus on minimalism and simplicity. + +## Content Types + +This theme supports two types of content types: `post` and `page`. To specify them, you need to add them in your markdown metadata. + +### Post + +This is the default blog post type which will be shown in your "Posts" section and who's tags will be indexed. Basically, a normal blog post. + +```markdown +--- +title: "Hello, world!" +date: 2021-01-01 +description: "A blog post" +image: "/path/to/image.png" +type: "post" +tags: ["blog"] +--- + +# Hello World! +This is my blog. +``` + +### Page + +We introduced this type to distinguish between blog posts and normal markdown pages. The reason to create this was to give the user complete freedom in creating their website. You can use this to create a portfolio of your projects or showcase your designs. The possibilites are endless and the choice is yours. + +```markdown +--- +title: "Hello, world!" +image: "/path/to/image.png" +type: "page" +--- + +# Projects +Keep an eye on this space for my upcoming projects +``` + +### Table of Contents + +To show `Table of Contents`, update your config by adding +```toml +[markup] + [markup.tableOfContents] + startLevel = 1 + endLevel = 3 + ordered = false +``` + +And then on each page add the attribute `showTableOfContents: true` **(Note: It is disabled by default)** + +```markdown +--- +title: "Hello, world!" +image: "/path/to/image.png" +type: "page" +showTableOfContents: true +--- +``` + +Detailed configuration can be found on [Hugo's official documentation](https://gohugo.io/getting-started/configuration-markup/#table-of-contents) + +## Weights + +The `weight` attribute can be added in the markdown metadata for `post` types. We have an option in our config.toml: `params.showPostsOnHomePage` which allows you to: + +1. Show popular posts on home page if the value is set to `popular`. It sorts the all the posts by it's weight attribute in ascending order. +2. Show recent posts on home page if the value is set to `recent` +3. Do not show anything if the variable is unset or an empty string. + +## Homepage + +### About description text + +In extension to the basic configuration with the `description` field, it's also possible to write the about section using markdown. +Create a file called `index-about.md` in the `content` directory and write your content there. + +> **Attention**: Don't use frontmatter in this file. It would also render it. + +```markdown +# Gokarna +Gokarna is a small temple town located in the Uttara Kannada district of Karnataka state in southern India. + +## Beaches +Something about beaches, **which is *very* important**. + +- every +- beach +- is beautiful +``` + +Having the above about section in place, results in the following homepage: + +![Markdown about description](/images/theme-documentation-advanced/homepage-markdown-about-description.png "Markdown about description") + + +## Icons +Gokarna supports popular social media icons (Github, Linkedin, Twitter, StackOverflow, Dribbble, etc.) out of the box. See full list of supported icons [here](https://github.com/526avijitgupta/gokarna/tree/main/static/icons). + +### Icons on homepage + +To display icons on the homepage, simply update the `socialIcons` config param with a list of name and url of each icon. The specified `name` should exactly match one of the names from [here](https://github.com/526avijitgupta/gokarna/tree/main/static/icons). +If you want to add more icons, you can download the svg directly from [here](https://simpleicons.org/) and place them in your local icons directory (`/static/icons/`) + +```toml + [params] + socialIcons = [ + {name = "twitter", url = "https://example.com"}, + {name = "linkedin", url = "https://example.com"}, + {name = "stackoverflow", url = "https://example.com"}, + ] +``` + +Preview: + +![Icons on homepage Preview](/images/theme-documentation-advanced/icons-homepage-preview.png "Icons on homepage Preview") + + +### Icons in header + +[Feather](https://feathericons.com) icons has a comprehensive list of icons which are more general purpose and not limited to social media. +Therefore, we use feather as an additional source of icons. Here is an example of how to add custom icons in the header using feather: + +```toml + [[menu.main]] + identifier = "github" + url = "https://github.com" + weight = 3 + # Using feather-icons + pre = "" +``` + +The same icon in this case could also be added without feather: + +```toml + [[menu.main]] + identifier = "github" + url = "https://www.buymeacoffee.com/" + weight = 3 + # Without using feather-icons + pre = "" +``` + + +## Custom Head and Footer HTML + +The goal of this feature is to give the user more control over the theme. It's functioning is very straightforward - "You can inject any HTML you want in the `` tag" . This may seem simple at first, but it opens up a lot of possibilities. + +### Bring your own scripts + +Add your own JavaScript or CSS by putting them in the `static/` folder and importing them into your HTML. + +```toml +[params] + customHeadHTML = ''' + + + ''' + customFooterHTML = ''' +
Comment SDK Integration
+ + + ''' +``` + +### Analytics + +Integration with any analytics tool: This was a personal pet peeve. User privacy is our primary concern and this meant not using Google Analytics or any of the popular tools. + +We preferred privacy friendly tools like [Umami](https://umami.is/) & [Fathom Analytics](https://usefathom.com/), but the downside was that no theme supported them out of the box which led to either changing the theme source code or contributing supporting code to the original theme (both of which are good ways to extend the theme, but not our ideal choice) + +Giving users the freedom to add anything in the HTML via config.toml seemed like an elegant way to solve the problem. + +```toml +[params] + customHeadHTML = ''' + + ''' +``` + +### Katex + +Katex is a math typesetting library for the web which lets you write beautiful equations. To use it, add the javascript as mentioned in [their documentation](https://katex.org/docs/browser.html) in our `params.customHeadHTML`. + +```toml +[params] + customHeadHTML = ''' + + + + + ''' +``` + +> Note: Make sure you use the latest version of katex and use the correct script tags as described in [their documentation](https://katex.org/docs/browser.html) + +Then the equation `$$y_t = \beta_0 + \beta_1 x_t + \epsilon_t$$` wrapped by double `$$` would be displayed as: + + $$y_t = \beta_0 + \beta_1 x_t + \epsilon_t$$ + +The equation `$y_t = \beta_0 + \beta_1 x_t + \epsilon_t$` wrapped by single `$` would be displayed inline as $y_t = \beta_0 + \beta_1 x_t + \epsilon_t$. + +### Comments + +Integration with any comments SDK is possible. All you have to do is add the relevant HTML/JavaScript in the `customFooterHTML` param. + +An example with commento: + +```toml +[params] + customFooterHTML = ''' +
+ + + ''' +``` + + +## Syntax Highlighting + +Hugo lets you choose the color scheme for the codeblocks. You can choose from the options here: https://xyproto.github.io/splash/docs/all.html + +After choosing your theme, just update the `pygmentsStyle` attribute in config.toml. + +```toml +pygmentsStyle = "monokai" +``` + +You can read more about syntax highlighting on the [official hugo docs](https://gohugo.io/content-management/syntax-highlighting/). + +## Site Metadata + +Gokarna enables you to improve the SEO performance of your website with minimal effort. + +### Image preview + +We make sure your pages are social media ready. + +![Social Media Preview](/images/theme-documentation-advanced/preview.png "Social Media Preview") + +```markdown +--- +title: "Hello, world!" +image: "/path/to/image.png" +--- +``` + +> Note: If no image is specified in the markdown metadata, the site avatar is automatically used instead. + +### SEO keywords + +The keywords relevant for SEO are composed of the page `tags` as defined below: + +```markdown +--- +title: "Hello, world!" +tags: ["hello", "world"] +--- +``` + +and the `metaKeywords` specified in the config.toml: + +```markdown +[params] + metaKeywords = ["blog", "gokarna", "hugo"] +``` diff --git a/themes/gokarna/exampleSite/content/posts/theme-documentation-basics.md b/themes/gokarna/exampleSite/content/posts/theme-documentation-basics.md new file mode 100644 index 0000000..278806d --- /dev/null +++ b/themes/gokarna/exampleSite/content/posts/theme-documentation-basics.md @@ -0,0 +1,272 @@ +--- +weight: 10 +title: "Theme Documentation - Basics" +date: 2020-03-06T21:29:01+08:00 +description: "A guide to getting started with Gokarna" +tags: ["installation", "configuration", "markdown"] +type: post +showTableOfContents: true +--- + +Gokarna is an opinionated theme with a focus on minimalism and simplicity. + +## Installation + +The following steps are here to help you initialize your new website. If you don’t know Hugo at all, we strongly suggest you learn more about it by following this [great documentation for beginners](https://gohugo.io/getting-started/quick-start/). + +### a. Create Your Project + +Hugo provides a `new` command to create a new website: + +```bash +hugo new site my_website +cd my_website +``` + +### b. Install the Theme + +The theme’s repository is: [https://github.com/526avijitgupta/gokarna](https://github.com/526avijitgupta/gokarna). + +You can download the [latest release :books: .zip file](https://github.com/526avijitgupta/gokarna/releases) of the theme and extract it in the `themes` directory. + +Alternatively, clone this repository to the `themes` directory: + +```bash +git clone https://github.com/526avijitgupta/gokarna.git themes/gokarna +``` + +Or, create an empty git repository and make this repository a submodule of your site directory: + +```bash +git init +git submodule add https://github.com/526avijitgupta/gokarna.git themes/gokarna +``` + +### c. Basic Configuration {#basic-configuration} + +The following is a basic configuration for the gokarna theme: + +```toml +baseURL = "http://example.org/" +defaultContentLanguage = "en" +languageCode = "en" + +title = "My New Hugo Site" + +theme = "gokarna" + +# Automatically generate robots.txt +enableRobotsTXT = true + +[menu] + [[menu.main]] + # Unique identifier for a menu item + identifier = "posts" + + url = "/posts/" + + # You can add extra information before the name (HTML format is supported), such as icons + pre = "" + + # You can add extra information after the name (HTML format is supported), such as icons + post = "" + + # Display name + name = "Posts" + + # Weights are used to determine the ordering + weight = 1 + + [[menu.main]] + identifier = "tags" + name = "Tags" + url = "/tags/" + weight = 2 + + [[menu.main]] + identifier = "github" + url = "https://github.com" + weight = 3 + + # We use feather-icons: https://feathericons.com/ + pre = "" +``` + + +### d. Create Your First Post + +Here is the way to create your first post: + +```bash +hugo new posts/first_post.md +``` + +Feel free to edit the post file by adding some sample content and replacing the title value in the beginning of the file. + +For posts you need to add `type: "post"` in the markdown metadata. We currently support 2 types of content: + +1. Post (`type: "post"`): A normal blog-post with tags, date, & content. +2. Page (`type: "page"`): A standalone content page that will just render the markdown you wrote. You can use it to write custom pages which should not be a part of posts. Like showing your projects portfolio. You can read in detail about this on the [Theme Documentation - Advanced](/posts/theme-documentation-advanced/#content-types) page. + +### e. Launching the Website Locally + +Launch by using the following command: + +```bash +hugo serve +``` + +Go to `http://localhost:1313`. + +### f. Build the Website + +When your site is ready to deploy, run the following command: + +```bash +hugo +``` + +A `public` folder will be generated, containing all static content and assets for your website. It can now be deployed on any web server. + +The website can be automatically published and hosted with [Netlify](https://www.netlify.com/), [AWS Amplify](https://gohugo.io/hosting-and-deployment/hosting-on-aws-amplify/), [Github pages](https://gohugo.io/hosting-and-deployment/hosting-on-github/), [Render](https://gohugo.io/hosting-and-deployment/hosting-on-render/) and more... + +## Configuration + +In addition to [Hugo global configuration](https://gohugo.io/overview/configuration/) and [menu configuration](#basic-configuration), **gokarna** lets you define the following parameters in your site configuration (here is a `config.toml`, whose values are default). + +```toml +[params] + # URL for the avatar on homepage + avatarURL = "" + + # Choose one of size-xs, size-s, size-m, size-l & size-xl. (Default: size-m) + avatarSize = "" + + # Description to display on homepage + description = "Sky above, sand below & peace within" + + # Accent color is displayed when you hover over tags + accentColor = "#FF4D4D" + + # You can use this to inject any HTML in the tag. + # Ideal usecase for this is to import custom js/css or add your analytics snippet + customHeadHTML = "" + + # Keywords relevant for SEO + metaKeywords = ["blog", "gokarna", "hugo"] + + # If you want to display posts on the homepage, the options are + # "popular" (order posts by weight), "recent" (order posts by date) + # or "" (do not display, default option) + showPostsOnHomePage = "" + + # Footer text + footer = "The Marauders" +``` + +### Avatar URL + +This is the image url for the avatar on the homepage and the header. + +```toml +[params] + avatarURL = "/images/avatar.jpg" +``` + +### Avatar Size + +You have an option to change the avatar size on the homepage. Options are: `size-xs`, `size-s`, `size-m`, `size-l` & `size-xl`. (Default: `size-m`) + +```toml +[params] + avatarSize = "size-l" +``` + +### Description + +Description to display on homepage below the title and avatar. +```toml +[params] + description = "Hello, world!" +``` + +### Accent Color + +Accent color is displayed when you hover over `` tags. It takes a hex/rgb color code. Default is `#FF4D4D` + +```toml +[params] + accentColor = "#08F" +``` + +### Posts on home page + +If you want to display posts on the homepage, the options are: + +- `popular`: Show popular posts on home page if the value is set to popular. It sorts the all the posts by it’s weight attribute in ascending order. Read more about it [here](/posts/theme-documentation-advanced/#weights). +- `recent`: Show recent posts on home page if the value is set to recent +- Do not show anything if the variable is unset or an empty string. + +```toml +[params] + showPostsOnHomePage = "popular" +``` + +### Footer + +Text to display in the footer section + +```toml +[params] + footer = "Text in footer" +``` + +### Previous and Next buttons + +At the bottom of a post, show the previous and next post chronologically. + +**Warning**: Not compatible with the `.Weight` parameter. + +If any post YAML contains `weight:`, the posts will not appear by Date. See [Hugo's default sort](https://gohugo.io/templates/lists#default-weight--date--linktitle--filepath). + +```toml +[params] + togglePreviousAndNextButtons = "true" +``` + +### Displaying content on the homepage + +Content to display on homepage below the social icons, using the contents of `content/_index.md`. + +### Custom Head HTML + +You can add custom HTML in head section + +```toml +[params] + customHeadHTML = "" +``` + +Read more in the advanced section [here](/posts/theme-documentation-advanced/#custom-head-html) + +### robots.txt + +Automatically generate robots.txt + +```toml +enableRobotsTXT = true +``` + +### Favicons, Browserconfig, Manifest + +It is recommended to put your own favicons: + +* apple-touch-icon.png (180x180) +* favicon-32x32.png (32x32) +* favicon-16x16.png (16x16) +* mstile-150x150.png (150x150) +* android-chrome-192x192.png (192x192) +* android-chrome-512x512.png (512x512) + +into `/static` directory. They’re easily created via [favicon.io](https://favicon.io) or [realfavicongenerator.net](https://realfavicongenerator.net/). + diff --git a/themes/gokarna/exampleSite/content/projects/_index.md b/themes/gokarna/exampleSite/content/projects/_index.md new file mode 100644 index 0000000..b9149e4 --- /dev/null +++ b/themes/gokarna/exampleSite/content/projects/_index.md @@ -0,0 +1,11 @@ +--- +title: "Projects" +type: page +--- + + +### Hello my projects are + +1. [Tatooine](/projects/tatooine/) +2. [Hydra](/projects/hydra/) +3. [Bludhaven](/projects/bludhaven/) diff --git a/themes/gokarna/exampleSite/content/projects/bludhaven.md b/themes/gokarna/exampleSite/content/projects/bludhaven.md new file mode 100644 index 0000000..dadb84f --- /dev/null +++ b/themes/gokarna/exampleSite/content/projects/bludhaven.md @@ -0,0 +1,8 @@ +--- +title: Blüdhaven +type: page +--- + +### History + +Blüdhaven was a former whaling town, which was officially incorporated as a "Commonwealth" in 1912. The town had a generally poor socio-economic populace, owing in part to failed efforts to transform itself into a manufacturing and shipping center. diff --git a/themes/gokarna/exampleSite/content/projects/hydra.md b/themes/gokarna/exampleSite/content/projects/hydra.md new file mode 100644 index 0000000..7c6495d --- /dev/null +++ b/themes/gokarna/exampleSite/content/projects/hydra.md @@ -0,0 +1,8 @@ +--- +title: Hydra +type: page +--- + +### Motto + +Cut off one head and two will take their place diff --git a/themes/gokarna/exampleSite/content/projects/tatooine.md b/themes/gokarna/exampleSite/content/projects/tatooine.md new file mode 100644 index 0000000..80b2132 --- /dev/null +++ b/themes/gokarna/exampleSite/content/projects/tatooine.md @@ -0,0 +1,8 @@ +--- +title: Tatooine +type: page +--- + +### A long time ago in a galaxy far, far away.... + +A project was planned, but never completed diff --git a/themes/gokarna/exampleSite/static/android-chrome-192x192.png b/themes/gokarna/exampleSite/static/android-chrome-192x192.png new file mode 100644 index 0000000..6b04600 Binary files /dev/null and b/themes/gokarna/exampleSite/static/android-chrome-192x192.png differ diff --git a/themes/gokarna/exampleSite/static/android-chrome-512x512.png b/themes/gokarna/exampleSite/static/android-chrome-512x512.png new file mode 100644 index 0000000..e0c4ef0 Binary files /dev/null and b/themes/gokarna/exampleSite/static/android-chrome-512x512.png differ diff --git a/themes/gokarna/exampleSite/static/apple-touch-icon.png b/themes/gokarna/exampleSite/static/apple-touch-icon.png new file mode 100644 index 0000000..72eda5e Binary files /dev/null and b/themes/gokarna/exampleSite/static/apple-touch-icon.png differ diff --git a/themes/gokarna/exampleSite/static/favicon-16x16.png b/themes/gokarna/exampleSite/static/favicon-16x16.png new file mode 100644 index 0000000..0f96930 Binary files /dev/null and b/themes/gokarna/exampleSite/static/favicon-16x16.png differ diff --git a/themes/gokarna/exampleSite/static/favicon-32x32.png b/themes/gokarna/exampleSite/static/favicon-32x32.png new file mode 100644 index 0000000..15c8698 Binary files /dev/null and b/themes/gokarna/exampleSite/static/favicon-32x32.png differ diff --git a/themes/gokarna/exampleSite/static/favicon.ico b/themes/gokarna/exampleSite/static/favicon.ico new file mode 100644 index 0000000..9c8c79e Binary files /dev/null and b/themes/gokarna/exampleSite/static/favicon.ico differ diff --git a/themes/gokarna/exampleSite/static/images/avatar.webp b/themes/gokarna/exampleSite/static/images/avatar.webp new file mode 100644 index 0000000..d625024 Binary files /dev/null and b/themes/gokarna/exampleSite/static/images/avatar.webp differ diff --git a/themes/gokarna/exampleSite/static/images/lorem-ipsum/quick-fox.png b/themes/gokarna/exampleSite/static/images/lorem-ipsum/quick-fox.png new file mode 100644 index 0000000..13f8edf Binary files /dev/null and b/themes/gokarna/exampleSite/static/images/lorem-ipsum/quick-fox.png differ diff --git a/themes/gokarna/exampleSite/static/images/theme-documentation-advanced/homepage-markdown-about-description.png b/themes/gokarna/exampleSite/static/images/theme-documentation-advanced/homepage-markdown-about-description.png new file mode 100644 index 0000000..ed1dd04 Binary files /dev/null and b/themes/gokarna/exampleSite/static/images/theme-documentation-advanced/homepage-markdown-about-description.png differ diff --git a/themes/gokarna/exampleSite/static/images/theme-documentation-advanced/icons-homepage-preview.png b/themes/gokarna/exampleSite/static/images/theme-documentation-advanced/icons-homepage-preview.png new file mode 100644 index 0000000..b245c66 Binary files /dev/null and b/themes/gokarna/exampleSite/static/images/theme-documentation-advanced/icons-homepage-preview.png differ diff --git a/themes/gokarna/exampleSite/static/images/theme-documentation-advanced/preview.png b/themes/gokarna/exampleSite/static/images/theme-documentation-advanced/preview.png new file mode 100644 index 0000000..4d5f1e9 Binary files /dev/null and b/themes/gokarna/exampleSite/static/images/theme-documentation-advanced/preview.png differ diff --git a/themes/gokarna/exampleSite/static/site.webmanifest b/themes/gokarna/exampleSite/static/site.webmanifest new file mode 100644 index 0000000..45dc8a2 --- /dev/null +++ b/themes/gokarna/exampleSite/static/site.webmanifest @@ -0,0 +1 @@ +{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"} \ No newline at end of file diff --git a/themes/gokarna/exampleSite/themes/gokarna b/themes/gokarna/exampleSite/themes/gokarna new file mode 120000 index 0000000..6581736 --- /dev/null +++ b/themes/gokarna/exampleSite/themes/gokarna @@ -0,0 +1 @@ +../../ \ No newline at end of file diff --git a/themes/gokarna/i18n/de.toml b/themes/gokarna/i18n/de.toml new file mode 100644 index 0000000..548ae21 --- /dev/null +++ b/themes/gokarna/i18n/de.toml @@ -0,0 +1,14 @@ +[Recent] + other = 'Letzte' +[error404] + other = 'Diese Seite existiert (noch) nicht, gehen Sie zu zurück auf' +[home] + other = 'Los' +[nothing] + other = 'Hier gibt es noch nichts zu sehen 😉' +[previous] + other = 'Vorheriger Eintrag' +[next] + other = 'Nächster Eintrag' +[tags] + other = 'Tags' diff --git a/themes/gokarna/i18n/en.toml b/themes/gokarna/i18n/en.toml new file mode 100644 index 0000000..3943b56 --- /dev/null +++ b/themes/gokarna/i18n/en.toml @@ -0,0 +1,14 @@ +[Recent] + other = 'Recent' +[error404] + other = 'This page does not exist, go' +[home] + other = 'home' +[nothing] + other = 'Nothing to see here, yet 😉' +[previous] + other = 'Previous' +[next] + other = 'Next' +[tags] + other = 'Tags' diff --git a/themes/gokarna/i18n/es.toml b/themes/gokarna/i18n/es.toml new file mode 100644 index 0000000..beb1787 --- /dev/null +++ b/themes/gokarna/i18n/es.toml @@ -0,0 +1,14 @@ +[Recent] + other = 'Recientes' +[error404] + other = 'Esta página no existe, prueba de nuevo desde el' +[home] + other = 'comienzo' +[nothing] + other = 'Aún no hay nada aquí 😉' +[previous] + other = 'Anterior' +[next] + other = 'Siguiente' +[tags] + other = 'Etiquetas' diff --git a/themes/gokarna/images/gokarna.jpg b/themes/gokarna/images/gokarna.jpg new file mode 100644 index 0000000..5caa575 Binary files /dev/null and b/themes/gokarna/images/gokarna.jpg differ diff --git a/themes/gokarna/images/lighthouse.png b/themes/gokarna/images/lighthouse.png new file mode 100644 index 0000000..e6bdce0 Binary files /dev/null and b/themes/gokarna/images/lighthouse.png differ diff --git a/themes/gokarna/images/screenshot-dark-home.png b/themes/gokarna/images/screenshot-dark-home.png new file mode 100644 index 0000000..a20fcea Binary files /dev/null and b/themes/gokarna/images/screenshot-dark-home.png differ diff --git a/themes/gokarna/images/screenshot-dark-list.png b/themes/gokarna/images/screenshot-dark-list.png new file mode 100644 index 0000000..cafbf15 Binary files /dev/null and b/themes/gokarna/images/screenshot-dark-list.png differ diff --git a/themes/gokarna/images/screenshot-dark-post.png b/themes/gokarna/images/screenshot-dark-post.png new file mode 100644 index 0000000..eed5e3b Binary files /dev/null and b/themes/gokarna/images/screenshot-dark-post.png differ diff --git a/themes/gokarna/images/screenshot-light-home.png b/themes/gokarna/images/screenshot-light-home.png new file mode 100644 index 0000000..3c898ce Binary files /dev/null and b/themes/gokarna/images/screenshot-light-home.png differ diff --git a/themes/gokarna/images/screenshot-light-list.png b/themes/gokarna/images/screenshot-light-list.png new file mode 100644 index 0000000..47f913e Binary files /dev/null and b/themes/gokarna/images/screenshot-light-list.png differ diff --git a/themes/gokarna/images/screenshot-light-post.png b/themes/gokarna/images/screenshot-light-post.png new file mode 100644 index 0000000..cc8d024 Binary files /dev/null and b/themes/gokarna/images/screenshot-light-post.png differ diff --git a/themes/gokarna/images/screenshot.png b/themes/gokarna/images/screenshot.png new file mode 100644 index 0000000..7a3212d Binary files /dev/null and b/themes/gokarna/images/screenshot.png differ diff --git a/themes/gokarna/images/tn.png b/themes/gokarna/images/tn.png new file mode 100644 index 0000000..7a3212d Binary files /dev/null and b/themes/gokarna/images/tn.png differ diff --git a/themes/gokarna/layouts/404.html b/themes/gokarna/layouts/404.html new file mode 100644 index 0000000..0c36928 --- /dev/null +++ b/themes/gokarna/layouts/404.html @@ -0,0 +1,19 @@ +{{ define "main"}} + + + + +{{ end }} diff --git a/themes/gokarna/layouts/_default/baseof.html b/themes/gokarna/layouts/_default/baseof.html new file mode 100644 index 0000000..0db2d6f --- /dev/null +++ b/themes/gokarna/layouts/_default/baseof.html @@ -0,0 +1,21 @@ + + + {{- $avatarImgSrc := .Site.Params.AvatarURL -}} + {{- if and (isset site.Params "avatarURL") (not (hasPrefix $avatarImgSrc "http")) -}} + {{- $avatarImgSrc = (urls.JoinPath $.Site.BaseURL ($.Site.Params.AvatarURL | default "")) -}} + {{- end -}} + {{- .Scratch.Set "avatarImgSrc" $avatarImgSrc -}} + + {{- partial "head.html" . -}} + + + {{- partial "header.html" . -}} +
+ {{- block "main" . }}{{- end }} +
+ {{- partial "footer.html" . -}} + + diff --git a/themes/gokarna/layouts/_default/list.html b/themes/gokarna/layouts/_default/list.html new file mode 100644 index 0000000..8caf133 --- /dev/null +++ b/themes/gokarna/layouts/_default/list.html @@ -0,0 +1,7 @@ +{{ define "main" }} + {{ if eq .Type "page" }} + {{- partial "page.html" . -}} + {{ else }} + {{- partial "list.html" . -}} + {{ end }} +{{ end }} diff --git a/themes/gokarna/layouts/_default/single.html b/themes/gokarna/layouts/_default/single.html new file mode 100644 index 0000000..527011a --- /dev/null +++ b/themes/gokarna/layouts/_default/single.html @@ -0,0 +1,11 @@ +{{ define "main" }} + {{ if eq .Type "post" }} + {{- partial "post.html" . -}} + {{- partial "toc.html" . -}} + {{ end }} + + {{ if eq .Type "page" }} + {{- partial "page.html" . -}} + {{- partial "toc.html" . -}} + {{ end }} +{{ end }} diff --git a/themes/gokarna/layouts/_default/terms.html b/themes/gokarna/layouts/_default/terms.html new file mode 100644 index 0000000..e5cc65a --- /dev/null +++ b/themes/gokarna/layouts/_default/terms.html @@ -0,0 +1,21 @@ +{{ define "main" }} +
+ +

{{ i18n "tags" }}

+ {{if eq (len $.Site.Taxonomies.tags) 0}} + {{ i18n "nothing" }} + {{else}} + + {{ end }} + +
+{{ end }} diff --git a/themes/gokarna/layouts/index.html b/themes/gokarna/layouts/index.html new file mode 100644 index 0000000..13a8552 --- /dev/null +++ b/themes/gokarna/layouts/index.html @@ -0,0 +1,57 @@ +{{ define "main" }} +
+
+ {{ if isset .Site.Params "avatarurl" }} + {{ .Site.Params.AvatarAltText|default + {{ end }} +
+ +

{{ .Site.Title }}

+ {{ if isset .Site.Params "description" }} +

{{ .Site.Params.Description }}

+ {{ end }} + +
+ +
+ +{{ if isset .Site.Params "socialicons" }} + +{{ end }} + +{{ if os.FileExists "index-about.md" }} +
+ {{ readFile "index-about.md" | markdownify }} +
+{{ end }} + +{{ if isset .Site.Params "showpostsonhomepage" }} + +
+

{{ i18n (.Site.Params.ShowPostsOnHomePage | humanize) }} Posts

+ + {{ $posts := where .Site.Pages "Params.type" "post" }} + + {{ if eq .Site.Params.ShowPostsOnHomePage "popular" }} + {{ range $posts.ByWeight | first 4 }} + {{- partial "list-posts.html" . -}} + {{ end }} + {{ else if eq .Site.Params.ShowPostsOnHomePage "recent" }} + {{ range $posts.ByDate.Reverse | first 4 }} + {{- partial "list-posts.html" . -}} + {{ end }} + {{ end }} +
+ +{{ end }} +{{ end }} diff --git a/themes/gokarna/layouts/partials/footer.html b/themes/gokarna/layouts/partials/footer.html new file mode 100644 index 0000000..701428c --- /dev/null +++ b/themes/gokarna/layouts/partials/footer.html @@ -0,0 +1,13 @@ +
+ + {{ if .Site.Params.CustomFooterHTML }} + {{ .Site.Params.CustomFooterHTML | safeHTML }} + {{ end }} + + {{ if .Site.Params.footer }} + © {{ now.Year }} {{ .Site.Params.Footer}} + {{ end }} + + Made with ❤️ using Gokarna + +
diff --git a/themes/gokarna/layouts/partials/head.html b/themes/gokarna/layouts/partials/head.html new file mode 100644 index 0000000..85d332d --- /dev/null +++ b/themes/gokarna/layouts/partials/head.html @@ -0,0 +1,56 @@ + + + + + + + {{ $title := .Title | default .Site.Title }} + {{ $description := .Description | default .Site.Params.Description }} + {{ $image := .Params.image | default (.Scratch.Get "avatarImgSrc") }} + {{ $siteKeywords := .Site.Params.MetaKeywords | default (slice) }} + {{ $postKeywords := .Params.tags | default (slice) }} + {{ $keywords := union $siteKeywords $postKeywords }} + + + {{ $title }} + + + + + + + + + + + + + + + + + + + + + {{ $cssNormalize := resources.Get "css/normalize.min.css" }} + + + {{ $cssMain := resources.Get "css/main.css" | minify }} + + + {{ $cssDark := resources.Get "css/dark.css" | minify }} + + + {{ $jsBundle := resources.Match "js/**.js" | resources.Concat "js/bundle.js" | minify | resources.Fingerprint "sha256" }} + + + + {{ if .Site.Params.CustomHeadHTML }} + {{ .Site.Params.CustomHeadHTML | safeHTML }} + {{ end }} + diff --git a/themes/gokarna/layouts/partials/header.html b/themes/gokarna/layouts/partials/header.html new file mode 100644 index 0000000..98282a5 --- /dev/null +++ b/themes/gokarna/layouts/partials/header.html @@ -0,0 +1,59 @@ +
+ +
diff --git a/themes/gokarna/layouts/partials/list-posts.html b/themes/gokarna/layouts/partials/list-posts.html new file mode 100644 index 0000000..e5db229 --- /dev/null +++ b/themes/gokarna/layouts/partials/list-posts.html @@ -0,0 +1,5 @@ +
+ {{ .Title }} +
+ +
diff --git a/themes/gokarna/layouts/partials/list.html b/themes/gokarna/layouts/partials/list.html new file mode 100644 index 0000000..ef65b68 --- /dev/null +++ b/themes/gokarna/layouts/partials/list.html @@ -0,0 +1,14 @@ +
+ +

{{ .Name }}

+ + {{ range (where .Pages "Params.type" "post" ).GroupByDate "2006" }} + +

{{ .Key }}

+ + {{- range .Pages -}} + {{- partial "list-posts.html" . -}} + {{ end }} + {{ end }} + +
diff --git a/themes/gokarna/layouts/partials/page.html b/themes/gokarna/layouts/partials/page.html new file mode 100644 index 0000000..a6dec63 --- /dev/null +++ b/themes/gokarna/layouts/partials/page.html @@ -0,0 +1,13 @@ +
+ +
+

{{ .Title }}

+
+ +
+

+ {{ .Content }} +

+
+
+ diff --git a/themes/gokarna/layouts/partials/post.html b/themes/gokarna/layouts/partials/post.html new file mode 100644 index 0000000..2bd758c --- /dev/null +++ b/themes/gokarna/layouts/partials/post.html @@ -0,0 +1,34 @@ +
+
+

{{ .Title }}

+ {{ .Description }} + + + +
+ +
+

+ {{ .Content }} +

+ {{ if .Site.DisqusShortname }} +
+ {{ template "_internal/disqus.html" . }} +
+ {{ end }} +
+ +
+ {{ if eq .Site.Params.TogglePreviousAndNextButtons "true" }} + {{ if or .PrevInSection .NextInSection }} + {{ partial "prev-next.html" . }} + {{ end }} + {{ end }} +
+
diff --git a/themes/gokarna/layouts/partials/prev-next.html b/themes/gokarna/layouts/partials/prev-next.html new file mode 100644 index 0000000..682d668 --- /dev/null +++ b/themes/gokarna/layouts/partials/prev-next.html @@ -0,0 +1,29 @@ +{{ with .PrevInSection }} + +{{ end }} + +{{ with .NextInSection }} + +{{ end }} diff --git a/themes/gokarna/layouts/partials/toc.html b/themes/gokarna/layouts/partials/toc.html new file mode 100644 index 0000000..8c9fd4b --- /dev/null +++ b/themes/gokarna/layouts/partials/toc.html @@ -0,0 +1,7 @@ +{{ if .Params.ShowTableOfContents }} + +{{ end }} diff --git a/themes/gokarna/screenshot.py b/themes/gokarna/screenshot.py new file mode 100644 index 0000000..8460ed3 --- /dev/null +++ b/themes/gokarna/screenshot.py @@ -0,0 +1,102 @@ +""" +Open firefox in headless mode and take screenshots of +all the pages in both light and dark mode + +Setup: + pip install selenium==4.10.0 pillow soldier + Add geckodriver to $PATH. Link: https://github.com/mozilla/geckodriver/releases +""" + +from selenium import webdriver +from selenium.webdriver.firefox.options import Options +from selenium.webdriver.common.by import By +from PIL import Image +import os +import soldier + +SCREENSHOT_OPTIONS = [ + {'path': '/', 'filename': 'images/screenshot-{color_pref}-home.png'}, + {'path': '/posts/', 'filename': 'images/screenshot-{color_pref}-list.png'}, + {'path': '/posts/theme-documentation-basics/', 'filename': 'images/screenshot-{color_pref}-post.png'}, +] + +DARK_THEME = (34, 39, 45, 255) +LIGHT_THEME = (255, 255, 255, 255) + +def get_dominant_color(img_path): + pil_img = Image.open(img_path) + img = pil_img.copy() + img.convert("RGB") + img.resize((1, 1), resample=0) + dominant_color = img.getpixel((0, 0)) + return dominant_color + +def take_screenshots(driver, base_url, screenshot_options): + for opt in screenshot_options: + driver.get(base_url + opt['path']) + color_a_filename = opt['filename'].format(color_pref='color-a') + color_b_filename = opt['filename'].format(color_pref='color-b') + + driver.save_screenshot(color_a_filename) + + # Change theme by clicking the theme toggle button + for elem in driver.find_elements(By.CLASS_NAME, 'dark-theme-toggle'): + # Hidden hamburger menu for mobile raises Exception on clicking + if elem.is_displayed(): + elem.click() + + driver.save_screenshot(color_b_filename) + + for f in (color_a_filename, color_b_filename): + if get_dominant_color(f) == LIGHT_THEME: + os.rename(f, opt['filename'].format(color_pref='light')) + elif get_dominant_color(f) == DARK_THEME: + os.rename(f, opt['filename'].format(color_pref='dark')) + else: + raise Exception('Image does not match theme') + + print(f'Saved {opt["path"]}') + +def merge_home_images(): + light_home = Image.open('images/screenshot-light-home.png') + dark_home = Image.open('images/screenshot-dark-home.png') + if light_home.size != dark_home.size: + raise Exception('Image sizes should be same') + + width, height = light_home.size + + light_home_half = light_home.crop((0, 0, int(width/2), height)) + dark_home_half = dark_home.crop((int(width/2), 0, width, height)) + + merged_img = Image.new('RGB', (width, height)) + # Since we are merging horizontally, we will keep the offset of x-axis + x_offset = 0 + for img in (light_home_half, dark_home_half): + merged_img.paste(img, (x_offset, 0)) + x_offset += img.size[0] + + merged_img.save('images/screenshot.png') + merged_img.save('images/tn.png') + print('Created merged image for hugo showcase') + +def main(): + sever_process = soldier.run('cd exampleSite && hugo serve', background=True, shell=True) + + options = Options() + options.add_argument('--headless') + if os.path.exists('/Applications/Firefox Developer Edition.app/Contents/MacOS/firefox'): + options.binary_location = '/Applications/Firefox Developer Edition.app/Contents/MacOS/firefox' + + driver = webdriver.Firefox(options=options) + # To offset screen size based on window size + driver.set_window_size(1500, 1085) + + base_url = 'http://127.0.0.1:1313' + take_screenshots(driver, base_url, SCREENSHOT_OPTIONS) + merge_home_images() + + driver.quit() + sever_process.kill(with_honor=False) + +if __name__ == '__main__': + main() diff --git a/themes/gokarna/static/fonts/Lato-Bold.ttf b/themes/gokarna/static/fonts/Lato-Bold.ttf new file mode 100644 index 0000000..b63a14d Binary files /dev/null and b/themes/gokarna/static/fonts/Lato-Bold.ttf differ diff --git a/themes/gokarna/static/fonts/Lato-Regular.ttf b/themes/gokarna/static/fonts/Lato-Regular.ttf new file mode 100644 index 0000000..33eba8b Binary files /dev/null and b/themes/gokarna/static/fonts/Lato-Regular.ttf differ diff --git a/themes/gokarna/static/svg/icons/angellist.svg b/themes/gokarna/static/svg/icons/angellist.svg new file mode 100644 index 0000000..7cce259 --- /dev/null +++ b/themes/gokarna/static/svg/icons/angellist.svg @@ -0,0 +1 @@ +AngelList \ No newline at end of file diff --git a/themes/gokarna/static/svg/icons/buymeacoffee.svg b/themes/gokarna/static/svg/icons/buymeacoffee.svg new file mode 100644 index 0000000..5187886 --- /dev/null +++ b/themes/gokarna/static/svg/icons/buymeacoffee.svg @@ -0,0 +1 @@ +Buy Me A Coffee \ No newline at end of file diff --git a/themes/gokarna/static/svg/icons/discord.svg b/themes/gokarna/static/svg/icons/discord.svg new file mode 100644 index 0000000..f797a04 --- /dev/null +++ b/themes/gokarna/static/svg/icons/discord.svg @@ -0,0 +1 @@ +Discord diff --git a/themes/gokarna/static/svg/icons/dribbble.svg b/themes/gokarna/static/svg/icons/dribbble.svg new file mode 100644 index 0000000..130a6f5 --- /dev/null +++ b/themes/gokarna/static/svg/icons/dribbble.svg @@ -0,0 +1 @@ +Dribbble \ No newline at end of file diff --git a/themes/gokarna/static/svg/icons/email.svg b/themes/gokarna/static/svg/icons/email.svg new file mode 100644 index 0000000..3811b59 --- /dev/null +++ b/themes/gokarna/static/svg/icons/email.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/themes/gokarna/static/svg/icons/facebook.svg b/themes/gokarna/static/svg/icons/facebook.svg new file mode 100644 index 0000000..4ef9d67 --- /dev/null +++ b/themes/gokarna/static/svg/icons/facebook.svg @@ -0,0 +1 @@ +Facebook \ No newline at end of file diff --git a/themes/gokarna/static/svg/icons/github.svg b/themes/gokarna/static/svg/icons/github.svg new file mode 100644 index 0000000..538ec5b --- /dev/null +++ b/themes/gokarna/static/svg/icons/github.svg @@ -0,0 +1 @@ +GitHub \ No newline at end of file diff --git a/themes/gokarna/static/svg/icons/gmail.svg b/themes/gokarna/static/svg/icons/gmail.svg new file mode 100644 index 0000000..9ee779a --- /dev/null +++ b/themes/gokarna/static/svg/icons/gmail.svg @@ -0,0 +1 @@ +Gmail \ No newline at end of file diff --git a/themes/gokarna/static/svg/icons/google.svg b/themes/gokarna/static/svg/icons/google.svg new file mode 100644 index 0000000..2eaf915 --- /dev/null +++ b/themes/gokarna/static/svg/icons/google.svg @@ -0,0 +1 @@ +Google \ No newline at end of file diff --git a/themes/gokarna/static/svg/icons/instagram.svg b/themes/gokarna/static/svg/icons/instagram.svg new file mode 100644 index 0000000..5a68721 --- /dev/null +++ b/themes/gokarna/static/svg/icons/instagram.svg @@ -0,0 +1 @@ +Instagram \ No newline at end of file diff --git a/themes/gokarna/static/svg/icons/iota.svg b/themes/gokarna/static/svg/icons/iota.svg new file mode 100644 index 0000000..1f0e834 --- /dev/null +++ b/themes/gokarna/static/svg/icons/iota.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/themes/gokarna/static/svg/icons/kofi.svg b/themes/gokarna/static/svg/icons/kofi.svg new file mode 100644 index 0000000..1c209d9 --- /dev/null +++ b/themes/gokarna/static/svg/icons/kofi.svg @@ -0,0 +1 @@ +Ko-fi \ No newline at end of file diff --git a/themes/gokarna/static/svg/icons/linkedin.svg b/themes/gokarna/static/svg/icons/linkedin.svg new file mode 100644 index 0000000..caa6e69 --- /dev/null +++ b/themes/gokarna/static/svg/icons/linkedin.svg @@ -0,0 +1 @@ +LinkedIn \ No newline at end of file diff --git a/themes/gokarna/static/svg/icons/mastodon.svg b/themes/gokarna/static/svg/icons/mastodon.svg new file mode 100644 index 0000000..19141c7 --- /dev/null +++ b/themes/gokarna/static/svg/icons/mastodon.svg @@ -0,0 +1 @@ +Mastodon \ No newline at end of file diff --git a/themes/gokarna/static/svg/icons/mozilla.svg b/themes/gokarna/static/svg/icons/mozilla.svg new file mode 100644 index 0000000..507eb66 --- /dev/null +++ b/themes/gokarna/static/svg/icons/mozilla.svg @@ -0,0 +1 @@ +Mozilla \ No newline at end of file diff --git a/themes/gokarna/static/svg/icons/reddit.svg b/themes/gokarna/static/svg/icons/reddit.svg new file mode 100644 index 0000000..7e4ddd1 --- /dev/null +++ b/themes/gokarna/static/svg/icons/reddit.svg @@ -0,0 +1 @@ +Reddit \ No newline at end of file diff --git a/themes/gokarna/static/svg/icons/rss.svg b/themes/gokarna/static/svg/icons/rss.svg new file mode 100644 index 0000000..14a6f3f --- /dev/null +++ b/themes/gokarna/static/svg/icons/rss.svg @@ -0,0 +1 @@ +RSS \ No newline at end of file diff --git a/themes/gokarna/static/svg/icons/spotify.svg b/themes/gokarna/static/svg/icons/spotify.svg new file mode 100644 index 0000000..8d4d095 --- /dev/null +++ b/themes/gokarna/static/svg/icons/spotify.svg @@ -0,0 +1 @@ +Spotify \ No newline at end of file diff --git a/themes/gokarna/static/svg/icons/stackoverflow.svg b/themes/gokarna/static/svg/icons/stackoverflow.svg new file mode 100644 index 0000000..ab83808 --- /dev/null +++ b/themes/gokarna/static/svg/icons/stackoverflow.svg @@ -0,0 +1 @@ +Stack Overflow \ No newline at end of file diff --git a/themes/gokarna/static/svg/icons/tiktok.svg b/themes/gokarna/static/svg/icons/tiktok.svg new file mode 100644 index 0000000..57ce3ae --- /dev/null +++ b/themes/gokarna/static/svg/icons/tiktok.svg @@ -0,0 +1 @@ +TikTok \ No newline at end of file diff --git a/themes/gokarna/static/svg/icons/twitch.svg b/themes/gokarna/static/svg/icons/twitch.svg new file mode 100644 index 0000000..8aaa4a9 --- /dev/null +++ b/themes/gokarna/static/svg/icons/twitch.svg @@ -0,0 +1 @@ +Twitch \ No newline at end of file diff --git a/themes/gokarna/static/svg/icons/twitter.svg b/themes/gokarna/static/svg/icons/twitter.svg new file mode 100644 index 0000000..45bd20c --- /dev/null +++ b/themes/gokarna/static/svg/icons/twitter.svg @@ -0,0 +1 @@ +Twitter \ No newline at end of file diff --git a/themes/gokarna/static/svg/icons/vimeo.svg b/themes/gokarna/static/svg/icons/vimeo.svg new file mode 100644 index 0000000..cecbfcc --- /dev/null +++ b/themes/gokarna/static/svg/icons/vimeo.svg @@ -0,0 +1 @@ +Vimeo \ No newline at end of file diff --git a/themes/gokarna/static/svg/icons/xing.svg b/themes/gokarna/static/svg/icons/xing.svg new file mode 100644 index 0000000..43e874a --- /dev/null +++ b/themes/gokarna/static/svg/icons/xing.svg @@ -0,0 +1 @@ +Xing \ No newline at end of file diff --git a/themes/gokarna/static/svg/icons/ycombinator.svg b/themes/gokarna/static/svg/icons/ycombinator.svg new file mode 100644 index 0000000..8eb0d25 --- /dev/null +++ b/themes/gokarna/static/svg/icons/ycombinator.svg @@ -0,0 +1 @@ +Y Combinator \ No newline at end of file diff --git a/themes/gokarna/static/svg/icons/youtube.svg b/themes/gokarna/static/svg/icons/youtube.svg new file mode 100644 index 0000000..0492366 --- /dev/null +++ b/themes/gokarna/static/svg/icons/youtube.svg @@ -0,0 +1 @@ +YouTube \ No newline at end of file diff --git a/themes/gokarna/theme.toml b/themes/gokarna/theme.toml new file mode 100644 index 0000000..1d324df --- /dev/null +++ b/themes/gokarna/theme.toml @@ -0,0 +1,19 @@ +name = "Gokarna" +description = "Gokarna is an opinionated theme with a focus on minimalism and simplicity" + +license = "GNU GPLv3" +licenselink = "https://github.com/526avijitgupta/gokarna/blob/main/LICENSE" + +homepage = "https://github.com/526avijitgupta/gokarna" +demosite = "https://gokarna-hugo.netlify.app" + +tags = ["blog", "minimal", "dark", "light", "responsive", "personal", "portfolio"] + +features = ["Blog", "Responsive", "Minimal", "Clean", "Simple", "SEO", "Bootstrap", "Fast", "Dark", "Light"] + +authors = [ + {name = "Yash Mehrotra", homepage = "https://yashmehrotra.com"}, + {name = "Avijit Gupta", homepage = "https://526avijitgupta.github.io"} +] + +min_version = "0.81.0"