mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-23 21:02:09 +00:00
Batman!! (this commit has no parents)
The sight of an animal using a JavaScript captivates Computer Scientists and laymen alike, perhaps because it forces us to question some of our ideas about human uniqueness. Does the animal know how JavaScript works? Did it anticipate the need for the tool and select it instead of Haskell or Zig? To some, this fascination with JavaScript seems arbitrary and anthropocentric; after all, animals engage in many other complex activities, like Agile Planning and ordering Juice on the Internet. However, we know that complex behaviour need not be cognitively demanding. JavaScript development can therefore provide a powerful window into the minds of animals, and help us to learn what capacities we share with them — and what might have changed to allow for the incontrovertibly unique levels of technology shown by modern humans, such as integers and block scope.
This commit is contained in:
commit
d364a8fb9f
36 changed files with 1321 additions and 0 deletions
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
public/
|
||||||
|
public_*/
|
223
LICENSE
Normal file
223
LICENSE
Normal file
|
@ -0,0 +1,223 @@
|
||||||
|
The code that powers this blog uses the following license:
|
||||||
|
|
||||||
|
Copyright (c) 2020 Rohan Kumar
|
||||||
|
|
||||||
|
Permission to use, copy, modify, and distribute this software for any
|
||||||
|
purpose with or without fee is hereby granted, provided that the above
|
||||||
|
copyright notice and this permission notice appear in all copies.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||||
|
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
||||||
|
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||||
|
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||||
|
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||||
|
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||||
|
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
|
||||||
|
The articles themselves are CC-BY-SA:
|
||||||
|
|
||||||
|
THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE
|
||||||
|
COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY
|
||||||
|
COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS
|
||||||
|
AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
|
||||||
|
|
||||||
|
BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO
|
||||||
|
BE BOUND BY THE TERMS OF THIS LICENSE. THE LICENSOR GRANTS YOU THE RIGHTS
|
||||||
|
CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND
|
||||||
|
CONDITIONS.
|
||||||
|
|
||||||
|
1. Definitions
|
||||||
|
|
||||||
|
"Collective Work" means a work, such as a periodical issue, anthology
|
||||||
|
or encyclopedia, in which the Work in its entirety in unmodified form,
|
||||||
|
along with a number of other contributions, constituting separate and
|
||||||
|
independent works in themselves, are assembled into a collective whole.
|
||||||
|
A work that constitutes a Collective Work will not be considered a
|
||||||
|
Derivative Work (as defined below) for the purposes of this License.
|
||||||
|
"Derivative Work" means a work based upon the Work or upon the Work and
|
||||||
|
other pre-existing works, such as a translation, musical arrangement,
|
||||||
|
dramatization, fictionalization, motion picture version, sound
|
||||||
|
recording, art reproduction, abridgment, condensation, or any other
|
||||||
|
form in which the Work may be recast, transformed, or adapted, except
|
||||||
|
that a work that constitutes a Collective Work will not be considered a
|
||||||
|
Derivative Work for the purpose of this License. For the avoidance of
|
||||||
|
doubt, where the Work is a musical composition or sound recording, the
|
||||||
|
synchronization of the Work in timed-relation with a moving image
|
||||||
|
("synching") will be considered a Derivative Work for the purpose of
|
||||||
|
this License. "Licensor" means the individual or entity that offers
|
||||||
|
the Work under the terms of this License. "Original Author" means the
|
||||||
|
individual or entity who created the Work. "Work" means the
|
||||||
|
copyrightable work of authorship offered under the terms of this
|
||||||
|
License. "You" means an individual or entity exercising rights under
|
||||||
|
this License who has not previously violated the terms of this License
|
||||||
|
with respect to the Work, or who has received express permission from
|
||||||
|
the Licensor to exercise rights under this License despite a previous
|
||||||
|
violation. "License Elements" means the following high-level license
|
||||||
|
attributes as selected by Licensor and indicated in the title of this
|
||||||
|
License: Attribution, ShareAlike.
|
||||||
|
|
||||||
|
2. Fair Use Rights. Nothing in this license is intended to reduce, limit,
|
||||||
|
or restrict any rights arising from fair use, first sale or other
|
||||||
|
limitations on the exclusive rights of the copyright owner under copyright
|
||||||
|
law or other applicable laws.
|
||||||
|
|
||||||
|
3. License Grant. Subject to the terms and conditions of this License,
|
||||||
|
Licensor hereby grants You a worldwide, royalty-free, non-exclusive,
|
||||||
|
perpetual (for the duration of the applicable copyright) license to
|
||||||
|
exercise the rights in the Work as stated below:
|
||||||
|
|
||||||
|
to reproduce the Work, to incorporate the Work into one or more
|
||||||
|
Collective Works, and to reproduce the Work as incorporated in the
|
||||||
|
Collective Works; to create and reproduce Derivative Works; to
|
||||||
|
distribute copies or phonorecords of, display publicly, perform
|
||||||
|
publicly, and perform publicly by means of a digital audio transmission
|
||||||
|
the Work including as incorporated in Collective Works; to distribute
|
||||||
|
copies or phonorecords of, display publicly, perform publicly, and
|
||||||
|
perform publicly by means of a digital audio transmission Derivative
|
||||||
|
Works.
|
||||||
|
|
||||||
|
For the avoidance of doubt, where the work is a musical composition:
|
||||||
|
Performance Royalties Under Blanket Licenses. Licensor waives the
|
||||||
|
exclusive right to collect, whether individually or via a performance
|
||||||
|
rights society (e.g. ASCAP, BMI, SESAC), royalties for the public
|
||||||
|
performance or public digital performance (e.g. webcast) of the Work.
|
||||||
|
Mechanical Rights and Statutory Royalties. Licensor waives the
|
||||||
|
exclusive right to collect, whether individually or via a music rights
|
||||||
|
society or designated agent (e.g. Harry Fox Agency), royalties for any
|
||||||
|
phonorecord You create from the Work ("cover version") and distribute,
|
||||||
|
subject to the compulsory license created by 17 USC Section 115 of the
|
||||||
|
US Copyright Act (or the equivalent in other jurisdictions).
|
||||||
|
Webcasting Rights and Statutory Royalties. For the avoidance of doubt,
|
||||||
|
where the Work is a sound recording, Licensor waives the exclusive
|
||||||
|
right to collect, whether individually or via a performance-rights
|
||||||
|
society (e.g. SoundExchange), royalties for the public digital
|
||||||
|
performance (e.g. webcast) of the Work, subject to the compulsory
|
||||||
|
license created by 17 USC Section 114 of the US Copyright Act (or the
|
||||||
|
equivalent in other jurisdictions).
|
||||||
|
|
||||||
|
The above rights may be exercised in all media and formats whether now
|
||||||
|
known or hereafter devised. The above rights include the right to make such
|
||||||
|
modifications as are technically necessary to exercise the rights in other
|
||||||
|
media and formats. All rights not expressly granted by Licensor are hereby
|
||||||
|
reserved.
|
||||||
|
|
||||||
|
4. Restrictions.The license granted in Section 3 above is expressly made
|
||||||
|
subject to and limited by the following restrictions:
|
||||||
|
|
||||||
|
You may distribute, publicly display, publicly perform, or publicly
|
||||||
|
digitally perform the Work only under the terms of this License, and
|
||||||
|
You must include a copy of, or the Uniform Resource Identifier for,
|
||||||
|
this License with every copy or phonorecord of the Work You distribute,
|
||||||
|
publicly display, publicly perform, or publicly digitally perform. You
|
||||||
|
may not offer or impose any terms on the Work that alter or restrict
|
||||||
|
the terms of this License or the recipients' exercise of the rights
|
||||||
|
granted hereunder. You may not sublicense the Work. You must keep
|
||||||
|
intact all notices that refer to this License and to the disclaimer of
|
||||||
|
warranties. You may not distribute, publicly display, publicly perform,
|
||||||
|
or publicly digitally perform the Work with any technological measures
|
||||||
|
that control access or use of the Work in a manner inconsistent with
|
||||||
|
the terms of this License Agreement. The above applies to the Work as
|
||||||
|
incorporated in a Collective Work, but this does not require the
|
||||||
|
Collective Work apart from the Work itself to be made subject to the
|
||||||
|
terms of this License. If You create a Collective Work, upon notice
|
||||||
|
from any Licensor You must, to the extent practicable, remove from the
|
||||||
|
Collective Work any reference to such Licensor or the Original Author,
|
||||||
|
as requested. If You create a Derivative Work, upon notice from any
|
||||||
|
Licensor You must, to the extent practicable, remove from the
|
||||||
|
Derivative Work any reference to such Licensor or the Original Author,
|
||||||
|
as requested. You may distribute, publicly display, publicly perform,
|
||||||
|
or publicly digitally perform a Derivative Work only under the terms of
|
||||||
|
this License, a later version of this License with the same License
|
||||||
|
Elements as this License, or a Creative Commons iCommons license that
|
||||||
|
contains the same License Elements as this License (e.g.
|
||||||
|
Attribution-ShareAlike 2.0 Japan). You must include a copy of, or the
|
||||||
|
Uniform Resource Identifier for, this License or other license
|
||||||
|
specified in the previous sentence with every copy or phonorecord of
|
||||||
|
each Derivative Work You distribute, publicly display, publicly
|
||||||
|
perform, or publicly digitally perform. You may not offer or impose any
|
||||||
|
terms on the Derivative Works that alter or restrict the terms of this
|
||||||
|
License or the recipients' exercise of the rights granted hereunder,
|
||||||
|
and You must keep intact all notices that refer to this License and to
|
||||||
|
the disclaimer of warranties. You may not distribute, publicly display,
|
||||||
|
publicly perform, or publicly digitally perform the Derivative Work
|
||||||
|
with any technological measures that control access or use of the Work
|
||||||
|
in a manner inconsistent with the terms of this License Agreement. The
|
||||||
|
above applies to the Derivative Work as incorporated in a Collective
|
||||||
|
Work, but this does not require the Collective Work apart from the
|
||||||
|
Derivative Work itself to be made subject to the terms of this License.
|
||||||
|
If you distribute, publicly display, publicly perform, or publicly
|
||||||
|
digitally perform the Work or any Derivative Works or Collective Works,
|
||||||
|
You must keep intact all copyright notices for the Work and give the
|
||||||
|
Original Author credit reasonable to the medium or means You are
|
||||||
|
utilizing by conveying the name (or pseudonym if applicable) of the
|
||||||
|
Original Author if supplied; the title of the Work if supplied; to the
|
||||||
|
extent reasonably practicable, the Uniform Resource Identifier, if any,
|
||||||
|
that Licensor specifies to be associated with the Work, unless such URI
|
||||||
|
does not refer to the copyright notice or licensing information for the
|
||||||
|
Work; and in the case of a Derivative Work, a credit identifying the
|
||||||
|
use of the Work in the Derivative Work (e.g., "French translation of
|
||||||
|
the Work by Original Author," or "Screenplay based on original Work by
|
||||||
|
Original Author"). Such credit may be implemented in any reasonable
|
||||||
|
manner; provided, however, that in the case of a Derivative Work or
|
||||||
|
Collective Work, at a minimum such credit will appear where any other
|
||||||
|
comparable authorship credit appears and in a manner at least as
|
||||||
|
prominent as such other comparable authorship credit.
|
||||||
|
|
||||||
|
5. Representations, Warranties and Disclaimer
|
||||||
|
|
||||||
|
UNLESS OTHERWISE AGREED TO BY THE PARTIES IN WRITING, LICENSOR OFFERS THE
|
||||||
|
WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND
|
||||||
|
CONCERNING THE MATERIALS, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE,
|
||||||
|
INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT
|
||||||
|
OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER
|
||||||
|
OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF
|
||||||
|
IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU.
|
||||||
|
|
||||||
|
6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE
|
||||||
|
LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY
|
||||||
|
SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES ARISING
|
||||||
|
OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS BEEN
|
||||||
|
ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
||||||
|
|
||||||
|
7. Termination
|
||||||
|
|
||||||
|
This License and the rights granted hereunder will terminate
|
||||||
|
automatically upon any breach by You of the terms of this License.
|
||||||
|
Individuals or entities who have received Derivative Works or
|
||||||
|
Collective Works from You under this License, however, will not have
|
||||||
|
their licenses terminated provided such individuals or entities remain
|
||||||
|
in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8
|
||||||
|
will survive any termination of this License. Subject to the above
|
||||||
|
terms and conditions, the license granted here is perpetual (for the
|
||||||
|
duration of the applicable copyright in the Work). Notwithstanding the
|
||||||
|
above, Licensor reserves the right to release the Work under different
|
||||||
|
license terms or to stop distributing the Work at any time; provided,
|
||||||
|
however that any such election will not serve to withdraw this License
|
||||||
|
(or any other license that has been, or is required to be, granted
|
||||||
|
under the terms of this License), and this License will continue in
|
||||||
|
full force and effect unless terminated as stated above.
|
||||||
|
|
||||||
|
8. Miscellaneous
|
||||||
|
|
||||||
|
Each time You distribute or publicly digitally perform the Work or a
|
||||||
|
Collective Work, the Licensor offers to the recipient a license to the
|
||||||
|
Work on the same terms and conditions as the license granted to You
|
||||||
|
under this License. Each time You distribute or publicly digitally
|
||||||
|
perform a Derivative Work, Licensor offers to the recipient a license
|
||||||
|
to the original Work on the same terms and conditions as the license
|
||||||
|
granted to You under this License. If any provision of this License is
|
||||||
|
invalid or unenforceable under applicable law, it shall not affect the
|
||||||
|
validity or enforceability of the remainder of the terms of this
|
||||||
|
License, and without further action by the parties to this agreement,
|
||||||
|
such provision shall be reformed to the minimum extent necessary to
|
||||||
|
make such provision valid and enforceable. No term or provision of
|
||||||
|
this License shall be deemed waived and no breach consented to unless
|
||||||
|
such waiver or consent shall be in writing and signed by the party to
|
||||||
|
be charged with such waiver or consent. This License constitutes the
|
||||||
|
entire agreement between the parties with respect to the Work licensed
|
||||||
|
here. There are no understandings, agreements or representations with
|
||||||
|
respect to the Work not specified here. Licensor shall not be bound by
|
||||||
|
any additional provisions that may appear in any communication from
|
||||||
|
You. This License may not be modified without the mutual written
|
||||||
|
agreement of the Licensor and You.
|
10
README.md
Normal file
10
README.md
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
seirdy.one
|
||||||
|
==========
|
||||||
|
|
||||||
|
[![sourcehut](https://img.shields.io/badge/repository-sourcehut-lightgrey.svg?logo=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSINCiAgICB3aWR0aD0iMTI4IiBoZWlnaHQ9IjEyOCI+DQogIDxkZWZzPg0KICAgIDxmaWx0ZXIgaWQ9InNoYWRvdyIgeD0iLTEwJSIgeT0iLTEwJSIgd2lkdGg9IjEyNSUiIGhlaWdodD0iMTI1JSI+DQogICAgICA8ZmVEcm9wU2hhZG93IGR4PSIwIiBkeT0iMCIgc3RkRGV2aWF0aW9uPSIxLjUiDQogICAgICAgIGZsb29kLWNvbG9yPSJibGFjayIgLz4NCiAgICA8L2ZpbHRlcj4NCiAgICA8ZmlsdGVyIGlkPSJ0ZXh0LXNoYWRvdyIgeD0iLTEwJSIgeT0iLTEwJSIgd2lkdGg9IjEyNSUiIGhlaWdodD0iMTI1JSI+DQogICAgICA8ZmVEcm9wU2hhZG93IGR4PSIwIiBkeT0iMCIgc3RkRGV2aWF0aW9uPSIxLjUiDQogICAgICAgIGZsb29kLWNvbG9yPSIjQUFBIiAvPg0KICAgIDwvZmlsdGVyPg0KICA8L2RlZnM+DQogIDxjaXJjbGUgY3g9IjUwJSIgY3k9IjUwJSIgcj0iMzglIiBzdHJva2U9IndoaXRlIiBzdHJva2Utd2lkdGg9IjQlIg0KICAgIGZpbGw9Im5vbmUiIGZpbHRlcj0idXJsKCNzaGFkb3cpIiAvPg0KICA8Y2lyY2xlIGN4PSI1MCUiIGN5PSI1MCUiIHI9IjM4JSIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLXdpZHRoPSI0JSINCiAgICBmaWxsPSJub25lIiBmaWx0ZXI9InVybCgjc2hhZG93KSIgLz4NCjwvc3ZnPg0KCg==)](https://git.sr.ht/~seirdy/seirdy.one)
|
||||||
|
[![GitLab
|
||||||
|
mirror](https://img.shields.io/badge/mirror-GitLab-orange.svg?logo=gitlab)](https://gitlab.com/Seirdy/seirdy.one)
|
||||||
|
[![GitHub
|
||||||
|
mirror](https://img.shields.io/badge/mirror-GitHub-black.svg?logo=github)](https://github.com/Seirdy/seirdy.one)
|
||||||
|
|
||||||
|
Code for my personal website, [seirdy.one](https://seirdy.one). Built with Hugo.
|
6
archetypes/default.md
Normal file
6
archetypes/default.md
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
---
|
||||||
|
title: "{{ replace .Name "-" " " | title }}"
|
||||||
|
date: {{ .Date }}
|
||||||
|
draft: true
|
||||||
|
---
|
||||||
|
|
70
config.toml
Normal file
70
config.toml
Normal file
|
@ -0,0 +1,70 @@
|
||||||
|
baseURL = "https://seirdy.one/"
|
||||||
|
languageCode = "en-us"
|
||||||
|
title = "Seirdy's Home"
|
||||||
|
theme = "etch-custom"
|
||||||
|
|
||||||
|
enableInlineShortcodes = true
|
||||||
|
# disablePathToLower = true
|
||||||
|
# uglyurls = true
|
||||||
|
pygmentsCodeFences = true
|
||||||
|
pygmentsUseClasses = true
|
||||||
|
|
||||||
|
[params]
|
||||||
|
description = "Seirdy's personal website"
|
||||||
|
src = "https://git.sr.ht/~seirdy/seirdy.one"
|
||||||
|
copyright = "Copyright © 2020 Rohan Kumar"
|
||||||
|
dark = "auto"
|
||||||
|
highlight = true
|
||||||
|
|
||||||
|
[author]
|
||||||
|
name = "Rohan Kumar"
|
||||||
|
|
||||||
|
[menu]
|
||||||
|
[[menu.main]]
|
||||||
|
identifier = "posts"
|
||||||
|
name = "posts"
|
||||||
|
title = "posts"
|
||||||
|
url = "/"
|
||||||
|
weight = 10
|
||||||
|
|
||||||
|
[[menu.main]]
|
||||||
|
identifier = "about"
|
||||||
|
name = "about"
|
||||||
|
title = "about"
|
||||||
|
url = "/about"
|
||||||
|
weight = 20
|
||||||
|
|
||||||
|
[permalinks]
|
||||||
|
posts = "/:year/:month/:day/:filename"
|
||||||
|
|
||||||
|
[markup.goldmark.renderer]
|
||||||
|
# Allows HTML in Markdown
|
||||||
|
unsafe = true
|
||||||
|
|
||||||
|
[markup.tableOfContents]
|
||||||
|
ordered = true
|
||||||
|
|
||||||
|
# lifted from https://git.sr.ht/~sircmpwn/drewdevault.com
|
||||||
|
[mediaTypes]
|
||||||
|
[mediaTypes."text/gemini"]
|
||||||
|
suffixes = ["gmi"]
|
||||||
|
|
||||||
|
[outputFormats]
|
||||||
|
[outputFormats.Gemini]
|
||||||
|
name = "GEMTEXT"
|
||||||
|
isPlainText = true
|
||||||
|
isHTML = false
|
||||||
|
mediaType = "text/gemini"
|
||||||
|
protocol = "gemini://"
|
||||||
|
permalinkable = true
|
||||||
|
path = "gemini/"
|
||||||
|
|
||||||
|
[outputFormats.GEMRSS]
|
||||||
|
name = "GEMRSS"
|
||||||
|
isHTML = false
|
||||||
|
mediaType = "application/rss+xml"
|
||||||
|
protocol = "gemini://"
|
||||||
|
path = "gemini/"
|
||||||
|
|
||||||
|
[outputs]
|
||||||
|
section = ["HTML", "RSS", "GEMRSS"]
|
24
content/_index.gmi
Normal file
24
content/_index.gmi
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
It me!
|
||||||
|
|
||||||
|
## About me
|
||||||
|
|
||||||
|
See the Director's Cut of my bio in the "about" page:
|
||||||
|
|
||||||
|
=> /about/ About me
|
||||||
|
|
||||||
|
Git repos:
|
||||||
|
|
||||||
|
=> https://sr.ht/%7Eseirdy Sourcehut
|
||||||
|
=> https://github.com/Seirdy GitHub
|
||||||
|
=> https://gitlab.com/Seirdy GitLab
|
||||||
|
|
||||||
|
## Contact
|
||||||
|
|
||||||
|
=> mailto:seirdy@seirdy.one email: seirdy@seirdy.one
|
||||||
|
=> https://pleroma.envs.net/seirdy Fediverse (Pleroma)
|
||||||
|
|
||||||
|
Chat with me: I prefer IRC, where my nick is usually Seirdy. Alternatively, I'm on Matrix:
|
||||||
|
|
||||||
|
=> https://matrix.to/#/@seirdy:envs.net @seirdy:envs.net
|
||||||
|
|
||||||
|
When I finish setting up CI/CD, this line should disappear.
|
31
content/_index.md
Normal file
31
content/_index.md
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
---
|
||||||
|
outputs:
|
||||||
|
- html
|
||||||
|
- gemtext
|
||||||
|
title: Seirdy's Home
|
||||||
|
---
|
||||||
|
|
||||||
|
It me!
|
||||||
|
|
||||||
|
Other versions of this website
|
||||||
|
------------------------------
|
||||||
|
|
||||||
|
In addition to its [canonical URL](https://seirdy.one), a "rough draft" of this
|
||||||
|
website also exists on my [Tildeverse page](https://envs.net/~seirdy) and on my
|
||||||
|
[Gemini space](gemini://seirdy.one).
|
||||||
|
|
||||||
|
About me
|
||||||
|
--------
|
||||||
|
|
||||||
|
The Director's Cut of my bio is at my [About page](/about).
|
||||||
|
|
||||||
|
Git repos: <a href="https://sr.ht/~seirdy" rel="me">Sourcehut</a>, <a href="https://github.com/Seirdy" rel="me">GitHub</a>, and <a href="https://gitlab.com/Seirdy" rel="me">GitLab</a>
|
||||||
|
|
||||||
|
Contact
|
||||||
|
-------
|
||||||
|
|
||||||
|
Contact me via [email](mailto:seirdy@seirdy.one), or on the Fediverse via
|
||||||
|
<a href="https://pleroma.envs.net/seirdy" rel="me">my Pleroma account</a>.
|
||||||
|
|
||||||
|
Chat with me: I prefer IRC, where my nick is usually Seirdy. Alternatively, I'm
|
||||||
|
[@seirdy:envs.net](https://matrix.to/\#/@seirdy:envs.net) on Matrix.
|
83
content/about/index.gmi
Normal file
83
content/about/index.gmi
Normal file
|
@ -0,0 +1,83 @@
|
||||||
|
# Seirdy (Rohan Kumar)
|
||||||
|
|
||||||
|
Rohan Kumar : He/Him : Age 20
|
||||||
|
|
||||||
|
Online Handle: Seirdy
|
||||||
|
|
||||||
|
## Other versions of this website
|
||||||
|
|
||||||
|
This page also exists on the tildeverse, a bunch of *nix computers that let people sign up for shell accounts. A typical shell account features clients for IRC and email, common terminal/commandline utilities, and (most importantly) web hosting. My Tildeverse pages will serve as a "rough draft".
|
||||||
|
|
||||||
|
More info about the Tildeverse:
|
||||||
|
|
||||||
|
=> https://tildeverse.org/ The tildeverse
|
||||||
|
=> https://web.archive.org/web/20180917091804/https://medium.com/message/tilde-club-i-had-a-couple-drinks-and-woke-up-with-1-000-nerds-a8904f0a2ebf Origins of the tildeverse
|
||||||
|
=> http://tilde.club/wiki/faq.html Tildeverse FAQ
|
||||||
|
=> http://tilde.club/%7Epfhawkins/othertildes.html Pick a tilde
|
||||||
|
=> http://tilde.club/%7Eanthonydpaul/primer.html Get started
|
||||||
|
|
||||||
|
Content on this site also appears on my Gemini space (TODO: link it).
|
||||||
|
|
||||||
|
## Location (Rohan, meatspace)
|
||||||
|
|
||||||
|
Currently living at home in Cupertino, CA
|
||||||
|
|
||||||
|
Would normally be in Portland, OR during the school year, but COVID-19 happened.
|
||||||
|
|
||||||
|
## Location (Seirdy, online)
|
||||||
|
|
||||||
|
My handle is "Seirdy" on all the platforms I use:
|
||||||
|
|
||||||
|
=> https://envs.net/%7Eseirdy Tildeverse
|
||||||
|
=> https://sr.ht/%7Eseirdy Sourcehut forge
|
||||||
|
=> https://github.com/Seirdy GitHub forge
|
||||||
|
=> https://gitlab.com/Seirdy GitLab forge
|
||||||
|
=> https://pleroma.envs.net/seirdy Fediverse (Pleroma)
|
||||||
|
=> https://matrix.to/#/@seirdy:envs.net Matrix: @seirdy:envs.net
|
||||||
|
=> mailto:seirdy@seirdy.one email
|
||||||
|
=> ../publickey.txt PGP: 36B154A782AEA0AC
|
||||||
|
|
||||||
|
My username is Seirdy on Reddit, Hacker News, and Lobsters; my nick is Seirdy on many IRC networks.
|
||||||
|
|
||||||
|
My preferred forge for personal projects is Sourcehut, but my repositories have remotes for GitHub and GitLab too.
|
||||||
|
|
||||||
|
## Interests, preferences, et cetera
|
||||||
|
|
||||||
|
I ought to come up with more interests than these, but that sounds hard.
|
||||||
|
|
||||||
|
### Free software
|
||||||
|
|
||||||
|
The word "free" in "free software" refers to freedom, not price. I recommend looking it up if you aren't familiar.
|
||||||
|
|
||||||
|
I lean towards simplicity; I usually prefer CLIs that follow the UNIX philosophy over TUIs, and TUIs over GUIs. If a piece of software is complex enough to require a funding round, I would rather avoid it. There are exceptions, of course: I use a Linux distro with Systemd (Fedora), after all.
|
||||||
|
|
||||||
|
Some software I use: Fedora, Alpine Linux, SwayWM, Pandoc, mpv, mpd, Minetest, Neovim, tmux, newsboat, WeeChat, and zsh.
|
||||||
|
|
||||||
|
More information is available in my dotfiles repo; check its README.
|
||||||
|
|
||||||
|
=> https://git.sr.ht/%7Eseirdy/dotfiles My dotfiles
|
||||||
|
|
||||||
|
### Anime
|
||||||
|
|
||||||
|
I watch anime. Some of my favorites, in no particular order:
|
||||||
|
|
||||||
|
* Code Geass
|
||||||
|
* Mawaru Penguindrum
|
||||||
|
* No Game No Life: Zero
|
||||||
|
* Black Lagoon
|
||||||
|
* Ascendance of a Bookworm
|
||||||
|
* Saga of Tanya the Evil
|
||||||
|
* Monogatari
|
||||||
|
* Attack on Titan
|
||||||
|
|
||||||
|
### Music
|
||||||
|
|
||||||
|
I've put together a periodically-updated list of tracks that I've rated 8/10 or higher in my mpd stickers database:
|
||||||
|
|
||||||
|
=> ../music.txt music.txt
|
||||||
|
|
||||||
|
It's auto-generated by some of my mpd-scripts:
|
||||||
|
|
||||||
|
=> https://git.sr.ht/%7Eseirdy/mpd-scripts/tree/master/smart-playlists mpd-scripts
|
||||||
|
|
||||||
|
I'm a fan of glitch, trailer music, and symphonic and power metal; I've also recently been getting into Japanese rock thanks to a few anime openings. Some of my favorite artists are The Glitch Mob, Pretty Lights, Beats Antique, Hammerfall, Badflower, Celldweller/Scandroid, Helloween, Two Steps from Hell, Nightwish, Mili, and MYTH & ROID.
|
98
content/about/index.md
Normal file
98
content/about/index.md
Normal file
|
@ -0,0 +1,98 @@
|
||||||
|
---
|
||||||
|
date: 2020-10-30
|
||||||
|
layout: post
|
||||||
|
title: Seirdy (Rohan Kumar)
|
||||||
|
---
|
||||||
|
|
||||||
|
Rohan Kumar : He/Him : Age 20
|
||||||
|
|
||||||
|
Online Handle: Seirdy
|
||||||
|
|
||||||
|
Other versions of this website
|
||||||
|
------------------------------
|
||||||
|
|
||||||
|
This page also exists on the [tildeverse](https://tildeverse.org/), a bunch of \*nix
|
||||||
|
computers that let people sign up for shell accounts. A typical shell account
|
||||||
|
features clients for IRC and email, common terminal/commandline utilities, and (most
|
||||||
|
importantly) web hosting. Read about the tildeverse's
|
||||||
|
[origins](https://web.archive.org/web/20180917091804/https://medium.com/message/tilde-club-i-had-a-couple-drinks-and-woke-up-with-1-000-nerds-a8904f0a2ebf),
|
||||||
|
[learn more](http://tilde.club/wiki/faq.html), pick [a
|
||||||
|
tilde](http://tilde.club/%7Epfhawkins/othertildes.html) and [get
|
||||||
|
started](http://tilde.club/~anthonydpaul/primer.html). My Tildeverse pages will serve
|
||||||
|
as a "rough draft".
|
||||||
|
|
||||||
|
Content on this site also appears on my Gemini space (TODO: link it).
|
||||||
|
|
||||||
|
Location (Rohan, meatspace)
|
||||||
|
---------------------------
|
||||||
|
|
||||||
|
Currently living at home in Cupertino, CA
|
||||||
|
|
||||||
|
Would normally be in Portland, OR during the school year, but COVID-19 happened.
|
||||||
|
|
||||||
|
Location (Seirdy, online)
|
||||||
|
-------------------------
|
||||||
|
|
||||||
|
My handle is "Seirdy" on all the platforms I use:
|
||||||
|
|
||||||
|
- [Tildeverse](https://envs.net/~seirdy)
|
||||||
|
- [Sourcehut forge](https://sr.ht/~seirdy)
|
||||||
|
- [GitHub forge](https://github.com/Seirdy)
|
||||||
|
- [GitLab forge](https://gitlab.com/Seirdy)
|
||||||
|
- [Fediverse (Pleroma)](https://pleroma.envs.net/seirdy)
|
||||||
|
- [Matrix: @seirdy:envs.net](https://matrix.to/\#/@seirdy:envs.net)
|
||||||
|
- [email](mailto:seirdy@seirdy.one)
|
||||||
|
- [PGP: 36B154A782AEA0AC](../publickey.txt)
|
||||||
|
|
||||||
|
My username is Seirdy on Reddit, Hacker News, and Lobsters; my nick is Seirdy on many
|
||||||
|
IRC networks.
|
||||||
|
|
||||||
|
My preferred forge for personal projects is Sourcehut, but my repositories have
|
||||||
|
remotes for GitHub and GitLab too.
|
||||||
|
|
||||||
|
Interests, preferences, et cetera
|
||||||
|
---------------------------------
|
||||||
|
|
||||||
|
I ought to come up with more interests than these, but that sounds hard.
|
||||||
|
|
||||||
|
### Free software
|
||||||
|
|
||||||
|
The word "free" in "free software" refers to freedom, not price. I recommend looking
|
||||||
|
it up if you aren't familiar.
|
||||||
|
|
||||||
|
I lean towards simplicity; I usually prefer CLIs that follow the UNIX philosophy over
|
||||||
|
TUIs, and TUIs over GUIs. If a piece of software is complex enough to require a
|
||||||
|
funding round, I would rather avoid it. There are exceptions, of course: I use a
|
||||||
|
Linux distro with Systemd (Fedora), after all.
|
||||||
|
|
||||||
|
Some software I use: Fedora, Alpine Linux, SwayWM, Pandoc, mpv, mpd, Minetest,
|
||||||
|
Neovim, tmux, newsboat, WeeChat, and zsh.
|
||||||
|
|
||||||
|
More information is available in my [dotfiles
|
||||||
|
repo](https://git.sr.ht/~seirdy/dotfiles); check its README.
|
||||||
|
|
||||||
|
### Anime
|
||||||
|
|
||||||
|
I watch anime. Some of my favorites, in no particular order:
|
||||||
|
|
||||||
|
- Code Geass
|
||||||
|
- Mawaru Penguindrum
|
||||||
|
- No Game No Life: Zero
|
||||||
|
- Black Lagoon
|
||||||
|
- Ascendance of a Bookworm
|
||||||
|
- Saga of Tanya the Evil
|
||||||
|
- Monogatari
|
||||||
|
- Attack on Titan
|
||||||
|
|
||||||
|
### Music
|
||||||
|
|
||||||
|
I've put together a periodically-updated [list of tracks](../music.txt) that I've
|
||||||
|
rated 8/10 or higher in my mpd stickers database, auto-generated by some of my
|
||||||
|
[mpd-scripts](https://git.sr.ht/~seirdy/mpd-scripts/tree/master/smart-playlists). I'm
|
||||||
|
a fan of glitch, trailer music, and symphonic and power metal; I've also recently
|
||||||
|
been getting into Japanese rock thanks to a few anime openings. Some of my favorite
|
||||||
|
artists are The Glitch Mob, Pretty Lights, Beats Antique, Hammerfall, Badflower,
|
||||||
|
Celldweller/Scandroid, Helloween, Two Steps from Hell, Nightwish, Mili, and MYTH &
|
||||||
|
ROID.
|
||||||
|
|
||||||
|
<!--vi:ft=markdown.pandoc.gfm-->
|
7
content/posts/hello-world.gmi
Normal file
7
content/posts/hello-world.gmi
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
Hello, world! This is my first post.
|
||||||
|
|
||||||
|
=> gemini://envs.net envs.net
|
||||||
|
|
||||||
|
## A subheading
|
||||||
|
|
||||||
|
ok cool that worked
|
12
content/posts/hello-world.md
Normal file
12
content/posts/hello-world.md
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
---
|
||||||
|
date: "2020-11-02T11:06:56-08:00"
|
||||||
|
outputs:
|
||||||
|
- html
|
||||||
|
- gemtext
|
||||||
|
title: Hello World
|
||||||
|
---
|
||||||
|
|
||||||
|
Hello, world! This is my first post.
|
||||||
|
|
||||||
|
It looks like I managed to somehow get this site working. You can look forward to a
|
||||||
|
few more posts in the coming weeks.
|
44
layouts/_default/section.gemrss.xml
Normal file
44
layouts/_default/section.gemrss.xml
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
{{- $pctx := . -}}
|
||||||
|
{{- if .IsHome -}}{{ $pctx = .Site }}{{- end -}}
|
||||||
|
{{- $pages := slice -}}
|
||||||
|
{{- if or $.IsHome $.IsSection -}}
|
||||||
|
{{- $pages = $pctx.RegularPages -}}
|
||||||
|
{{- else -}}
|
||||||
|
{{- $pages = $pctx.Pages -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- $limit := .Site.Config.Services.RSS.Limit -}}
|
||||||
|
{{- if ge $limit 1 -}}
|
||||||
|
{{- $pages = $pages | first $limit -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>" | safeHTML }}
|
||||||
|
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||||
|
<channel>
|
||||||
|
<title>Seirdy's Geminispace blog</title>
|
||||||
|
<link>gemini://seirdy.one</link>
|
||||||
|
<description>Seirdy's Geminispace</description>
|
||||||
|
<generator>Hugo -- gohugo.io</generator>{{ with .Site.LanguageCode }}
|
||||||
|
<language>{{.}}</language>{{end}}{{ with .Site.Author.email }}
|
||||||
|
<managingEditor>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</managingEditor>{{end}}{{ with .Site.Author.email }}
|
||||||
|
<webMaster>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</webMaster>{{end}}{{ with .Site.Copyright }}
|
||||||
|
<copyright>{{.}}</copyright>{{end}}{{ if not .Date.IsZero }}
|
||||||
|
<lastBuildDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>{{ end }}
|
||||||
|
{{ with .OutputFormats.Get "RSS" }}
|
||||||
|
{{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }}
|
||||||
|
{{ end }}
|
||||||
|
{{ range $pages }}
|
||||||
|
{{- if .OutputFormats.Get "GEMTEXT" -}}
|
||||||
|
<item>
|
||||||
|
<title>{{ .Title }}</title>
|
||||||
|
{{ with .OutputFormats.Get "GEMTEXT" }}
|
||||||
|
<link>{{replace .Permalink "/gemini" "" 1}}</link>
|
||||||
|
{{ end }}
|
||||||
|
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
|
||||||
|
{{ with .Site.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}}
|
||||||
|
{{ with .OutputFormats.Get "GEMTEXT" }}
|
||||||
|
<guid>{{replace .Permalink "/gemini" "" 1}}</guid>
|
||||||
|
{{ end }}
|
||||||
|
</item>
|
||||||
|
{{- end -}}
|
||||||
|
{{ end }}
|
||||||
|
</channel>
|
||||||
|
</rss>
|
21
layouts/index.gmi
Normal file
21
layouts/index.gmi
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
{{readFile (replace (replace $.File.Path ".md" ".gmi") ".html" ".gmi") | safeHTML}}
|
||||||
|
|
||||||
|
## Blog posts
|
||||||
|
{{ range (where .Site.RegularPages "Section" "posts") }}
|
||||||
|
{{- if .OutputFormats.Get "gemtext" }}
|
||||||
|
=> {{replace .Permalink "/gemini" "" 1}} {{.Date.Format "January 2, 2006"}}: {{.Title | safeHTML}}{{ end }}{{ end }}
|
||||||
|
|
||||||
|
=> posts/index.xml RSS feed
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
## Other versions of this website
|
||||||
|
|
||||||
|
=> https://seirdy.one Canonical WWW version
|
||||||
|
=> https://envs.net/%7Eseirdy Tildeverse "rough draft" WWW version
|
||||||
|
=> gemini://seirdy.one Canonical Gemini space
|
||||||
|
=> gemini://envs.net/%7Eseirdy Tildeverse "rough draft" Gemini space
|
||||||
|
|
||||||
|
{{ .Site.Params.copyright }}
|
||||||
|
=> {{ .Site.Params.src }} Website source code
|
||||||
|
|
11
layouts/posts/single.gmi
Normal file
11
layouts/posts/single.gmi
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
# {{$.Title | safeHTML}}
|
||||||
|
|
||||||
|
{{ trim (readFile (replace $.File.Path ".md" ".gmi")) "\n" | safeHTML }}
|
||||||
|
|
||||||
|
“{{$.Title | safeHTML}}” was published on {{.Date.Format "January 2, 2006"}}.
|
||||||
|
|
||||||
|
=> / Back to the home page{{ with .OutputFormats.Get "html" }}
|
||||||
|
=> {{.Permalink}} View “{{$.Title | safeHTML}}” on the WWW
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
|
The content for this site is CC-BY-SA. The code for this site is MIT.
|
BIN
static/favicon.png
Normal file
BIN
static/favicon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.3 KiB |
51
static/publickey.txt
Normal file
51
static/publickey.txt
Normal file
|
@ -0,0 +1,51 @@
|
||||||
|
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||||
|
|
||||||
|
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
|
||||||
|
=sDZ3
|
||||||
|
-----END PGP PUBLIC KEY BLOCK-----
|
1
themes/etch-custom/.gitignore
vendored
Normal file
1
themes/etch-custom/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
.DS_Store
|
20
themes/etch-custom/LICENSE
Normal file
20
themes/etch-custom/LICENSE
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
The MIT License (MIT)
|
||||||
|
|
||||||
|
Copyright (c) 2020 Lukas Joswiak
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
this software and associated documentation files (the "Software"), to deal in
|
||||||
|
the Software without restriction, including without limitation the rights to
|
||||||
|
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
|
the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
|
subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
|
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
|
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
|
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
32
themes/etch-custom/README.md
Normal file
32
themes/etch-custom/README.md
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
# Etch
|
||||||
|
|
||||||
|
Etch is a simple, responsive theme for [Hugo](https://gohugo.io) with a focus on writing. A live demo is available at https://themes.gohugo.io/theme/etch/.
|
||||||
|
|
||||||
|
<img src="https://raw.githubusercontent.com/LukasJoswiak/etch/master/images/screenshot_small.png" alt="screenshot" width="545px">
|
||||||
|
|
||||||
|
## Features:
|
||||||
|
|
||||||
|
* Homepage with list of posts.
|
||||||
|
* Support for pages.
|
||||||
|
* Responsive design for optimized mobile experience.
|
||||||
|
* Syntax highlighting with customizable theme.
|
||||||
|
* Dark theme which automatically adjusts based on users' setting ([example](https://github.com/LukasJoswiak/etch/wiki/Dark-mode)).
|
||||||
|
* No external dependencies, no JavaScript, no web fonts.
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
|
||||||
|
To install `etch`, download the repository into the `themes` folder in the root of your site.
|
||||||
|
|
||||||
|
```
|
||||||
|
$ git submodule add https://github.com/LukasJoswiak/etch.git themes/etch
|
||||||
|
```
|
||||||
|
|
||||||
|
Then, use the theme to generate your site.
|
||||||
|
|
||||||
|
```
|
||||||
|
$ hugo server -t etch
|
||||||
|
```
|
||||||
|
|
||||||
|
Use the [sample configuration](https://github.com/LukasJoswiak/etch/wiki/Configuration#sample-configuration) as a starting point. See the [configuration](https://github.com/LukasJoswiak/etch/wiki/Configuration) page for more info.
|
||||||
|
|
||||||
|
Read the [wiki](https://github.com/LukasJoswiak/etch/wiki) to learn about more options.
|
2
themes/etch-custom/archetypes/default.md
Normal file
2
themes/etch-custom/archetypes/default.md
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
+++
|
||||||
|
+++
|
51
themes/etch-custom/assets/css/dark.css
Normal file
51
themes/etch-custom/assets/css/dark.css
Normal file
|
@ -0,0 +1,51 @@
|
||||||
|
{{ if not (eq .Site.Params.dark "on") -}}
|
||||||
|
@media (prefers-color-scheme: dark) {
|
||||||
|
{{ end -}}
|
||||||
|
html {
|
||||||
|
scrollbar-color: #6c6c6c #2e2e2e;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
color: #ebebeb;
|
||||||
|
background: #121212;
|
||||||
|
}
|
||||||
|
|
||||||
|
header#banner a {
|
||||||
|
color: #e0e0e0;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
header#banner nav ul li a {
|
||||||
|
color: #cccccc;
|
||||||
|
}
|
||||||
|
|
||||||
|
main#content a {
|
||||||
|
color: #00b1ed;
|
||||||
|
}
|
||||||
|
|
||||||
|
main#content p {
|
||||||
|
color: #f5f5f5;
|
||||||
|
}
|
||||||
|
|
||||||
|
main#content hr {
|
||||||
|
background: #5c5c5c;
|
||||||
|
}
|
||||||
|
|
||||||
|
main#content #toc h4 {
|
||||||
|
color: #d4d4d4;
|
||||||
|
}
|
||||||
|
|
||||||
|
main#content ul#posts small {
|
||||||
|
color: #a7a7a7;
|
||||||
|
}
|
||||||
|
|
||||||
|
main#content ul#posts li a:hover {
|
||||||
|
color: #21c7ff;
|
||||||
|
}
|
||||||
|
|
||||||
|
main#content header#post-header time {
|
||||||
|
color: #a7a7a7;
|
||||||
|
}
|
||||||
|
{{- if not (eq .Site.Params.dark "on") -}}
|
||||||
|
}
|
||||||
|
{{- end -}}
|
266
themes/etch-custom/assets/css/main.css
Normal file
266
themes/etch-custom/assets/css/main.css
Normal file
|
@ -0,0 +1,266 @@
|
||||||
|
*, *:before, *:after {
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
html {
|
||||||
|
font-size: 62.5%;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
font-size: 16px;
|
||||||
|
font-size: 1.6rem;
|
||||||
|
font-family: sans-serif;
|
||||||
|
color: #313a3d;
|
||||||
|
width: 100%;
|
||||||
|
margin: 0 auto;
|
||||||
|
padding: 0 16px;
|
||||||
|
line-height: 1.6;
|
||||||
|
}
|
||||||
|
|
||||||
|
header#banner {
|
||||||
|
margin: 25px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
header#banner a {
|
||||||
|
color: #313a3d;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
header#banner a:hover {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
header#banner h2 {
|
||||||
|
display: inline;
|
||||||
|
font-size: 21px;
|
||||||
|
font-size: 2.1rem;
|
||||||
|
margin: 0 8px 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
header#banner nav {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
header#banner nav ul {
|
||||||
|
list-style-type: none;
|
||||||
|
font-size: 1.05em;
|
||||||
|
text-transform: lowercase;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
header#banner nav ul li {
|
||||||
|
display: inline;
|
||||||
|
margin: 0 3px;
|
||||||
|
}
|
||||||
|
|
||||||
|
header#banner nav ul li a {
|
||||||
|
color: #454545;
|
||||||
|
}
|
||||||
|
|
||||||
|
main#content a {
|
||||||
|
color: #007dfa;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
main#content a:hover {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
main#content h1,
|
||||||
|
main#content h2,
|
||||||
|
main#content h3,
|
||||||
|
main#content h4,
|
||||||
|
main#content h5,
|
||||||
|
main#content h6 {
|
||||||
|
margin-bottom: 0;
|
||||||
|
line-height: 1.15;
|
||||||
|
}
|
||||||
|
|
||||||
|
main#content h3 {
|
||||||
|
font-size: 19px;
|
||||||
|
font-size: 1.9rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
main#content h1 + p,
|
||||||
|
main#content h2 + p,
|
||||||
|
main#content h3 + p,
|
||||||
|
main#content h4 + p,
|
||||||
|
main#content h5 + p,
|
||||||
|
main#content h6 + p {
|
||||||
|
margin-top: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
main#content p {
|
||||||
|
color: #394548;
|
||||||
|
margin: 16px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
main#content hr {
|
||||||
|
height: 1px;
|
||||||
|
border: 0;
|
||||||
|
background: #d8d8d8;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* index.html styles */
|
||||||
|
main#content ul#posts {
|
||||||
|
list-style-type: none;
|
||||||
|
font-size: 16px;
|
||||||
|
font-size: 1.6rem;
|
||||||
|
margin-top: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
main#content ul#posts li {
|
||||||
|
margin: 5px 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
main#content ul#posts small {
|
||||||
|
font-size: 0.8em;
|
||||||
|
color: #767676;
|
||||||
|
margin-left: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
main#content ul#posts li a {
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
main#content ul#posts li a:hover {
|
||||||
|
color: #369aff;
|
||||||
|
}
|
||||||
|
|
||||||
|
main#content ul#posts li a:hover small {
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* single.html styles */
|
||||||
|
main#content header#post-header h1 {
|
||||||
|
display: block;
|
||||||
|
font-size: 23px;
|
||||||
|
font-size: 2.3rem;
|
||||||
|
line-height: 1.15;
|
||||||
|
}
|
||||||
|
|
||||||
|
main#content header#post-header time {
|
||||||
|
display: block;
|
||||||
|
font-size: 0.85em;
|
||||||
|
color: #767676;
|
||||||
|
}
|
||||||
|
|
||||||
|
main#content #toc {
|
||||||
|
border: 1px solid #b1b1b1;
|
||||||
|
border-radius: 1px;
|
||||||
|
line-height: 26px;
|
||||||
|
margin: 16px 0;
|
||||||
|
padding: 9px 14px;
|
||||||
|
}
|
||||||
|
|
||||||
|
main#content #toc h4 {
|
||||||
|
font-size: 1.06em;
|
||||||
|
color: #3d3d3d;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
main#content #toc nav#TableOfContents {
|
||||||
|
margin-top: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
main#content #toc nav#TableOfContents > ul, main#content #toc nav#TableOfContents > ol {
|
||||||
|
margin-left: -40px;
|
||||||
|
}
|
||||||
|
|
||||||
|
main#content #toc ul, main#content #toc ol {
|
||||||
|
font-size: 0.98em;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0 0 0 40px;
|
||||||
|
}
|
||||||
|
|
||||||
|
main#content #toc ul {
|
||||||
|
list-style-type: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
main#content #toc ol {
|
||||||
|
counter-reset: item;
|
||||||
|
}
|
||||||
|
|
||||||
|
main#content #toc ol li {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
main#content #toc ol li:before {
|
||||||
|
content: counters(item, ".") ". ";
|
||||||
|
counter-increment: item;
|
||||||
|
}
|
||||||
|
|
||||||
|
main#content img {
|
||||||
|
max-width: 100%;
|
||||||
|
margin: 0 auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
main#content figure {
|
||||||
|
margin: 16px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
main#content figure img {
|
||||||
|
display: block;
|
||||||
|
max-width: 100%;
|
||||||
|
margin: 0 auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
main#content figure figcaption {
|
||||||
|
font-size: 0.92em;
|
||||||
|
font-style: italic;
|
||||||
|
line-height: 22px;
|
||||||
|
text-align: center;
|
||||||
|
margin-top: 6px;
|
||||||
|
padding: 0 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
main#content figure figcaption h4 {
|
||||||
|
font-style: normal;
|
||||||
|
display: inline;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
main#content figure figcaption p {
|
||||||
|
display: inline;
|
||||||
|
margin: 0;
|
||||||
|
padding-left: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
main#content code,
|
||||||
|
main#content pre {
|
||||||
|
font-family: monospace;
|
||||||
|
}
|
||||||
|
|
||||||
|
main#content code {
|
||||||
|
font-size: 0.96em;
|
||||||
|
padding: 0 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
main#content pre {
|
||||||
|
display: block;
|
||||||
|
overflow-x: auto;
|
||||||
|
font-size: 14px;
|
||||||
|
font-size: 1.4rem;
|
||||||
|
white-space: pre;
|
||||||
|
margin: 20px 0;
|
||||||
|
padding: 1.5rem 1.5rem;
|
||||||
|
line-height: 1.4;
|
||||||
|
}
|
||||||
|
|
||||||
|
main#content pre code {
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
main#content section.footnotes {
|
||||||
|
font-size: 0.9em;
|
||||||
|
}
|
||||||
|
|
||||||
|
footer#footer {
|
||||||
|
font-size: 14px;
|
||||||
|
font-size: 1.4rem;
|
||||||
|
color: #949494;
|
||||||
|
margin: 40px 0;
|
||||||
|
}
|
52
themes/etch-custom/assets/css/min770px.css
Normal file
52
themes/etch-custom/assets/css/min770px.css
Normal file
|
@ -0,0 +1,52 @@
|
||||||
|
@media (min-width: 770px) {
|
||||||
|
body {
|
||||||
|
width: 600px;
|
||||||
|
line-height: 1.5;
|
||||||
|
}
|
||||||
|
|
||||||
|
main#content hr {
|
||||||
|
width: 108%;
|
||||||
|
margin-left: -3.8%;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* index.html styles */
|
||||||
|
header#banner h2 {
|
||||||
|
font-size: 25px;
|
||||||
|
font-size: 2.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
main#content h3 {
|
||||||
|
font-size: 20px;
|
||||||
|
font-size: 2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
main#content ul#posts {
|
||||||
|
font-size: 18px;
|
||||||
|
font-size: 1.8rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* single.html styles */
|
||||||
|
main#content header#post-header h1 {
|
||||||
|
font-size: 26px;
|
||||||
|
font-size: 2.6rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
main#content img {
|
||||||
|
max-width: 108%;
|
||||||
|
margin-left: -3.8%;
|
||||||
|
}
|
||||||
|
|
||||||
|
main#content figure {
|
||||||
|
margin-left: -3.8%;
|
||||||
|
}
|
||||||
|
|
||||||
|
main#content figure img {
|
||||||
|
max-width: 108%;
|
||||||
|
}
|
||||||
|
|
||||||
|
main#content pre {
|
||||||
|
width: 108%;
|
||||||
|
margin-left: -3.8%;
|
||||||
|
padding: 1.5rem 2.2rem;
|
||||||
|
}
|
||||||
|
}
|
59
themes/etch-custom/assets/css/syntax.css
Normal file
59
themes/etch-custom/assets/css/syntax.css
Normal file
|
@ -0,0 +1,59 @@
|
||||||
|
/* Background */ .chroma { color: #f8f8f2; background-color: #272822 }
|
||||||
|
/* Error */ .chroma .err { color: #960050; background-color: #1e0010 }
|
||||||
|
/* LineTableTD */ .chroma .lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineTable */ .chroma .lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; width: auto; overflow: auto; display: block; }
|
||||||
|
/* LineHighlight */ .chroma .hl { display: block; width: 100%;background-color: #ffffcc }
|
||||||
|
/* LineNumbersTable */ .chroma .lnt { margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||||
|
/* LineNumbers */ .chroma .ln { margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||||
|
/* Keyword */ .chroma .k { color: #66d9ef }
|
||||||
|
/* KeywordConstant */ .chroma .kc { color: #66d9ef }
|
||||||
|
/* KeywordDeclaration */ .chroma .kd { color: #66d9ef }
|
||||||
|
/* KeywordNamespace */ .chroma .kn { color: #f92672 }
|
||||||
|
/* KeywordPseudo */ .chroma .kp { color: #66d9ef }
|
||||||
|
/* KeywordReserved */ .chroma .kr { color: #66d9ef }
|
||||||
|
/* KeywordType */ .chroma .kt { color: #66d9ef }
|
||||||
|
/* NameAttribute */ .chroma .na { color: #a6e22e }
|
||||||
|
/* NameClass */ .chroma .nc { color: #a6e22e }
|
||||||
|
/* NameConstant */ .chroma .no { color: #66d9ef }
|
||||||
|
/* NameDecorator */ .chroma .nd { color: #a6e22e }
|
||||||
|
/* NameException */ .chroma .ne { color: #a6e22e }
|
||||||
|
/* NameFunction */ .chroma .nf { color: #a6e22e }
|
||||||
|
/* NameOther */ .chroma .nx { color: #a6e22e }
|
||||||
|
/* NameTag */ .chroma .nt { color: #f92672 }
|
||||||
|
/* Literal */ .chroma .l { color: #ae81ff }
|
||||||
|
/* LiteralDate */ .chroma .ld { color: #e6db74 }
|
||||||
|
/* LiteralString */ .chroma .s { color: #e6db74 }
|
||||||
|
/* LiteralStringAffix */ .chroma .sa { color: #e6db74 }
|
||||||
|
/* LiteralStringBacktick */ .chroma .sb { color: #e6db74 }
|
||||||
|
/* LiteralStringChar */ .chroma .sc { color: #e6db74 }
|
||||||
|
/* LiteralStringDelimiter */ .chroma .dl { color: #e6db74 }
|
||||||
|
/* LiteralStringDoc */ .chroma .sd { color: #e6db74 }
|
||||||
|
/* LiteralStringDouble */ .chroma .s2 { color: #e6db74 }
|
||||||
|
/* LiteralStringEscape */ .chroma .se { color: #ae81ff }
|
||||||
|
/* LiteralStringHeredoc */ .chroma .sh { color: #e6db74 }
|
||||||
|
/* LiteralStringInterpol */ .chroma .si { color: #e6db74 }
|
||||||
|
/* LiteralStringOther */ .chroma .sx { color: #e6db74 }
|
||||||
|
/* LiteralStringRegex */ .chroma .sr { color: #e6db74 }
|
||||||
|
/* LiteralStringSingle */ .chroma .s1 { color: #e6db74 }
|
||||||
|
/* LiteralStringSymbol */ .chroma .ss { color: #e6db74 }
|
||||||
|
/* LiteralNumber */ .chroma .m { color: #ae81ff }
|
||||||
|
/* LiteralNumberBin */ .chroma .mb { color: #ae81ff }
|
||||||
|
/* LiteralNumberFloat */ .chroma .mf { color: #ae81ff }
|
||||||
|
/* LiteralNumberHex */ .chroma .mh { color: #ae81ff }
|
||||||
|
/* LiteralNumberInteger */ .chroma .mi { color: #ae81ff }
|
||||||
|
/* LiteralNumberIntegerLong */ .chroma .il { color: #ae81ff }
|
||||||
|
/* LiteralNumberOct */ .chroma .mo { color: #ae81ff }
|
||||||
|
/* Operator */ .chroma .o { color: #f92672 }
|
||||||
|
/* OperatorWord */ .chroma .ow { color: #f92672 }
|
||||||
|
/* Comment */ .chroma .c { color: #75715e }
|
||||||
|
/* CommentHashbang */ .chroma .ch { color: #75715e }
|
||||||
|
/* CommentMultiline */ .chroma .cm { color: #75715e }
|
||||||
|
/* CommentSingle */ .chroma .c1 { color: #75715e }
|
||||||
|
/* CommentSpecial */ .chroma .cs { color: #75715e }
|
||||||
|
/* CommentPreproc */ .chroma .cp { color: #75715e }
|
||||||
|
/* CommentPreprocFile */ .chroma .cpf { color: #75715e }
|
||||||
|
/* GenericDeleted */ .chroma .gd { color: #f92672 }
|
||||||
|
/* GenericEmph */ .chroma .ge { font-style: italic }
|
||||||
|
/* GenericInserted */ .chroma .gi { color: #a6e22e }
|
||||||
|
/* GenericStrong */ .chroma .gs { font-weight: bold }
|
||||||
|
/* GenericSubheading */ .chroma .gu { color: #75715e }
|
0
themes/etch-custom/layouts/404.html
Normal file
0
themes/etch-custom/layouts/404.html
Normal file
11
themes/etch-custom/layouts/_default/baseof.html
Normal file
11
themes/etch-custom/layouts/_default/baseof.html
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
{{- partial "head.html" . -}}
|
||||||
|
<body>
|
||||||
|
{{- partial "header.html" . -}}
|
||||||
|
<main id="content">
|
||||||
|
{{- block "main" . }}{{- end }}
|
||||||
|
</main>
|
||||||
|
{{- partial "footer.html" . -}}
|
||||||
|
</body>
|
||||||
|
</html>
|
3
themes/etch-custom/layouts/_default/list.html
Normal file
3
themes/etch-custom/layouts/_default/list.html
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
{{ define "main" }}
|
||||||
|
{{- partial "posts.html" . -}}
|
||||||
|
{{ end }}
|
41
themes/etch-custom/layouts/_default/rss.xml
Normal file
41
themes/etch-custom/layouts/_default/rss.xml
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
{{- $pctx := . -}}
|
||||||
|
{{- if .IsHome -}}{{ $pctx = .Site }}{{- end -}}
|
||||||
|
{{- $pages := slice -}}
|
||||||
|
{{- if or $.IsHome $.IsSection -}}
|
||||||
|
{{- $pages = $pctx.RegularPages -}}
|
||||||
|
{{- else -}}
|
||||||
|
{{- $pages = $pctx.Pages -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- $limit := .Site.Config.Services.RSS.Limit -}}
|
||||||
|
{{- if ge $limit 1 -}}
|
||||||
|
{{- $pages = $pages | first $limit -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>" | safeHTML }}
|
||||||
|
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||||
|
<channel>
|
||||||
|
<title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }}</title>
|
||||||
|
<link>{{ .Permalink }}</link>
|
||||||
|
<description>Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }}</description>
|
||||||
|
<generator>Hugo -- gohugo.io</generator>{{ with .Site.LanguageCode }}
|
||||||
|
<language>{{.}}</language>{{end}}{{ with .Site.Author.email }}
|
||||||
|
<managingEditor>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</managingEditor>{{end}}{{ with .Site.Author.email }}
|
||||||
|
<webMaster>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</webMaster>{{end}}{{ with .Site.Copyright }}
|
||||||
|
<copyright>{{.}}</copyright>{{end}}{{ if not .Date.IsZero }}
|
||||||
|
<lastBuildDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>{{ end }}
|
||||||
|
{{ with .OutputFormats.Get "RSS" }}
|
||||||
|
{{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }}
|
||||||
|
{{ end }}
|
||||||
|
{{ range where .Site.Pages "Kind" "page" }}
|
||||||
|
{{ if or (eq .Section "posts") (eq .Section "post") }}
|
||||||
|
<item>
|
||||||
|
<title>{{ .Title }}</title>
|
||||||
|
<link>{{ .Permalink }}</link>
|
||||||
|
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
|
||||||
|
{{ with .Site.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}}
|
||||||
|
<guid>{{ .Permalink }}</guid>
|
||||||
|
<description>{{ .Summary | html }}</description>
|
||||||
|
</item>
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
</channel>
|
||||||
|
</rss>
|
11
themes/etch-custom/layouts/_default/single.html
Normal file
11
themes/etch-custom/layouts/_default/single.html
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
{{ define "main" }}
|
||||||
|
<article>
|
||||||
|
<header id="post-header">
|
||||||
|
<h1>{{ .Title }}</h1>
|
||||||
|
{{- if isset .Params "date" -}}
|
||||||
|
<time>{{ .Date.Format "January 2, 2006" }}</time>
|
||||||
|
{{- end -}}
|
||||||
|
</header>
|
||||||
|
{{- .Content -}}
|
||||||
|
</article>
|
||||||
|
{{ end }}
|
4
themes/etch-custom/layouts/index.html
Normal file
4
themes/etch-custom/layouts/index.html
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
{{ define "main" }}
|
||||||
|
{{ .Content }}
|
||||||
|
{{- partial "posts.html" . -}}
|
||||||
|
{{ end }}
|
5
themes/etch-custom/layouts/partials/footer.html
Normal file
5
themes/etch-custom/layouts/partials/footer.html
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
<footer id="footer">
|
||||||
|
{{ .Site.Params.copyright }}
|
||||||
|
·
|
||||||
|
<a href="{{ .Site.Params.src }}">Website source code</a>
|
||||||
|
</footer>
|
31
themes/etch-custom/layouts/partials/head.html
Normal file
31
themes/etch-custom/layouts/partials/head.html
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
{{ with .Site.Params.description -}}
|
||||||
|
<meta name="description" content="{{ . }}">
|
||||||
|
{{ end }}
|
||||||
|
{{ printf `<link rel="shortcut icon" href="%s">` ("favicon.png" | absURL) | safeHTML }}
|
||||||
|
{{ with .OutputFormats.Get "rss" -}}
|
||||||
|
{{ printf `<link rel="%s" type="%s" href="%s" title="%s">` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
|
||||||
|
{{ end -}}
|
||||||
|
|
||||||
|
{{ $resources := slice -}}
|
||||||
|
|
||||||
|
{{ $resources = $resources | append (resources.Get "css/main.css") -}}
|
||||||
|
|
||||||
|
{{ $resources = $resources | append (resources.Get "css/min770px.css") -}}
|
||||||
|
|
||||||
|
{{ $dark := .Site.Params.dark | default "auto" -}}
|
||||||
|
{{ if not (eq $dark "off") -}}
|
||||||
|
{{ $resources = $resources | append (resources.Get "css/dark.css" | resources.ExecuteAsTemplate "dark.css" .) -}}
|
||||||
|
{{ end -}}
|
||||||
|
|
||||||
|
{{ if .Site.Params.highlight -}}
|
||||||
|
{{ $resources = $resources | append (resources.Get "css/syntax.css") -}}
|
||||||
|
{{ end -}}
|
||||||
|
|
||||||
|
{{ $css := $resources | resources.Concat "css/style.css" | minify }}
|
||||||
|
{{ printf `<link rel="stylesheet" href="%s">` $css.RelPermalink | safeHTML }}
|
||||||
|
|
||||||
|
<title>{{ .Title }}</title>
|
||||||
|
</head>
|
12
themes/etch-custom/layouts/partials/header.html
Normal file
12
themes/etch-custom/layouts/partials/header.html
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
<header id="banner">
|
||||||
|
<h2><a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a></h2>
|
||||||
|
<nav>
|
||||||
|
<ul>
|
||||||
|
{{ range .Site.Menus.main.ByWeight -}}
|
||||||
|
<li>
|
||||||
|
{{ .Pre }}<a href="{{ .URL }}" title="{{ .Title }}">{{- .Name -}}</a>{{ .Post }}
|
||||||
|
</li>
|
||||||
|
{{- end }}
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
</header>
|
11
themes/etch-custom/layouts/partials/posts.html
Normal file
11
themes/etch-custom/layouts/partials/posts.html
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
<h3>Posts</h3>
|
||||||
|
<ul id="posts">
|
||||||
|
{{- range where site.RegularPages "Type" "in" site.Params.mainSections }}
|
||||||
|
<li>
|
||||||
|
<a href="{{ .Permalink }}">
|
||||||
|
{{ .Title }}
|
||||||
|
<small><time>{{ .Date.Format "Jan 2, 2006" }}</time></small>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{{- end }}
|
||||||
|
</ul>
|
4
themes/etch-custom/layouts/shortcodes/toc.html
Normal file
4
themes/etch-custom/layouts/shortcodes/toc.html
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
<aside id="toc">
|
||||||
|
<h4>Table of Contents</h4>
|
||||||
|
{{ .Page.TableOfContents }}
|
||||||
|
</aside>
|
12
themes/etch-custom/theme.toml
Normal file
12
themes/etch-custom/theme.toml
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
name = "Etch"
|
||||||
|
license = "MIT"
|
||||||
|
licenselink = "https://github.com/LukasJoswiak/etch/blob/master/LICENSE"
|
||||||
|
description = "Lightweight Hugo theme with a focus on content"
|
||||||
|
homepage = "https://github.com/LukasJoswiak/etch"
|
||||||
|
tags = ["simple", "minimal", "clean", "fast", "blog", "responsive", "dark mode", "privacy"]
|
||||||
|
features = ["fast", "blog", "syntax highlighting", "dark mode"]
|
||||||
|
min_version = "0.41"
|
||||||
|
|
||||||
|
[author]
|
||||||
|
name = "Lukas Joswiak"
|
||||||
|
homepage = "https://lukasjoswiak.com"
|
Loading…
Reference in a new issue