Skip to content

Commit

Permalink
Merge pull request #2 from vallss/website/new-theme
Browse files Browse the repository at this point in the history
change theme and hopefully make this website work.
  • Loading branch information
vallss authored Nov 16, 2024
2 parents 2fd8ce1 + 6df4779 commit 8dc3766
Show file tree
Hide file tree
Showing 29 changed files with 312 additions and 241 deletions.
File renamed without changes.
7 changes: 4 additions & 3 deletions docs/404.html → 404.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
---
permalink: /404.html
layout: default
title: 404
description: Page not found
---

<style type="text/css" media="screen">
Expand All @@ -20,5 +18,8 @@
</style>

<div class="container">
<img src="{{ '/assets/images/404_not_found.webp' | relative_url }}" alt="404 Not Found" width="100%">
<h1>404</h1>

<p><strong>Page not found :(</strong></p>
<p>The requested page could not be found.</p>
</div>
4 changes: 2 additions & 2 deletions docs/Gemfile → Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ source "https://rubygems.org"
# This will help ensure the proper Jekyll version is running.
# Happy Jekylling!
gem "jekyll", "~> 4.3.4"
# This is the default theme for new Jekyll sites. You may change this to anything you like.
gem 'jekyll-theme-cayman'
# Different theme
gem "minimal-mistakes-jekyll"
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
# uncomment the line below. To upgrade, run `bundle update github-pages`.
# gem "github-pages", group: :jekyll_plugins
Expand Down
82 changes: 54 additions & 28 deletions docs/Gemfile.lock → Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ GEM
eventmachine (>= 0.12.9)
http_parser.rb (~> 0)
eventmachine (1.2.7)
faraday (2.12.1)
faraday-net_http (>= 2.0, < 3.5)
json
logger
faraday-net_http (3.4.0)
net-http (>= 0.5.0)
ffi (1.17.0)
ffi (1.17.0-aarch64-linux-gnu)
ffi (1.17.0-aarch64-linux-musl)
Expand Down Expand Up @@ -61,15 +67,18 @@ GEM
webrick (~> 1.7)
jekyll-feed (0.17.0)
jekyll (>= 3.7, < 5.0)
jekyll-gist (1.5.0)
octokit (~> 4.2)
jekyll-include-cache (0.2.1)
jekyll (>= 3.7, < 5.0)
jekyll-paginate (1.1.0)
jekyll-sass-converter (3.0.0)
sass-embedded (~> 1.54)
jekyll-seo-tag (2.8.0)
jekyll (>= 3.8, < 5.0)
jekyll-theme-cayman (0.2.0)
jekyll (> 3.5, < 5.0)
jekyll-seo-tag (~> 2.0)
jekyll-sitemap (1.4.0)
jekyll (>= 3.7, < 5.0)
jekyll-watch (2.2.1)
listen (~> 3.0)
json (2.8.2)
kramdown (2.4.0)
rexml
kramdown-parser-gfm (1.1.0)
Expand All @@ -78,7 +87,20 @@ GEM
listen (3.9.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
logger (1.6.1)
mercenary (0.4.0)
minimal-mistakes-jekyll (4.26.2)
jekyll (>= 3.7, < 5.0)
jekyll-feed (~> 0.1)
jekyll-gist (~> 1.5)
jekyll-include-cache (~> 0.1)
jekyll-paginate (~> 1.1)
jekyll-sitemap (~> 1.3)
net-http (0.5.0)
uri
octokit (4.25.1)
faraday (>= 1, < 3)
sawyer (~> 0.9)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (6.0.1)
Expand All @@ -89,54 +111,58 @@ GEM
rexml (3.3.9)
rouge (4.5.1)
safe_yaml (1.0.5)
sass-embedded (1.80.7)
sass-embedded (1.81.0)
google-protobuf (~> 4.28)
rake (>= 13)
sass-embedded (1.80.7-aarch64-linux-android)
sass-embedded (1.81.0-aarch64-linux-android)
google-protobuf (~> 4.28)
sass-embedded (1.80.7-aarch64-linux-gnu)
sass-embedded (1.81.0-aarch64-linux-gnu)
google-protobuf (~> 4.28)
sass-embedded (1.80.7-aarch64-linux-musl)
sass-embedded (1.81.0-aarch64-linux-musl)
google-protobuf (~> 4.28)
sass-embedded (1.80.7-aarch64-mingw-ucrt)
sass-embedded (1.81.0-aarch64-mingw-ucrt)
google-protobuf (~> 4.28)
sass-embedded (1.80.7-arm-linux-androideabi)
sass-embedded (1.81.0-arm-linux-androideabi)
google-protobuf (~> 4.28)
sass-embedded (1.80.7-arm-linux-gnueabihf)
sass-embedded (1.81.0-arm-linux-gnueabihf)
google-protobuf (~> 4.28)
sass-embedded (1.80.7-arm-linux-musleabihf)
sass-embedded (1.81.0-arm-linux-musleabihf)
google-protobuf (~> 4.28)
sass-embedded (1.80.7-arm64-darwin)
sass-embedded (1.81.0-arm64-darwin)
google-protobuf (~> 4.28)
sass-embedded (1.80.7-riscv64-linux-android)
sass-embedded (1.81.0-riscv64-linux-android)
google-protobuf (~> 4.28)
sass-embedded (1.80.7-riscv64-linux-gnu)
sass-embedded (1.81.0-riscv64-linux-gnu)
google-protobuf (~> 4.28)
sass-embedded (1.80.7-riscv64-linux-musl)
sass-embedded (1.81.0-riscv64-linux-musl)
google-protobuf (~> 4.28)
sass-embedded (1.80.7-x86-cygwin)
sass-embedded (1.81.0-x86-cygwin)
google-protobuf (~> 4.28)
sass-embedded (1.80.7-x86-linux-android)
sass-embedded (1.81.0-x86-linux-android)
google-protobuf (~> 4.28)
sass-embedded (1.80.7-x86-linux-gnu)
sass-embedded (1.81.0-x86-linux-gnu)
google-protobuf (~> 4.28)
sass-embedded (1.80.7-x86-linux-musl)
sass-embedded (1.81.0-x86-linux-musl)
google-protobuf (~> 4.28)
sass-embedded (1.80.7-x86-mingw-ucrt)
sass-embedded (1.81.0-x86-mingw-ucrt)
google-protobuf (~> 4.28)
sass-embedded (1.80.7-x86_64-cygwin)
sass-embedded (1.81.0-x86_64-cygwin)
google-protobuf (~> 4.28)
sass-embedded (1.80.7-x86_64-darwin)
sass-embedded (1.81.0-x86_64-darwin)
google-protobuf (~> 4.28)
sass-embedded (1.80.7-x86_64-linux-android)
sass-embedded (1.81.0-x86_64-linux-android)
google-protobuf (~> 4.28)
sass-embedded (1.80.7-x86_64-linux-gnu)
sass-embedded (1.81.0-x86_64-linux-gnu)
google-protobuf (~> 4.28)
sass-embedded (1.80.7-x86_64-linux-musl)
sass-embedded (1.81.0-x86_64-linux-musl)
google-protobuf (~> 4.28)
sawyer (0.9.2)
addressable (>= 2.3.5)
faraday (>= 0.17.3, < 3)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
unicode-display_width (2.6.0)
uri (1.0.2)
webrick (1.9.0)

PLATFORMS
Expand Down Expand Up @@ -172,7 +198,7 @@ DEPENDENCIES
http_parser.rb (~> 0.6.0)
jekyll (~> 4.3.4)
jekyll-feed (~> 0.12)
jekyll-theme-cayman
minimal-mistakes-jekyll
tzinfo (>= 1, < 3)
tzinfo-data
wdm (~> 0.1)
Expand Down
28 changes: 26 additions & 2 deletions docs/_config.yml → _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,20 @@
# in the templates via {{ site.myvariable }}.

title: Valeria Salis
masthead_title: "Home"
email: salis.valeria96@gmail.com
description: >- # this means to ignore newlines until "baseurl:"
Software developer, public speaker and meetup organizer. I like talking to computers as much as I like talking to people.
baseurl: "" # the subpath of your site, e.g. /blog
url: "" # the base hostname & protocol for your site, e.g. http://example.com
url: "https://vallss.github.io/" # the base hostname & protocol for your site, e.g. http://example.com
github_username: vallss


# Build settings
theme: jekyll-theme-cayman
theme: minimal-mistakes-jekyll
minimal_mistakes_skin: "dark" # "air", "aqua", "contrast", "dark", "dirt", "neon", "mint", "plum", "sunrise"
atom_feed:
hide: true

# Exclude from processing.
# The following items will not be processed, by default.
Expand All @@ -47,3 +53,21 @@ theme: jekyll-theme-cayman
# - vendor/cache/
# - vendor/gems/
# - vendor/ruby/

author:
name: "Valeria Salis"
avatar: "/assets/images/avatar.png"
bio:
"Software developer, public speaker and meetup organizer. I like talking to computers as much as I like talking to people." # Note: Markdown is allowed
location: "Italy"
links:
- label: "Email"
icon: "fas fa-fw fa-envelope-square"
url: "mailto: salis.valeria96@gmail.com"
- label: "Linkedin"
icon: "fas fa-fw fa-link"
url: "https://www.linkedin.com/in/valeria-salis/"
- label: "GitHub"
icon: "fab fa-fw fa-github"
url: "https://github.com/vallss"

16 changes: 16 additions & 0 deletions _data/navigation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
main:
- title: "About"
url: /about/
# - title: "Posts"
# url: /year-archive/
# - title: "Categories"
# url: /categories/
# - title: "Tags"
# url: /tags/
# - title: "Pages"
# url: /page-archive/
# - title: "Collections"
# url: /collection-archive/
# - title: "External Link"
# url: https://google.com
# target: _blank
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
<!-- start custom head snippets, customize with your own _includes/head-custom.html file -->
<!-- start custom head snippets -->

<!-- Setup Google Analytics -->
{% include head-custom-google-analytics.html %}

<!-- You can set your favicon here -->
<!-- insert favicons. use https://realfavicongenerator.net/ -->
<link rel="icon" type="image/png" href="/assets/images/favicon-96x96.png" sizes="96x96" />
<link rel="icon" type="image/svg+xml" href="/assets/images/favicon.svg" />
<link rel="shortcut icon" href="/assets/images/favicon.ico" />
<link rel="apple-touch-icon" sizes="180x180" href="/assets/images/apple-touch-icon.png" />
<link rel="manifest" href="/assets/images/site.webmanifest" />

<!-- end custom head snippets -->
22 changes: 22 additions & 0 deletions _layouts/home.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
layout: archive
---

{{ content }}

<!-- <h3 class="archive__subtitle">{{ site.data.ui-text[site.locale].recent_posts | default: "Recent Posts" }}</h3> -->

{% if paginator %}
{% assign posts = paginator.posts %}
{% else %}
{% assign posts = site.posts %}
{% endif %}

{% assign entries_layout = page.entries_layout | default: 'list' %}
<div class="entries-{{ entries_layout }}">
{% for post in posts %}
{% include archive-single.html type=entries_layout %}
{% endfor %}
</div>

{% include paginator.html %}
38 changes: 38 additions & 0 deletions _pages/home.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
layout: splash
permalink: /
hidden: true
header:
overlay_color: "#5e616c"
overlay_image: /assets/images/mm-home-page-feature.jpg
actions:
- label: "<i class='fas fa-download'></i> Install now"
url: "/docs/quick-start-guide/"
excerpt: >
A flexible two-column Jekyll theme. Perfect for building personal sites, blogs, and portfolios.<br />
<small><a href="https://github.com/mmistakes/minimal-mistakes/releases/tag/4.26.2">Latest release v4.26.2</a></small>
feature_row:
- image_path: /assets/images/mm-customizable-feature.png
alt: "customizable"
title: "Super customizable"
excerpt: "Everything from the menus, sidebars, comments, and more can be configured or set with YAML Front Matter."
url: "/docs/configuration/"
btn_class: "btn--primary"
btn_label: "Learn more"
- image_path: /assets/images/mm-responsive-feature.png
alt: "fully responsive"
title: "Responsive layouts"
excerpt: "Built with HTML5 + CSS3. All layouts are fully responsive with helpers to augment your content."
url: "/docs/layouts/"
btn_class: "btn--primary"
btn_label: "Learn more"
- image_path: /assets/images/mm-free-feature.png
alt: "100% free"
title: "100% free"
excerpt: "Free to use however you want under the MIT License. Clone it, fork it, customize it... whatever!"
url: "/docs/license/"
btn_class: "btn--primary"
btn_label: "Learn more"
---

{% include feature_row %}
29 changes: 29 additions & 0 deletions _posts/example2024-11-16-welcome-to-jekyll.markdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
layout: single
title: "Welcome to Jekyll!"
date: 2024-11-16 15:25:55 +0100
categories: jekyll update
---
You’ll find this post in your `_posts` directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run `jekyll serve`, which launches a web server and auto-regenerates your site when a file is updated.

Jekyll requires blog post files to be named according to the following format:

`YEAR-MONTH-DAY-title.MARKUP`

Where `YEAR` is a four-digit number, `MONTH` and `DAY` are both two-digit numbers, and `MARKUP` is the file extension representing the format used in the file. After that, include the necessary front matter. Take a look at the source for this post to get an idea about how it works.

Jekyll also offers powerful support for code snippets:

{% highlight ruby %}
def print_hi(name)
puts "Hi, #{name}"
end
print_hi('Tom')
#=> prints 'Hi, Tom' to STDOUT.
{% endhighlight %}

Check out the [Jekyll docs][jekyll-docs] for more info on how to get the most out of Jekyll. File all bugs/feature requests at [Jekyll’s GitHub repo][jekyll-gh]. If you have questions, you can ask them on [Jekyll Talk][jekyll-talk].

[jekyll-docs]: https://jekyllrb.com/docs/home
[jekyll-gh]: https://github.com/jekyll/jekyll
[jekyll-talk]: https://talk.jekyllrb.com/
Loading

0 comments on commit 8dc3766

Please sign in to comment.