dotfolio-theme 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE +21 -0
- data/LICENSE.txt +21 -0
- data/README.md +50 -0
- data/_data/theme.yml +88 -0
- data/_includes/footer.html +18 -0
- data/_includes/head.html +24 -0
- data/_includes/hero.html +32 -0
- data/_includes/nav.html +39 -0
- data/_includes/projects.html +36 -0
- data/_includes/recent-posts.html +32 -0
- data/_layouts/default.html +11 -0
- data/_layouts/home.html +10 -0
- data/_layouts/page.html +13 -0
- data/_layouts/post.html +23 -0
- data/_layouts/search.html +13 -0
- data/assets/css/main.css +1478 -0
- data/assets/css/tailwind.css +411 -0
- data/assets/icons/angular.svg +1 -0
- data/assets/icons/bootstrap.svg +1 -0
- data/assets/icons/css.svg +1 -0
- data/assets/icons/django.svg +1 -0
- data/assets/icons/docker.svg +1 -0
- data/assets/icons/gatsbyjs.svg +1 -0
- data/assets/icons/git.svg +1 -0
- data/assets/icons/github.svg +1 -0
- data/assets/icons/heroku.svg +1 -0
- data/assets/icons/html5.svg +1 -0
- data/assets/icons/instagram.svg +1 -0
- data/assets/icons/javascript.svg +1 -0
- data/assets/icons/jekyll.svg +1 -0
- data/assets/icons/jira.svg +1 -0
- data/assets/icons/linkedin.svg +1 -0
- data/assets/icons/mysql.svg +1 -0
- data/assets/icons/netlify.svg +1 -0
- data/assets/icons/php.svg +1 -0
- data/assets/icons/postgresql.svg +1 -0
- data/assets/icons/python.svg +1 -0
- data/assets/icons/rubyonrails.svg +1 -0
- data/assets/icons/symfony.svg +1 -0
- data/assets/icons/tailwind.svg +1 -0
- data/assets/icons/twitter.svg +1 -0
- data/assets/icons/vscode.svg +1 -0
- data/assets/images/about.txt +6 -0
- data/assets/images/android-chrome-192x192.png +0 -0
- data/assets/images/android-chrome-512x512.png +0 -0
- data/assets/images/apple-touch-icon.png +0 -0
- data/assets/images/favicon-16x16.png +0 -0
- data/assets/images/favicon-32x32.png +0 -0
- data/assets/images/favicon.ico +0 -0
- data/assets/images/profile.jpg +0 -0
- data/assets/images/site.webmanifest +1 -0
- data/assets/js/search.js +48 -0
- data/assets/js/theme-switcher.js +16 -0
- data/assets/projects/project.png +0 -0
- data/bin/dotfolio-theme +3 -0
- data/lib/dotfolio-theme/installer.rb +42 -0
- data/lib/dotfolio-theme/templates/_config.yml +101 -0
- data/lib/dotfolio-theme/templates/about.markdown +75 -0
- data/lib/dotfolio-theme/templates/notes-index.html +38 -0
- data/lib/dotfolio-theme/templates/search.json +13 -0
- metadata +134 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: ba490a8198dd1b105e503000fa606a62922f5e55d8b9c43f98a8750114e2eb13
|
|
4
|
+
data.tar.gz: 301df074ead7bb1909e4a5593917bfb556b2e08e2b7a8b987f1b640b305c86dd
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 2832737ce1435279287cf2fc6572fccd4835a16ff834c418a46cf9267343a362e1a62823b76628aea2c5a5db6062e9def211b00167cb38a48c85d5cbf5d7e4c4
|
|
7
|
+
data.tar.gz: 65ce70ed6c3335b6bad717918016f60d25d2a9b69816d50d582624b418c1745f25deecf3159bf608b138cea8f70a1c7bfeffc037eb8e4f37c12fd3019d7206bd
|
data/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Jennie Ron Ablog
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
data/LICENSE.txt
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Jennie Ron Ablog
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# dotfolio-theme
|
|
2
|
+
|
|
3
|
+
Welcome to your new Jekyll theme! In this directory, you'll find the files you need to be able to package up your theme into a gem. Put your layouts in `_layouts`, your includes in `_includes`, your sass files in `_sass` and any other assets in `assets`.
|
|
4
|
+
|
|
5
|
+
To experiment with this code, add some sample content and run `bundle exec jekyll serve` – this directory is setup just like a Jekyll site!
|
|
6
|
+
|
|
7
|
+
TODO: Delete this and the text above, and describe your gem
|
|
8
|
+
|
|
9
|
+
## Installation
|
|
10
|
+
|
|
11
|
+
Add this line to your Jekyll site's `Gemfile`:
|
|
12
|
+
|
|
13
|
+
```ruby
|
|
14
|
+
gem "dotfolio-theme"
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
And add this line to your Jekyll site's `_config.yml`:
|
|
18
|
+
|
|
19
|
+
```yaml
|
|
20
|
+
theme: dotfolio-theme
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
And then execute:
|
|
24
|
+
|
|
25
|
+
$ bundle
|
|
26
|
+
|
|
27
|
+
Or install it yourself as:
|
|
28
|
+
|
|
29
|
+
$ gem install dotfolio-theme
|
|
30
|
+
|
|
31
|
+
## Usage
|
|
32
|
+
|
|
33
|
+
TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
|
|
34
|
+
|
|
35
|
+
## Contributing
|
|
36
|
+
|
|
37
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/dotfolio-theme. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](https://www.contributor-covenant.org/) code of conduct.
|
|
38
|
+
|
|
39
|
+
## Development
|
|
40
|
+
|
|
41
|
+
To set up your environment to develop this theme, run `bundle install`.
|
|
42
|
+
|
|
43
|
+
Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
|
|
44
|
+
|
|
45
|
+
When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
|
|
46
|
+
To add a custom directory to your theme-gem, please edit the regexp in `dotfolio-theme.gemspec` accordingly.
|
|
47
|
+
|
|
48
|
+
## License
|
|
49
|
+
|
|
50
|
+
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
data/_data/theme.yml
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
title: Brainy Smurf
|
|
2
|
+
description: Developer Portfolio and Notes
|
|
3
|
+
|
|
4
|
+
hero:
|
|
5
|
+
name: Brainy Smurf
|
|
6
|
+
title: Curious Engineer
|
|
7
|
+
location: Smurf Village of Innovation
|
|
8
|
+
bio: I smurf in crafting the most clever, tidy, and delightfully smurfy solutions in all of Smurf Village. With my superior smurfing methods and impeccable smurf-logic, I ensure everything is organized, efficient, and properly smurfed to perfection.
|
|
9
|
+
|
|
10
|
+
headings:
|
|
11
|
+
projects:
|
|
12
|
+
heading: Projects
|
|
13
|
+
subheading: A smurfy mix of freelance, volunteer, and passion smurfjects.
|
|
14
|
+
more:
|
|
15
|
+
label: More on GitHub
|
|
16
|
+
link: https://github.com/username
|
|
17
|
+
posts:
|
|
18
|
+
heading: Recent Notes
|
|
19
|
+
subheading: Smurfy notes, bookmarks, and handy smurfources.
|
|
20
|
+
more:
|
|
21
|
+
label: Older notes
|
|
22
|
+
|
|
23
|
+
tools:
|
|
24
|
+
- name: HTML5
|
|
25
|
+
icon: /assets/icons/html5.svg
|
|
26
|
+
- name: CSS3
|
|
27
|
+
icon: /assets/icons/css.svg
|
|
28
|
+
- name: JavaScript
|
|
29
|
+
icon: /assets/icons/javascript.svg
|
|
30
|
+
- name: Bootstrap
|
|
31
|
+
icon: /assets/icons/bootstrap.svg
|
|
32
|
+
- name: Tailwind
|
|
33
|
+
icon: /assets/icons/tailwind.svg
|
|
34
|
+
- name: PHP
|
|
35
|
+
icon: /assets/icons/php.svg
|
|
36
|
+
- name: MySQL
|
|
37
|
+
icon: /assets/icons/mysql.svg
|
|
38
|
+
- name: Postgres
|
|
39
|
+
icon: /assets/icons/postgresql.svg
|
|
40
|
+
- name: Python
|
|
41
|
+
icon: /assets/icons/python.svg
|
|
42
|
+
- name: Django
|
|
43
|
+
icon: /assets/icons/django.svg
|
|
44
|
+
- name: Symfony
|
|
45
|
+
icon: /assets/icons/symfony.svg
|
|
46
|
+
- name: Ruby on Rails
|
|
47
|
+
icon: /assets/icons/rubyonrails.svg
|
|
48
|
+
- name: Angular
|
|
49
|
+
icon: /assets/icons/angular.svg
|
|
50
|
+
- name: GatsbyJS
|
|
51
|
+
icon: /assets/icons/gatsbyjs.svg
|
|
52
|
+
- name: Jekyll
|
|
53
|
+
icon: /assets/icons/jekyll.svg
|
|
54
|
+
- name: Heroku
|
|
55
|
+
icon: /assets/icons/heroku.svg
|
|
56
|
+
- name: Netlify
|
|
57
|
+
icon: /assets/icons/netlify.svg
|
|
58
|
+
- name: Git
|
|
59
|
+
icon: /assets/icons/git.svg
|
|
60
|
+
- name: Docker
|
|
61
|
+
icon: /assets/icons/docker.svg
|
|
62
|
+
- name: Visual Studio
|
|
63
|
+
icon: /assets/icons/vscode.svg
|
|
64
|
+
- name: Jira
|
|
65
|
+
icon: /assets/icons/jira.svg
|
|
66
|
+
|
|
67
|
+
projects:
|
|
68
|
+
- title : Smurfboard
|
|
69
|
+
description: A smurfy app to keep track of all village tasks, from mushroom gardening to potion brewing.
|
|
70
|
+
link: #
|
|
71
|
+
image: assets/projects/project.png
|
|
72
|
+
- title : SmurfLib
|
|
73
|
+
description: A magical collection of scrolls, recipes, and Smurf lore, for every Smurf to learn and share.
|
|
74
|
+
link: #
|
|
75
|
+
image: assets/projects/project.png
|
|
76
|
+
|
|
77
|
+
socials:
|
|
78
|
+
- name: GitHub
|
|
79
|
+
url: https://github.com/yourusername
|
|
80
|
+
icon: /assets/icons/github.svg
|
|
81
|
+
|
|
82
|
+
- name: Instagram
|
|
83
|
+
url: https://instagram.com/yourusername
|
|
84
|
+
icon: /assets/icons/instagram.svg
|
|
85
|
+
|
|
86
|
+
- name: LinkedIn
|
|
87
|
+
url: https://linkedin.com/in/yourusername
|
|
88
|
+
icon: /assets/icons/linkedin.svg
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{% assign socials = site.socials | default: site.data.theme.socials | default: [] %}
|
|
2
|
+
<footer>
|
|
3
|
+
<span class="copyright">
|
|
4
|
+
© {{ "now" | date: "%Y" }} {{ site.author.name | default: site.title }}.
|
|
5
|
+
<span>Powered by
|
|
6
|
+
<!-- Dotfolio Theme Licensing. Please do not remove. -->
|
|
7
|
+
<a href="https://jennieablog.dev/dotfolio-theme" class="link">Dotfolio</a>.
|
|
8
|
+
<!-- Dotfolio Theme Licensing. Please do not remove. -->
|
|
9
|
+
</span>
|
|
10
|
+
</span>
|
|
11
|
+
<span class="social-links">
|
|
12
|
+
{% for social in socials %}
|
|
13
|
+
<a href="{{ social.url }}" target="_blank" rel="noopener noreferrer" aria-label="{{ social.name }}">
|
|
14
|
+
<img src="{{ social.icon | relative_url }}" alt="{{ social.name }} icon" class="social-icon">
|
|
15
|
+
</a>
|
|
16
|
+
{% endfor %}
|
|
17
|
+
</span>
|
|
18
|
+
</footer>
|
data/_includes/head.html
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<head>
|
|
2
|
+
<title>{{ site.title | default:theme.title }}</title>
|
|
3
|
+
|
|
4
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
5
|
+
<meta charset="utf-8">
|
|
6
|
+
<meta name="description"
|
|
7
|
+
content="{{ site.description | default:theme.description }}">
|
|
8
|
+
|
|
9
|
+
<link rel="shortcut icon" type="image/png" href="{{ "/assets/images/favicon.ico" | relative_url }}">
|
|
10
|
+
|
|
11
|
+
<link rel="stylesheet" href="{{ "/assets/css/main.css" | relative_url }}">
|
|
12
|
+
|
|
13
|
+
<!-- Theme Switcher -->
|
|
14
|
+
<script type="text/javascript" src="{{ "/assets/js/theme-switcher.js" | relative_url }}"></script>
|
|
15
|
+
|
|
16
|
+
<!-- Google Font -->
|
|
17
|
+
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
18
|
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
19
|
+
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap" rel="stylesheet">
|
|
20
|
+
|
|
21
|
+
<!-- Syntax Highlighting -->
|
|
22
|
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/prism-themes/1.9.0/prism-z-touch.min.css" integrity="sha512-jKE5T4m8QJxKToppzWRCpDiNMtT6gLX/B2qUuP8UDg6oD/WsIujH2AkUud8HaS7nvK6SCOkjBWGZ/ed7xRbcXg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
|
|
23
|
+
<script src="https://cdn.jsdelivr.net/npm/prismjs/prism.js"></script>
|
|
24
|
+
</head>
|
data/_includes/hero.html
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{% assign hero = site.hero | default: site.data.theme.hero | default: [] %}
|
|
2
|
+
{% assign tools = site.tools | default: site.data.theme.tools | default: [] %}
|
|
3
|
+
<section class="hero">
|
|
4
|
+
<div class="nametag">
|
|
5
|
+
<img src="{{"/assets/images/profile.jpg" | relative_url }}" alt="{{ hero.name }}"
|
|
6
|
+
class="nametag-avatar" />
|
|
7
|
+
<div>
|
|
8
|
+
<h1 class="nametag-greeting">Hello, I'm <span
|
|
9
|
+
class="nametag-name">{{ hero.name }}</span>.</h1>
|
|
10
|
+
<p class="nametag-description">
|
|
11
|
+
A <span class="nametag-jobtitle">{{ hero.title }}</span>
|
|
12
|
+
based in {{ hero.location }}.
|
|
13
|
+
</p>
|
|
14
|
+
</div>
|
|
15
|
+
</div>
|
|
16
|
+
|
|
17
|
+
<p class="bio">
|
|
18
|
+
{{ hero.bio }}
|
|
19
|
+
</p>
|
|
20
|
+
|
|
21
|
+
<p class="tools">Tech Stack & Tools</p>
|
|
22
|
+
<ul>
|
|
23
|
+
{% for tool in tools %}
|
|
24
|
+
<li>
|
|
25
|
+
<div>
|
|
26
|
+
<img src="{{ tool.icon | relative_url }}" alt="{{ tool.name }} icon" class="icon">
|
|
27
|
+
</div>
|
|
28
|
+
<p>{{ tool.name }}</p>
|
|
29
|
+
</li>
|
|
30
|
+
{% endfor %}
|
|
31
|
+
</ul>
|
|
32
|
+
</section>
|
data/_includes/nav.html
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
<nav>
|
|
2
|
+
<div class="nav-logo">
|
|
3
|
+
<a href="/">{{ site.title | default:theme.title }}</a>
|
|
4
|
+
</div>
|
|
5
|
+
<div class="nav-links">
|
|
6
|
+
<a href="/about" class="">About</a>
|
|
7
|
+
<a href="/notes" class="">Notes</a>
|
|
8
|
+
<a href="#" onclick="switchTheme()" class="theme-switcher">
|
|
9
|
+
<span class="sun">
|
|
10
|
+
<svg
|
|
11
|
+
viewBox="0 0 24 24"
|
|
12
|
+
fill="none"
|
|
13
|
+
stroke-width="2"
|
|
14
|
+
stroke-linecap="round"
|
|
15
|
+
stroke-linejoin="round"
|
|
16
|
+
>
|
|
17
|
+
<path
|
|
18
|
+
d="M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"
|
|
19
|
+
></path>
|
|
20
|
+
<path
|
|
21
|
+
d="M12 4v1M17.66 6.344l-.828.828M20.005 12.004h-1M17.66 17.664l-.828-.828M12 20.01V19M6.34 17.664l.835-.836M3.995 12.004h1.01M6 6l.835.836"
|
|
22
|
+
></path>
|
|
23
|
+
</svg>
|
|
24
|
+
</span>
|
|
25
|
+
<span class="moon">
|
|
26
|
+
<svg viewBox="0 0 24 24" fill="none">
|
|
27
|
+
<path
|
|
28
|
+
d="m17.715 15.15.95.316a1 1 0 0 0-1.445-1.185l.495.869ZM9 6.035l.846.534a1 1 0 0 0-1.14-1.49L9 6.035Zm8.221 8.246a5.47 5.47 0 0 1-2.72.718v2a7.47 7.47 0 0 0 3.71-.98l-.99-1.738Zm-2.72.718A5.5 5.5 0 0 1 9 9.5H7a7.5 7.5 0 0 0 7.5 7.5v-2ZM9 9.5c0-1.079.31-2.082.845-2.93L8.153 5.5A7.47 7.47 0 0 0 7 9.5h2Zm-4 3.368C5 10.089 6.815 7.75 9.292 6.99L8.706 5.08C5.397 6.094 3 9.201 3 12.867h2Zm6.042 6.136C7.718 19.003 5 16.268 5 12.867H3c0 4.48 3.588 8.136 8.042 8.136v-2Zm5.725-4.17c-.81 2.433-3.074 4.17-5.725 4.17v2c3.552 0 6.553-2.327 7.622-5.537l-1.897-.632Z"
|
|
29
|
+
></path>
|
|
30
|
+
<path
|
|
31
|
+
fill-rule="evenodd"
|
|
32
|
+
clip-rule="evenodd"
|
|
33
|
+
d="M17 3a1 1 0 0 1 1 1 2 2 0 0 0 2 2 1 1 0 1 1 0 2 2 2 0 0 0-2 2 1 1 0 1 1-2 0 2 2 0 0 0-2-2 1 1 0 1 1 0-2 2 2 0 0 0 2-2 1 1 0 0 1 1-1Z"
|
|
34
|
+
></path>
|
|
35
|
+
</svg>
|
|
36
|
+
</span>
|
|
37
|
+
</a>
|
|
38
|
+
</div>
|
|
39
|
+
</nav>
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{% assign projects = site.projects | default: site.data.theme.projects | default: [] %}
|
|
2
|
+
{% assign headings = site.headings | default: site.data.theme.headings | default: [] %}
|
|
3
|
+
<section class="projects">
|
|
4
|
+
<h2 class="heading">{{ headings.projects.heading | default:headings.projects.heading }}</h2>
|
|
5
|
+
<p class="subheading">{{ headings.projects.subheading | default:headings.projects.subheading }}</p>
|
|
6
|
+
|
|
7
|
+
<div class="project-grid">
|
|
8
|
+
{% for project in projects %}
|
|
9
|
+
<a href="https://{{ project.link }}" target="_blank" rel="noopener noreferrer"
|
|
10
|
+
class="clickable-area">
|
|
11
|
+
<div class="card">
|
|
12
|
+
<!-- Image Wrapper with Padding -->
|
|
13
|
+
<div class="image-container">
|
|
14
|
+
<img src="{{ project.image }}" alt="{{ project.title }}"/>
|
|
15
|
+
</div>
|
|
16
|
+
|
|
17
|
+
<!-- Content -->
|
|
18
|
+
<div class="content-container">
|
|
19
|
+
<h3 class="title">{{ project.title }}</h3>
|
|
20
|
+
<p class="description">{{ project.description }}</p>
|
|
21
|
+
</div>
|
|
22
|
+
</div>
|
|
23
|
+
</a>
|
|
24
|
+
{% endfor %}
|
|
25
|
+
</div>
|
|
26
|
+
|
|
27
|
+
<!-- Show More Button -->
|
|
28
|
+
<div class="more">
|
|
29
|
+
<a href="{{ headings.projects.more.link }}" target="_blank">
|
|
30
|
+
{{ headings.projects.more.label | default:headings.projects.more.label }}
|
|
31
|
+
<svg fill="none" stroke="currentColor" stroke-width="2" viewBox="0 0 24 24">
|
|
32
|
+
<path stroke-linecap="round" stroke-linejoin="round" d="M17 8l4 4m0 0l-4 4m4-4H3" />
|
|
33
|
+
</svg>
|
|
34
|
+
</a>
|
|
35
|
+
</div>
|
|
36
|
+
</section>
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{% assign posts = site.posts | default: [] %}
|
|
2
|
+
{% assign headings = site.headings | default: site.data.theme.headings | default: [] %}
|
|
3
|
+
|
|
4
|
+
<!-- Recent Posts -->
|
|
5
|
+
<section class="posts">
|
|
6
|
+
<h2 class="heading">{{ headings.posts.heading | default:headings.posts.heading }}</h2>
|
|
7
|
+
<p class="subheading">{{ headings.posts.subheading | default:headings.posts.subheading }}</p>
|
|
8
|
+
|
|
9
|
+
<ul>
|
|
10
|
+
{% for post in posts limit:3 %}
|
|
11
|
+
<li>
|
|
12
|
+
<h3 class="title">
|
|
13
|
+
<a href="{{ post.url }}">{{ post.title }}</a>
|
|
14
|
+
</h3>
|
|
15
|
+
<p class="excerpt">
|
|
16
|
+
{{ post.excerpt | strip_html | truncate: 160 }}
|
|
17
|
+
</p>
|
|
18
|
+
<small>{{ post.date | date: "%B %-d, %Y" }}</small>
|
|
19
|
+
</li>
|
|
20
|
+
{% endfor %}
|
|
21
|
+
</ul>
|
|
22
|
+
|
|
23
|
+
<!-- Notes Button -->
|
|
24
|
+
<div class="more">
|
|
25
|
+
<a href="/notes">
|
|
26
|
+
{{ headings.posts.more.label | default:headings.posts.more.label }}
|
|
27
|
+
<svg fill="none" stroke="currentColor" stroke-width="2" viewBox="0 0 24 24">
|
|
28
|
+
<path stroke-linecap="round" stroke-linejoin="round" d="M17 8l4 4m0 0l-4 4m4-4H3" />
|
|
29
|
+
</svg>
|
|
30
|
+
</a>
|
|
31
|
+
</div>
|
|
32
|
+
</section>
|
data/_layouts/home.html
ADDED
data/_layouts/page.html
ADDED
data/_layouts/post.html
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: page
|
|
3
|
+
---
|
|
4
|
+
<article class="post">
|
|
5
|
+
<!-- Post Header -->
|
|
6
|
+
<header>
|
|
7
|
+
<h1>{{ page.title }}</h1>
|
|
8
|
+
<h6>Published on {{ page.date | date: "%B %d, %Y" }}</h6>
|
|
9
|
+
</header>
|
|
10
|
+
|
|
11
|
+
<!-- Post Content -->
|
|
12
|
+
<div class="post-content">
|
|
13
|
+
{{ content }}
|
|
14
|
+
</div>
|
|
15
|
+
</article>
|
|
16
|
+
|
|
17
|
+
<!-- Back to Index Link -->
|
|
18
|
+
<div class="back">
|
|
19
|
+
<a href="/notes"
|
|
20
|
+
class="link">
|
|
21
|
+
← Back to index
|
|
22
|
+
</a>
|
|
23
|
+
</div>
|