~stick/stma.is

f8b80857e3ef3657b89505a7c080aafea9e6398f — Stick 2 years ago
init: create site in hugo
A  => .gitignore +19 -0
@@ 1,19 @@
# Created by https://www.gitignore.io/api/hugo
# Edit at https://www.gitignore.io/?templates=hugo

### Hugo ###
### Hugo ###
# gitginore template for Hugo projects
# website: https://gohugo.io

# generated files by hugo
/public/
/resources/_gen/
/dev/

# executable may be added to repository
hugo.exe
hugo.darwin
hugo.linux

# End of https://www.gitignore.io/api/hugo

A  => .gitmodules +3 -0
@@ 1,3 @@
[submodule "themes/hugo-stma"]
	path = themes/hugo-stma
	url = git@gitlab.com:nstickney/hugo-stma

A  => CODE_OF_CONDUCT.md +13 -0
@@ 1,13 @@
# Contributor Code of Conduct

As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.

We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, age, or religion.

Examples of unacceptable behavior by participants include the use of overtly sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.

Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.

Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.

This Code of Conduct is adapted from the [Contributor Covenant 1.0.0](https://www.contributor-covenant.org/version/1/0/0/code-of-conduct.html), though no endorsement of the Contributor Convenant organization is implied and other versions of the Contributor Covenant are not applicable.

A  => CONTRIBUTING.md +23 -0
@@ 1,23 @@
# How To Contribute

Create an [issue](ISSUE_TEMPLATE.md) or, preferably, open a [pull request](PULL_REQUEST_TEMPLATE.md) that works towards fixing one of the existing issues or improves the project some other way!

## Code styling

Please, make your code readable, and comment more than you think is necessary.

If editing [README.md](README.md "README"), please conform to the [standard-readme](https://github.com/RichardLitt/standard-readme "RichardLitt/standard-readme") specification.

## Trunk-Based Development

Read up on it [here](https://trunkbaseddevelopment.com).

## Naming commits

I prefer to name commits with one of the following prefixes:
* "init:" - use for the first commit of a new repository
* "add:" - use when you add code or files to the repository
* "rm:" - use when you delete code or files from the repository
* "chg:" - use when you change behavior of existing code
* "ref:" - use when you refactor or reformat existing code without changing behavior
* "up:" - use when you update external modules (git submodules, Maven dependencies, etc)

A  => LICENSE +21 -0
@@ 1,21 @@
MIT License

Copyright (c) 2019 nstickney

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.

A  => README.md +30 -0
@@ 1,30 @@
# stma.is
> A personal website. Because why not?

[![MIT License](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE) [![standard-readme compliant](https://img.shields.io/badge/readme%20style-standard-brightgreen.svg)](https://github.com/RichardLitt/standard-readme "RichardLitt/standard-readme")

## Table of Contents
- [Background](#background)
- [Install](#install)
- [Usage](#usage)
- [Contributing](#contributing)
- [License](#license)

## Background
Well, according to Motherboard (via [Slashdot](https://tech.slashdot.org/story/18/12/19/2211226/we-should-replace-facebook-with-personal-websites), [we should replace Facebook with personal websites](https://tech.slashdot.org/story/18/12/19/2211226/we-should-replace-facebook-with-personal-websites). I haven't had a Facebook account in something like a decade, but no matter. Here's where I satisfy that urge to post myself online. Bonus: I get to play with technologies like [Hugo](https://gohugo.io/) and [nginx](https://nginx.org/).

## Install
Clone this repository, and enter the top-level directory. `hugo server` will run the server; `hugo` will build the website for deployment.

## Usage
For development, use `hugo server -wDd dev` to [avoid building draft content in production](https://gohugo.io/getting-started/usage/#dev-vs-deploy-destinations).

For deployment, use `hugo`, then copy the contents of the `public` folder to your web root.

## Contributing
> Contributors to this project are expected to adhere to our [Code of Conduct](CODE_OF_CONDUCT.md "Code of Conduct").

I welcome [issues](docs/issue_template.md "Issue template"), but I prefer [pull requests](dosc/pull_request_template.md "Pull request template")! See the [contribution guidelines](docs/contributing.md "Contributing") for more information.

## License
Copyright ©2019 nstickney. This repository is released under the [MIT](LICENSE) license.

A  => config.toml +14 -0
@@ 1,14 @@
title = "STMA"
baseURL = "https://stma.is"

disableHugoGeneratorInject = true
theme = "hugo-stma"

[params]
	author = "nstickney at pm dot me"
	custom_css = ["style.css"]
	copyright = "2019"
	description = "Stick and Emma"
	keywords = "STMA, Stick and Emma, Stick, Emma"
	repo_addr = "https://gitlab.com/nstickney/tranquility.one"
	repo_text = "GitLab"

A  => content/_index.md +57 -0
@@ 1,57 @@
+++
title = "STMA"
+++
<div class="center">
<div class="card member stick">
	<img src="/images/stick.svg" alt=""/>
	<h1>Stick</h1>
	<ul>
		<li>
			<a href="https://aur.archlinux.org/packages/?SeB=M&amp;K=nstickney">
				<span class="aur">AUR</span>
			</a>
		</li>
		<li>
			<a href="https://flickr.com/stick-online">
				<span class="flickr">Flickr</span>
			</a>
		</li>
		<li>
			<a href="https://gitlab.com/nstickney">
				<span class="gitlab">GitLab</span>
			</a>
		</li>
		<li>
			<a href="https://twitter.com/nstickney">
				<span class="twitter">Twitter</span>
			</a>
		</li>
	</ul>
</div>
<div class="card member emma">
	<img src="/images/emma.jpg" alt=""/>
	<h1>Emma</h1>
	<ul>
		<li>
			<a href="http://www.thequiltinghermit.net">
				<span class="blogger">The Quilting Hermit</span>
			</a>
		</li>
		<li>
			<a href="https://flickr.com/emmac350">
				<span class="flickr">Flickr</span>
			</a>
		</li>
		<li>
			<a href="https://thedailyhermit.tumblr.com">
				<span class="tumblr">The Daily Hermit</span>
			</a>
		</li>
		<li>
			<a href="https://twitter.com/emmafreester">
				<span class="twitter">Twitter</span>
			</a>
		</li>
	</ul>
</div>
</div>

A  => layouts/index.html +7 -0
@@ 1,7 @@
{{ define "title" }}
        {{ .Title }}
{{ end }}
{{ define "nav" }}{{ end }}
{{ define "content" }}
        {{ .Content }}
{{ end }}

A  => robots.txt +2 -0
@@ 1,2 @@
User-agent: *
Disallow: /

A  => static/css/style.css +83 -0
@@ 1,83 @@
/* Font Awesome ------------------------------------------------------------ */
@font-face {
	font-family: "Font Awesome 5 Brands";
	font-style: normal;
	font-weight: normal;
	src: url("/fonts/fa-brands-400.woff2") format("woff2");
}

@font-face {
	font-family: "Font Awesome 5 Free";
	font-style: normal;
	font-weight: 900;
	src: url("/fonts/fa-solid-900.woff2") format("woff2");
}

.aur::before, .blogger::before, .flickr::before, .gitlab::before, .tumblr::before, .twitter::before {
	font-family: "Font Awesome 5 Brands", "Font Awesome 5 Free";
	margin: 0.3rem;
}

.aur::before {
	content: "\f126";
}

.blogger::before {
	content: "\f37c";
}

.flickr::before {
	content: "\f16e";
}

.gitlab::before {
	content: "\f296";
}

.tumblr::before {
	content: "\f174";
}

.twitter::before {
	content: "\f081";
}

/* "About" Cards ----------------------------------------------------------- */
.card {
	background: var(--bg);
	border-radius: var(--corners);
	box-shadow: var(--corners) var(--corners) var(--corners) var(--fg);
	padding: 1rem;
	margin: 1rem;
}

.member {
	background: rgba(255, 255, 255, 0.8);
	text-align: center;
	width: 18rem;
}

.member > img {
	border-radius: 0.5rem;
	width: 100%;
}

.emma a:link,
.emma a:visited {
	color: #722759;
}

.emma a:hover,
.emma a:active {
	color: #983477;
}

.stick a:link,
.stick a:visited {
	color: #993300;
}

.stick a:hover,
.stick a:active {
	color: #cc4400;
}

A  => static/fonts/fa-brands-400.woff2 +0 -0
A  => static/fonts/fa-solid-900.woff2 +0 -0
A  => static/images/background.jpg +0 -0
A  => static/images/bg.png +0 -0
A  => static/images/emma.jpg +0 -0
A  => static/images/favicon.ico +0 -0
A  => static/images/logo.png +0 -0
A  => static/images/stick.svg +134 -0
@@ 1,134 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:cc="http://creativecommons.org/ns#"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:svg="http://www.w3.org/2000/svg"
   xmlns="http://www.w3.org/2000/svg"
   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
   version="1.1"
   id="svg64"
   width="1000"
   height="1000"
   viewBox="0 0 1000 1000"
   sodipodi:docname="stick.svg"
   inkscape:export-filename="/home/nstickney/Projects/stma.is/assets/stick.svg.png"
   inkscape:export-xdpi="70.220001"
   inkscape:export-ydpi="70.220001"
   inkscape:version="0.92.2 2405546, 2018-03-11">
  <sodipodi:namedview
     pagecolor="#ffffff"
     bordercolor="#666666"
     borderopacity="1"
     objecttolerance="10"
     gridtolerance="10"
     guidetolerance="10"
     inkscape:pageopacity="0"
     inkscape:pageshadow="2"
     inkscape:window-width="955"
     inkscape:window-height="1049"
     id="namedview86"
     showgrid="false"
     inkscape:zoom="0.765"
     inkscape:cx="500"
     inkscape:cy="500"
     inkscape:window-x="2881"
     inkscape:window-y="27"
     inkscape:window-maximized="0"
     inkscape:current-layer="svg64" />
  <metadata
     id="metadata70">
    <rdf:RDF>
      <cc:Work
         rdf:about="">
        <dc:format>image/svg+xml</dc:format>
        <dc:type
           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
        <dc:title />
      </cc:Work>
    </rdf:RDF>
  </metadata>
  <defs
     id="defs68">
    <filter
       id="filter63"
       style="color-interpolation-filters:sRGB;">
      <feFlood
         id="feFlood53"
         result="flood"
         flood-color="rgb(255,248,231)"
         flood-opacity="1" />
      <feComposite
         id="feComposite55"
         result="composite1"
         operator="in"
         in2="SourceGraphic"
         in="flood" />
      <feGaussianBlur
         id="feGaussianBlur57"
         result="blur"
         stdDeviation="20"
         in="composite1" />
      <feOffset
         id="feOffset59"
         result="offset"
         dy="0"
         dx="0" />
      <feComposite
         id="feComposite61"
         result="fbSourceGraphic"
         operator="over"
         in2="offset"
         in="SourceGraphic" />
      <feColorMatrix
         id="feColorMatrix65"
         values="0 0 0 -1 0 0 0 0 -1 0 0 0 0 -1 0 0 0 0 1 0"
         in="fbSourceGraphic"
         result="fbSourceGraphicAlpha" />
      <feFlood
         in="fbSourceGraphic"
         result="flood"
         flood-color="rgb(255,248,231)"
         flood-opacity="1"
         id="feFlood67" />
      <feComposite
         result="composite1"
         operator="in"
         in="flood"
         id="feComposite69"
         in2="fbSourceGraphic" />
      <feGaussianBlur
         result="blur"
         stdDeviation="20"
         in="composite1"
         id="feGaussianBlur71" />
      <feOffset
         result="offset"
         dy="0"
         dx="0"
         id="feOffset73" />
      <feComposite
         result="composite2"
         operator="over"
         in="fbSourceGraphic"
         id="feComposite75"
         in2="offset" />
    </filter>
  </defs>
  <g
     style="filter:url(#filter63)"
     id="g4591">
    <rect
       style="fill:#ffffff"
       y="168.80093"
       x="160.65192"
       height="677.53204"
       width="677.53204"
       id="rect92" />
    <path
       id="path90"
       d="m 497.94385,980.58154 c -3.30373,-3.1521 -31.64078,-19.3431 -47.44385,-27.10809 -53.10457,-26.09343 -103.96015,-39.82867 -198,-53.47647 -68.88629,-9.99732 -91.51979,-15.27384 -113,-26.34354 -18.85201,-9.71527 -30.70611,-24.43857 -34.90285,-43.35085 -2.01872,-9.09716 -2.09814,-29.1949 -0.16671,-42.18326 0.78674,-5.29063 1.68309,-18.39433 1.99189,-29.11933 0.91831,-31.89407 3.83155,-54.70718 16.09024,-126 C 138.25059,541.47241 142.7314,502.84685 145.16393,437.74009 146.85249,392.54606 144.84043,339.51786 139.44438,287 132.33672,217.82365 116.5702,132.41702 96.470837,54.21394 90.442292,30.757935 90.629699,31.653107 91.913804,32.446728 93.499124,33.42651 135.84732,43.765414 151.5,46.994125 c 54.687,11.280401 102.22352,16.370612 153,16.383244 58.45146,0.01454 104.26839,-6.639452 146.69555,-21.304593 19.16657,-6.625011 45.38761,-19.1306 46.63778,-22.242934 0.43232,-1.076251 2.90102,-1.076251 3.33334,0 1.25017,3.112334 27.47121,15.617923 46.63778,22.242934 42.42716,14.665141 88.24409,21.319133 146.69555,21.304593 50.77648,-0.01263 98.313,-5.102843 153,-16.383244 15.65268,-3.228711 58.00088,-13.567615 59.5862,-14.547397 1.2841,-0.793621 1.47151,-1.688793 -4.55704,21.767212 -35.88018,139.60346 -52.82119,273.03762 -48.69309,383.52615 2.43253,65.10676 6.91334,103.73232 22.65136,195.25991 12.25869,71.29282 15.17193,94.10593 16.09024,126 0.3088,10.725 1.20515,23.8287 1.99189,29.11933 1.93143,12.98836 1.85201,33.0861 -0.16671,42.18326 -4.19674,18.91228 -16.05084,33.63558 -34.90285,43.35085 -21.48021,11.0697 -44.11371,16.34622 -113,26.34354 -94.03985,13.6478 -144.89543,27.38304 -198,53.47647 -15.33557,7.53528 -43.61119,23.66054 -47.55615,27.12074 -1.31526,1.15363 -1.77967,1.15167 -3,-0.0127 z M 563.001,613.50297 500.00001,550.50198 437.25199,613.25 l -62.74802,62.74802 62.99505,63.001 62.99505,63.001 62.75396,-62.74803 62.75396,-62.74803 z m -188,-345 -63.00099,-63.00099 -62.74802,62.74802 -62.74802,62.74802 62.99505,63.001 62.99505,63.001 62.75396,-62.74803 62.75396,-62.74803 z m 375,0 -63.00099,-63.00099 -62.74802,62.74802 -62.74802,62.74802 62.99505,63.001 62.99505,63.001 62.75396,-62.74803 62.75396,-62.74803 z"
       style="fill:#983200" />
  </g>
</svg>

A  => themes/hugo-stma +1 -0
@@ 1,1 @@
Subproject commit 47636acd4c1a83e4efada97b508072663c0aac77