Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix tags page #56

Merged
merged 3 commits into from
Mar 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

name: ubuntu

on: [push, pull_request]
Expand All @@ -7,14 +6,15 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
rubygems: latest
- name: Install dependencies
run: bundle
- name: Build site
run: bundle exec jekyll build
- name: Run tests
run: bundle exec rake check_links
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
rubygems: latest
- name: Install dependencies
run: bundle
- name: Build site
run: bundle exec jekyll build
- name: Check Links
run: bundle exec rake check_links
continue-on-error: true
1 change: 1 addition & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ GEM

PLATFORMS
arm64-darwin-22
arm64-darwin-23
x86_64-linux

DEPENDENCIES
Expand Down
5 changes: 4 additions & 1 deletion _includes/menu-header.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
<li class="nav-item">
<a class="nav-link" href="{{site.baseurl}}/current-projects">Projects</a>
</li>
<li class="nav-item">
<a class="nav-link" href="{{site.baseurl}}/tags">Tags</a>
</li>
<li class="nav-item">
<a class="nav-link" href="{{site.baseurl}}/new-to-ruby">New to Ruby?</a>
</li>
</li>
45 changes: 20 additions & 25 deletions _pages/tags.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,33 +7,28 @@ permalink: "/tags"
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<h1 class="font-weight-bold title h6 text-uppercase mb-4">Tags</h1>
<h4 class="font-weight-bold spanborder text-capitalize" id="sticky"><span>Sticky FIXME</span></h4>
<h1 class="font-weight-bold title h6 text-uppercase mb-4">Tags</h1>

{{ sortedTags }}

{% for tag in site.tags %}
<h4 class="font-weight-bold spanborder text-capitalize" id="{{ tag[0] | downcase }}"><span>{{ tag[0] }}</span></h4>

{% assign pages_list = tag[1] %}
{% for post in pages_list %}
{% if post.title != null %}
{% if group == null or group == post.group %}

{% include main-loop-card.html %}
{% endif %}
{% endif %}
{% endfor %}
{% assign pages_list = nil %}
{% assign group = nil %}
{% for tag in site.tags %}
<h5 class="font-weight-bold spanborder text-capitalize" id="{{ tag[0] | downcase }}"><span>{{ tag[0] }}</span></h5>
{% assign pages_list = tag[1] %}

{% endfor %}
{% for post in pages_list %}
{% if post.title %}
{% if group == null or group == post.group %}
{% include main-loop-card.html %}
{% endif %}
{% endif %}
{% endfor %}

{% assign pages_list = nil %}
{% assign group = nil %}
{% endfor %}

</div>

<div class="col-md-4">
{% include sidebar-featured.html %}
</div>

<div class="col-md-4">
{% include sidebar-featured.html %}
</div>
</div>
</div>

</div>
3 changes: 2 additions & 1 deletion _posts/2021-04-09-jwts-dan-moore.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ author: matt
date: 2021-04-09
comments: true
categories: [talks]
tags: gems security
image: "assets/talks/2021-04-09-jwts.jpg"
---

This month Dan Moore stopped by to talk about discuss why web tokens matter and the nuts and bolts of building and verifying JWTs. We covered it's uses in web applications, we well as how to avoid certain common mistakes. Thanks for stopping by Dan!
This month Dan Moore stopped by to talk about discuss why web tokens matter and the nuts and bolts of building and verifying JWTs. We covered it's uses in web applications, we well as how to avoid certain common mistakes. Thanks for stopping by Dan!

Slides can be found [here](https://www.slideshare.net/creatifyme/jwts-what-developers-need-to-know-dan-moore)
1 change: 1 addition & 0 deletions _posts/2021-09-07-milestoner.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ author: matt
date: 2021-09-07
comments: true
categories: [talks]
tag: gems
image: "assets/talks/2021-09-07-milestoner.png"
---

Expand Down
Loading