-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d0a27a0
commit 0debda9
Showing
87 changed files
with
2,782 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
# Apply override to all files in the directory | ||
*.md linguist-detectable | ||
|
||
# Auto detect text files and perform LF normalization | ||
* text=auto eol=lf | ||
|
||
# The above will handle all files NOT found below | ||
# Documents | ||
*.doc diff=astextplain | ||
*.DOC diff=astextplain | ||
*.docx diff=astextplain | ||
*.DOCX diff=astextplain | ||
*.dot diff=astextplain | ||
*.DOT diff=astextplain | ||
*.pdf diff=astextplain | ||
*.PDF diff=astextplain | ||
*.rtf diff=astextplain | ||
*.RTF diff=astextplain | ||
*.md text diff=markdown | ||
*.mdx text diff=markdown | ||
*.tex text diff=tex | ||
*.adoc text | ||
*.csv text | ||
*.txt text | ||
*.sql text | ||
*.epub diff=astextplain | ||
|
||
# Graphics | ||
*.png binary | ||
*.jpg binary | ||
*.jpeg binary | ||
*.gif binary | ||
*.tif binary | ||
*.tiff binary | ||
*.ico binary | ||
# SVG treated as text by default. | ||
*.svg binary | ||
# If you want to treat it as binary, | ||
# use the following line instead. | ||
# *.svg text | ||
*.eps binary | ||
|
||
# Scripts | ||
*.bash text eol=lf | ||
*.sh text eol=lf | ||
# These are explicitly windows files and should use crlf | ||
*.bat text eol=crlf | ||
*.cmd text eol=crlf | ||
*.ps1 text eol=crlf | ||
|
||
# Serialisation | ||
*.json text | ||
*.toml text | ||
*.xml text | ||
*.yaml text | ||
*.yml text | ||
|
||
# Archives | ||
*.7z binary | ||
*.gz binary | ||
*.tar binary | ||
*.tgz binary | ||
*.zip binary | ||
|
||
# Text files where line endings should be preserved | ||
*.patch -text | ||
|
||
# Lua Source files | ||
*.lua text | ||
|
||
# Luadoc output | ||
*.html text diff=html | ||
*.css text diff=css | ||
|
||
# Exclude files from exporting | ||
.gitattributes export-ignore | ||
.gitignore export-ignore | ||
.gitkeep export-ignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Zola - Build only | ||
|
||
on: | ||
# push: | ||
# branches: | ||
# - main | ||
pull_request: | ||
workflow_dispatch: | ||
|
||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
|
||
concurrency: | ||
group: "pages" | ||
cancel-in-progress: false | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
jobs: | ||
build-only: | ||
runs-on: ubuntu-latest | ||
# if: github.ref != 'refs/heads/main' | ||
steps: | ||
- name: Checkout main | ||
uses: actions/checkout@v4 | ||
- name: Install Zola | ||
uses: taiki-e/install-action@zola | ||
- name: Build Zola | ||
run: zola build | ||
env: | ||
BUILD_ONLY: true | ||
BUILD_FLAGS: --drafts | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
name: Zola - Build and Deploy to GH Pages | ||
|
||
on: | ||
# push: | ||
# branches: | ||
# - main | ||
# pull_request: | ||
workflow_dispatch: | ||
|
||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
|
||
concurrency: | ||
group: "pages" | ||
cancel-in-progress: false | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
# if: github.ref != 'refs/heads/main' | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Install Zola | ||
uses: taiki-e/install-action@zola | ||
- name: Build Zola | ||
run: zola build | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Upload artifact | ||
uses: semanticdata/[email protected] | ||
with: | ||
path: ./public | ||
|
||
deploy: | ||
runs-on: ubuntu-latest | ||
needs: build | ||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
steps: | ||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: semanticdata/[email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: Zola - Deploy to gh-pages branch | ||
on: | ||
workflow_dispatch: | ||
# pull_request: | ||
# push: | ||
# branches: | ||
# - main | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v4 | ||
- name: build_and_deploy | ||
uses: shalzz/[email protected] | ||
env: | ||
PAGES_BRANCH: gh-pages | ||
TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
public |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
MIT License | ||
|
||
Copyright (c) 2023 Miguel Pimentel | ||
|
||
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 file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<h1 align=center>📓 MiguelPimentel.do</h1> | ||
|
||
<p align="center"> | ||
<img src="https://img.shields.io/github/languages/code-size/semanticdata/semanticdata.github.io" /> | ||
<img src="https://img.shields.io/github/repo-size/semanticdata/semanticdata.github.io" /> | ||
<img src="https://img.shields.io/github/commit-activity/t/semanticdata/semanticdata.github.io" /> | ||
<img src="https://img.shields.io/github/last-commit/semanticdata/semanticdata.github.io" /> | ||
<img src="https://img.shields.io/website/https/miguelpimentel.do.svg" /> | ||
</p> | ||
|
||
## Introduction | ||
|
||
Personal website powered by [Zola](https://www.getzola.org/), and themed with [serene](https://github.com/isunjn/serene). | ||
|
||
## Changes from Upstream | ||
|
||
- New *layout*: `Page`. | ||
- New header *partial* `_header-journal.html`. | ||
- New `/now`, `/uses`, and `/meta` sections and pages. | ||
|
||
### Accessibility | ||
|
||
Replaced all failing[^1] color variables with shades of the same color that returned passing scores. | ||
|
||
| Variable | Old Color | New Color | Old Score | New Score | | ||
| ------------------------- | --------- | --------- | --------- | --------- | | ||
| `primary-color` | `#698BCF` | `#3F537C` | `3.39` | `7.67` | | ||
| `primary-color-dark` | `#698BCF` | `#96ADDD` | `4.75` | `7.14` | | ||
| `text-pale-color` | `#9AA2B9` | `#4C515C` | `2.55` | `7.96` | | ||
| `text-pale-color-dark` | `#5d6470` | `#ADB1B7` | `2.70` | `7.47` | | ||
| `callout-note-color` | `#698BCF` | `#3F537C` | `3.39` | `7.67` | | ||
| `callout-note-color-dark` | `#698BCF` | `#96ADDD` | `4.75` | `7.14` | | ||
|
||
### Useful Commands | ||
|
||
| **Command** | Description | | ||
| ------------ | --------------------------------------------------------------------------------- | | ||
| `zola build` | Only builds the site into the `/public` folder, which is ignored in `.gitignore`. | | ||
| `zola serve` | Builds and serves the site locally, watches for changes, refreshes automatically. | | ||
|
||
## Acknowledgments | ||
|
||
The theme's default icons come from [Remix Icon](https://remixicon.com/). | ||
|
||
## License | ||
|
||
Source code in this repository is available under the [MIT](LICENSE) license. | ||
|
||
[^1]: Color Contrast Checker: passing scores ≥ 7.00. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
base_url = "https://miguelpimentel.do/" # Domain name of your website | ||
title = "semanticdata" | ||
description = "Miguel Pimentel. Problem solver, hobby developer, music enjoyer, and public infrastructure enthusiast." | ||
default_language = "en" | ||
theme = "serene" | ||
output_dir = "public" | ||
compile_sass = true | ||
minify_html = true | ||
build_search_index = false # Keep this false, search is temporarily unsupported | ||
generate_feed = false # Whether to generate a feed file in root, read docs for more info about rss feed | ||
feed_filename = "feed.xml" # The file name of feed, "feed.xml" / "atom.xml" / "rss.xml", read docs for more info | ||
taxonomies = [{ name = "tags" }, { name = "categories" }] | ||
|
||
[markdown] | ||
highlight_code = true | ||
highlight_theme = "css" | ||
extra_syntaxes_and_themes = ["highlight_themes"] | ||
highlight_themes_css = [ | ||
{ theme = "serene-light", filename = "hl-light.css" }, | ||
{ theme = "serene-dark", filename = "hl-dark.css" }, | ||
] | ||
render_emoji = false | ||
external_links_target_blank = false | ||
external_links_no_follow = true | ||
external_links_no_referrer = true | ||
smart_punctuation = false | ||
|
||
[slugify] | ||
paths = "on" | ||
taxonomies = "on" | ||
anchors = "on" | ||
|
||
[extra] | ||
|
||
name = "Miguel Pimentel" # Your name | ||
id = "semanticdata" # Your id / username / handle | ||
bio = "Problem solver, hobby developer, music enjoyer, and public infrastructure enthusiast." # Your bio | ||
avatar = "img/avatar.webp" # Your avatar | ||
links = [ # Your links | ||
{ name = "GitHub", icon = "github", url = "https://github.com/semanticdata/" }, | ||
{ name = "Email", icon = "email", url = "mailto:[email protected]" }, | ||
# { name = "Twitter", icon = "twitter", url = "https://twitter.com/<your-username>" }, | ||
] | ||
|
||
homepage_layout = "about" # "about" | "list" | ||
|
||
sections = [ | ||
{ name = "blog", path = "/blog", is_external = false }, | ||
{ name = "projects", path = "/projects", is_external = false }, | ||
{ name = "journal", path = "/journal", is_external = false }, | ||
# { name = "about", path = "/about", is_external = false }, | ||
# { name = "now", path = "/now", is_external = false }, | ||
# { name = "uses", path = "/uses", is_external = false }, | ||
# { name = "github", path = "https://github.com/<your-username>", is_external = true }, | ||
] | ||
blog_section_path = "/blog" | ||
|
||
nav_separator = "::" | ||
nav_wrapper_left = "{" | ||
nav_wrapper_right = "} ;" | ||
nav_wrapper_separator = "," | ||
|
||
display_id = true # Whether to display your id on homepage | ||
blog_categorized = false # Whether to categorize blog posts | ||
blur_effect = true # Whether to turn on blur effect on navigation bar | ||
back_to_top = true # Whether to show back-to-top button on post pages | ||
|
||
toc = true # Whether to show Table-Of-Contents by default | ||
copy = true # Whether to add a copy button on code blocks by default | ||
comment = false # Whether to show giscus comment section by default, see https://giscus.app for more info | ||
display_tags = true # Whether to display tags on post pages by default | ||
truncate_summary = false # Whether to truncate the summary of a post by default | ||
|
||
outdate_alert = false # Whether to show outdate alert by default | ||
outdate_alert_days = 120 # How many days will a post be outdated by default | ||
outdate_alert_text_before = "This article was last updated " | ||
outdate_alert_text_after = " days ago and may be out of date." | ||
|
||
footer_copyright = "© 2023 semanticdata" | ||
footer_credits = true # Whether to show "powered by zola and serene" in footer | ||
|
||
not_found_title = "404" | ||
not_found_error_text = "Not Found" | ||
not_found_recover_text = "« back to home »" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
+++ | ||
template = 'home.html' | ||
|
||
[extra] | ||
lang = 'en' | ||
+++ | ||
|
||
Hi, I'm Miguel. Problem solver, hobby developer, music enjoyer, and public infrastructure enthusiast based in Minnesota, USA. You can find me under different nicknames around (e.g. [Data](https://na.finalfantasyxiv.com/lodestone/character/20296985/), [Ezra](https://wiki.eveuniversity.org/User:Ezra_Salaz)). I think a lot, work a lot, have existential crises, and know just enough about making websites to make me dangerous. I enjoy writing, reading, coding, listening to music, and love having a problem to solve. | ||
|
||
Would you like to know more? Consider checking out [/now](/now), [/uses](/uses), or my [digital garden](https://forgetfulnotes.com/). | ||
|
||
Please tell your dog (or cat) I said "Hi"! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
+++ | ||
title = "blog" | ||
description = "My blog section." | ||
sort_by = "date" | ||
template = "blog.html" | ||
page_template = "post.html" | ||
insert_anchor_links = "right" | ||
generate_feed = true | ||
|
||
[extra] | ||
lang = 'en' | ||
+++ |
Oops, something went wrong.