Commit 022c04d2 authored by Morgan McMillian's avatar Morgan McMillian

new site theme

parent 347c9b6a
languageCode = "en-us"
theme = "blackburn"
theme = "binario"
baseurl = "https://thrrgilag.net/" # Make sure to end baseurl with a '/'
title = "Morgan McMillian"
......@@ -25,8 +25,9 @@ paginate = 10
dateFormat = "02 Jan 2006, 15:04"
# Include any custom CSS and/or JS files
# (relative to /static folder)
custom_css = ["custom.css"]
customCSS = ["custom.css"]
# custom_js = ["js/my.js"]
columns = 1
[menu]
# Shown in the side menu.
......@@ -66,12 +67,12 @@ paginate = 10
weight = 6
url = "/contact/"
[social]
[params.social]
# Link your social networking accounts to the side menu
# by entering your username or ID.
# Techie
github = "thrrgilag"
gitlab = "https://gitlab.dreamfall.space/thrrgilag"
gnusocial = "https://pleroma.thrrgilag.space/thrrgilag"
mastodon = "https://pleroma.thrrgilag.space/thrrgilag"
pnut = "thrrgilag"
.yoda {
border: none;
}
.yoda table {
border-spacing: 10px;
border: none;
}
.yoda th {
text-align: right;
padding-right: 10px;
border: none;
}
.yoda td {
border: none;
}
\ No newline at end of file
# editorconfig.org
root = true
[*]
charset = utf-8
indent_style = tab
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
[*.html]
insert_final_newline = false
[*.md]
trim_trailing_whitespace = false
[*.{json,yaml,yml,toml,md,babelrc,eslintrc,stylelintrc}]
indent_style = space
indent_size = 2
# Node/npm
node_modules/
npm-debug.log
# IDE
.idea
*.sublime-project
*.sublime-workspace
.vscode/*
# OS
._*
Thumbs.db
.DS_Store
.Trashes
.Spotlight-V100
.AppleDouble
.LSOverride
Desktop.ini
{
"plugins": [
"stylelint-order"
],
"rules": {
"at-rule-empty-line-before": [
"always",
{
"except": [
"blockless-after-same-name-blockless",
"first-nested"
],
"ignore": [
"after-comment"
]
}
],
"at-rule-name-case": "lower",
"at-rule-name-space-after": "always-single-line",
"at-rule-semicolon-newline-after": "always",
"block-closing-brace-newline-after": "always",
"block-closing-brace-empty-line-before": "never",
"block-no-empty": true,
"block-opening-brace-newline-after": "always-multi-line",
"color-hex-case": "lower",
"color-hex-length": "short",
"color-no-invalid-hex": true,
"comment-no-empty": true,
"declaration-bang-space-after": "never",
"declaration-bang-space-before": "always",
"declaration-block-no-duplicate-properties": [
true,
{
"ignore": [
"consecutive-duplicates-with-different-values"
]
}
],
"declaration-block-no-shorthand-property-overrides": true,
"declaration-block-semicolon-newline-after": "always-multi-line",
"declaration-block-semicolon-space-after": "always-single-line",
"declaration-block-semicolon-space-before": "never",
"declaration-block-single-line-max-declarations": 1,
"declaration-block-trailing-semicolon": "always",
"declaration-colon-newline-after": "always-multi-line",
"declaration-colon-space-after": "always-single-line",
"declaration-colon-space-before": "never",
"font-family-no-duplicate-names": true,
"function-calc-no-unspaced-operator": true,
"function-comma-newline-after": "always-multi-line",
"function-comma-space-after": "always-single-line",
"function-comma-space-before": "never",
"function-linear-gradient-no-nonstandard-direction": true,
"function-max-empty-lines": 0,
"function-name-case": "lower",
"function-parentheses-newline-inside": "always-multi-line",
"function-parentheses-space-inside": "never-single-line",
"function-whitespace-after": "always",
"indentation": "tab",
"keyframe-declaration-no-important": true,
"length-zero-no-unit": true,
"max-empty-lines": 1,
"media-feature-colon-space-after": "always",
"media-feature-colon-space-before": "never",
"media-feature-name-case": "lower",
"media-feature-name-no-unknown": true,
"media-feature-parentheses-space-inside": "never",
"media-feature-range-operator-space-after": "always",
"media-feature-range-operator-space-before": "always",
"media-query-list-comma-newline-after": "always-multi-line",
"media-query-list-comma-space-after": "always-single-line",
"media-query-list-comma-space-before": "never",
"no-empty-source": true,
"no-eol-whitespace": true,
"no-extra-semicolons": true,
"no-invalid-double-slash-comments": true,
"no-missing-end-of-source-newline": true,
"number-no-trailing-zeros": true,
"property-case": "lower",
"property-no-unknown": true,
"selector-attribute-brackets-space-inside": "never",
"selector-attribute-operator-space-after": "never",
"selector-attribute-operator-space-before": "never",
"selector-combinator-space-after": "always",
"selector-combinator-space-before": "always",
"selector-descendant-combinator-no-non-space": true,
"selector-list-comma-newline-after": "always",
"selector-list-comma-space-before": "never",
"selector-pseudo-class-case": "lower",
"selector-pseudo-class-no-unknown": true,
"selector-pseudo-class-parentheses-space-inside": "never",
"selector-pseudo-element-case": "lower",
"selector-pseudo-element-colon-notation": "double",
"selector-pseudo-element-no-unknown": true,
"selector-type-case": "lower",
"selector-type-no-unknown": true,
"shorthand-property-no-redundant-values": true,
"string-no-newline": true,
"unit-case": "lower",
"unit-no-unknown": true,
"value-list-comma-newline-after": "always-multi-line",
"value-list-comma-space-after": "always-single-line",
"value-list-comma-space-before": "never",
"value-list-max-empty-lines": 0,
"order/properties-order": [
"position",
"top",
"right",
"bottom",
"left",
"z-index",
"box-sizing",
"display",
"flex",
"flex-align",
"flex-basis",
"flex-direction",
"flex-wrap",
"flex-flow",
"flex-shrink",
"flex-grow",
"flex-wrap",
"align-content",
"align-items",
"align-self",
"justify-content",
"order",
"float",
"width",
"min-width",
"max-width",
"height",
"min-height",
"max-height",
"padding",
"padding-top",
"padding-right",
"padding-bottom",
"padding-left",
"margin",
"margin-top",
"margin-right",
"margin-bottom",
"margin-left",
"overflow",
"overflow-x",
"overflow-y",
"-webkit-overflow-scrolling",
"-ms-overflow-x",
"-ms-overflow-y",
"-ms-overflow-style",
"columns",
"column-count",
"column-fill",
"column-gap",
"column-rule",
"column-rule-width",
"column-rule-style",
"column-rule-color",
"column-span",
"column-width",
"orphans",
"widows",
"clip",
"clear",
"font",
"font-family",
"font-size",
"font-style",
"font-weight",
"font-variant",
"font-size-adjust",
"font-stretch",
"font-effect",
"font-emphasize",
"font-emphasize-position",
"font-emphasize-style",
"font-smooth",
"src",
"hyphens",
"line-height",
"color",
"text-align",
"text-align-last",
"text-emphasis",
"text-emphasis-color",
"text-emphasis-style",
"text-emphasis-position",
"text-decoration",
"text-indent",
"text-justify",
"text-outline",
"-ms-text-overflow",
"text-overflow",
"text-overflow-ellipsis",
"text-overflow-mode",
"text-shadow",
"text-transform",
"text-wrap",
"-webkit-text-size-adjust",
"-ms-text-size-adjust",
"letter-spacing",
"-ms-word-break",
"word-break",
"word-spacing",
"-ms-word-wrap",
"word-wrap",
"overflow-wrap",
"tab-size",
"white-space",
"vertical-align",
"direction",
"unicode-bidi",
"list-style",
"list-style-position",
"list-style-type",
"list-style-image",
"pointer-events",
"-ms-touch-action",
"touch-action",
"cursor",
"visibility",
"zoom",
"table-layout",
"empty-cells",
"caption-side",
"border-spacing",
"border-collapse",
"content",
"quotes",
"counter-reset",
"counter-increment",
"resize",
"user-select",
"nav-index",
"nav-up",
"nav-right",
"nav-down",
"nav-left",
"background",
"background-color",
"background-image",
"filter",
"background-repeat",
"background-attachment",
"background-position",
"background-position-x",
"background-position-y",
"background-clip",
"background-origin",
"background-size",
"border",
"border-color",
"border-style",
"border-width",
"border-top",
"border-top-color",
"border-top-style",
"border-top-width",
"border-right",
"border-right-color",
"border-right-style",
"border-right-width",
"border-bottom",
"border-bottom-color",
"border-bottom-style",
"border-bottom-width",
"border-left",
"border-left-color",
"border-left-style",
"border-left-width",
"border-radius",
"border-top-left-radius",
"border-top-right-radius",
"border-bottom-right-radius",
"border-bottom-left-radius",
"border-image",
"border-image-source",
"border-image-slice",
"border-image-width",
"border-image-outset",
"border-image-repeat",
"outline",
"outline-width",
"outline-style",
"outline-color",
"outline-offset",
"box-shadow",
"opacity",
"-ms-interpolation-mode",
"page-break-after",
"page-break-before",
"page-break-inside",
"transition",
"transition-delay",
"transition-timing-function",
"transition-duration",
"transition-property",
"transform",
"transform-origin",
"perspective",
"appearance",
"animation",
"animation-name",
"animation-duration",
"animation-play-state",
"animation-timing-function",
"animation-delay",
"animation-iteration-count",
"animation-direction",
"animation-fill-mode",
"quotes",
"will-change",
"fill",
"fill-rule",
"stroke"
]
}
}
language: node_js
node_js:
- "8"
sudo: false
script:
- npm run lint
branches:
only:
- master
# Contributing to Binario
Looking to contribute something to **Binario** theme? Bug reports and code patches are welcome.
Please take a moment to review this document in order to make the contribution process easy and effective for everyone involved.
## Issues
The [issue tracker](https://github.com/vimux/binario/issues) is the preferred channel for bug reports and features requests, but please respect the following restrictions:
* Please **do not** combine a few problems or features in one issue. Create separate issues if needed.
* Please **do not** create issue that contains title only. Write useful title and description.
* Please **do not** post comments consisting solely of "+1" or emoji. Use [GitHub's "reactions" feature](https://github.com/blog/2119-add-reactions-to-pull-requests-issues-and-comments) instead. The project maintainer reserve the right to delete such comments.
* Please specify the exact steps to reproduce bug.
## Pull requests (PR)
**Please ask first** before embarking on any significant pull request (e.g. implementing features or refactoring code), otherwise you risk spending a lot of time working on something that the project maintainer might not want to merge into the project.
**IMPORTANT: By submitting a patch, you agree to allow the project owner to license your work under the terms of the [MIT License](LICENSE).**
Please respect coding guidelines used throughout the project (indentation, accurate comments, etc.) and our PR acceptance criteria.
### PR acceptance criteria
* Please keep the change in a single PR as small as possible.
* 1 PR = 1 FIX or FEATURE (do not combine things, send separate PR if needed)
* Does not break any existing functionality
* Your changes can merge without problems
* Provide a reasonable PR title and description
* If the PR changes the UI it should include before-and-after screenshots or a link to a video
* Be prepared to answer questions and make changes in your code
**IMPORTANT: No guarantees can be made that your pull request will be accepted.**
## License
By contributing your code, you agree to license your contribution under the [MIT License](LICENSE).
The MIT License (MIT)
Copyright (c) 2018 Vimux
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.
This diff is collapsed.
---
title: "{{ replace .TranslationBaseName '-' ' ' | title }}"
date: "{{ .Date }}"
---
[[icons]]
id = "email"
url = "mailto:%s"
icon = "svg/email.svg"
weight = 10
[[icons]]
id = "facebook"
url = "https://www.facebook.com/%s"
icon = "svg/facebook.svg"
weight = 20
[[icons]]
id = "twitter"
url = "https://twitter.com/%s"
icon = "svg/twitter.svg"
weight = 30
[[icons]]
id = "telegram"
url = "https://t.me/%s"
icon = "svg/telegram.svg"
weight = 40
[[icons]]
id = "instagram"
url = "https://www.instagram.com/%s"
icon = "svg/instagram.svg"
weight = 50
[[icons]]
id = "pinterest"
url = "https://www.pinterest.com/%s"
icon = "svg/pinterest.svg"
weight = 60
[[icons]]
id = "vk"
url = "https://vk.com/%s"
icon = "svg/vk.svg"
weight = 70
[[icons]]
id = "linkedin"
url = "https://linkedin.com/in/%s"
icon = "svg/linkedin.svg"
weight = 80
[[icons]]
id = "github"
url = "https://github.com/%s"
icon = "svg/github.svg"
weight = 90
[[icons]]
id = "gitlab"
url = "%s"
icon = "svg/gitlab.svg"
weight = 100
[[icons]]
id = "stackoverflow"
url = "https://stackoverflow.com/users/%s"
icon = "svg/stackoverflow.svg"
weight = 110
[[icons]]
id = "mastodon"
url = "%s"
icon = "svg/mastodon.svg"
weight = 120
[[icons]]
id = "medium"
url = "https://medium.com/@%s"
icon = "svg/medium.svg"
weight = 130
[[icons]]
id = "pnut"
url = "https://pnut.io/@%s"
icon = "svg/pnut.svg"
weight = 140
# Post
- id: post_toc
translation: Table of Contents
- id: meta_lastmod
translation: Updated
- id: meta_categories
translation: Categories
# Share
- id: share-caption
translation: Share on
- id: save-caption
translation: Save to
# Related
- id: related_title
translation: Related
# Footer
- id: footer_credits
translation: "Powered by <a href=\"https://gohugo.io/\" rel=\"nofollow noopener\" target=\"_blank\">Hugo</a> and <a href=\"https://github.com/vimux/binario\" rel=\"nofollow noopener\" target=\"_blank\">Binario</a> theme."
# "No posts" empty state
- id: empty_title
translation: "You don't have any posts yet!"
- id: empty_text_start
translation: "As posts are added in your <code>mainSection</code> folders"
- id: empty_text_end
translation: "they'll appear here"
- id: empty_tip
translation: "<b>Tip:</b> You could change <code>mainSection</code> folders in site config file."
# 404
- id: page404_title
translation: "404 Page not found"
- id: page404_lead
translation: "Sorry, the page you were looking for doesn't exist."
- id: page404_link
translation: "Go back to main page"
{{ define "main" }}
<main class="main">
<div class="page404 block center">
<h1 class="page404__title">{{ T "page404_title" }}</h1>
<p class="page404__lead">{{ T "page404_lead" }}</p>
<a class="page404__link" href="{{ "" | relLangURL }}">{{ T "page404_link" }}</a>
</div>
</main>
{{ end }}
\ No newline at end of file
<!DOCTYPE html>
<html class="no-js" lang="{{ .Site.LanguageCode | default "en-us" }}">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="{{ .Site.Params.Manifest.themeColor | default "#1b1b1b" }}">
<title>{{ block "title" . }}{{ if not .IsHome }}{{ .Title }} | {{ end }}{{ .Site.Title }}{{ end }}</title>
<script>(function(d,e){d[e]=d[e].replace("no-js","js");})(document.documentElement,"className");</script>
<meta name="description" content="{{ if .IsHome }}{{ .Site.Params.description }}{{ else }}{{ .Description }}{{ end }}">
{{- if .Site.Params.opengraph }}
{{ template "_internal/opengraph.html" . }}
{{- end }}
{{- if .Site.Params.twitter_cards }}
{{ template "_internal/twitter_cards.html" . }}
{{- end }}
<link rel="stylesheet" href="{{ "css/main.css" | relURL }}">
{{- range .Site.Params.customCSS }}
<link rel="stylesheet" href="{{ . | relURL }}">
{{- end }}
{{- with .Site.Params.colorTheme }}
<link rel="stylesheet" href="{{ (printf "css/themes/%s.css" .) | relURL }}">
{{- end }}
<link rel="icon" href="{{ "icons/16.png" | relURL }}" sizes="16x16" type="image/png">
<link rel="icon" href="{{ "icons/32.png" | relURL }}" sizes="32x32" type="image/png">
{{- with .OutputFormats.Get "rss" }}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s">` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }}
{{- end }}
{{- with ((.Site.GetPage "home").OutputFormats.Get "manifest") }}
<link rel="manifest" href="{{ "manifest.json" | relURL }}">
{{- end }}
{{- if not .Site.IsServer }}
{{ template "_internal/google_analytics_async.html" . }}
{{- end }}
</head>
<body>
{{ partial "header" . }}
<div class="primary">
{{ block "main" . }}
{{- if or .Title .Content }}
<div class="page block">
{{ with .Title }}<h1 class="page__title">{{ . }}</h1>{{ end }}
{{ with .Content }}<div class="page__content{{ if not $.Title }} page__content--notitle{{ end }}">{{ . }}</div>{{ end }}
</div>
{{ end }}
{{ end }}
</div>
{{ partial "footer" . }}
{{- with .Site.Menus.main }}
<script src="{{ "js/menu.js" | relURL }}"></script>
{{- end }}
{{- partial "mathjax.html" . -}}
{{- range .Site.Params.customJS }}
<script src="{{ . | relURL }}"></script>
{{- end }}
</body>
</html>
\ No newline at end of file
{{ define "main" }}
<main class="main">
{{- if or .Title .Content }}
<div class="page block">
{{ with .Title }}<h1 class="page__title">{{ . }}</h1>{{ end }}
{{ with .Content }}<div class="page__content{{ if not $.Title }} page__content--notitle{{ end }}">{{ . }}</div>{{ end }}
</div>
{{- end }}
<div class="cards">
{{ range .Paginator.Pages }}
<div class="card{{ if and (ge ($.Param "columns") 1) (le ($.Param "columns") 3) }} card--{{ $.Param "columns" }}col{{ else }} card--2col{{ end }}">
{{ .Render "summary" }}
</div>
{{ end }}
</div>
</main>
{{ partial "pagination.html" . }}
{{ end }}
\ No newline at end of file
{{ define "main" }}
<main class="main">
<div class="single block">
<article class="post">
{{- partial "post_thumbnail.html" (dict "page" .) }}
{{- partial "post_meta.html" (dict "dot" . "class" "mb") }}
<h1 class="post__title">{{ .Title }}</h1>
{{- partial "post_toc.html" . }}
<div class="post__content">{{ .Content }}</div>
{{ if or (.Param "share") (isset $.Params "tags") }}
<footer class="post__footer">
{{ partial "post_tags.html" . }}
{{ partial "post_share.html" . }}
</footer>
{{ end }}