Skip to content
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
10 changes: 9 additions & 1 deletion .github/workflows/bump-versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,17 @@ jobs:
sed -i -E "s/^ESLINT_VERSION=.*/ESLINT_VERSION=${{ steps.latest.outputs.eslint }}/" "$file"
sed -i -E "s/^STYLELINT_VERSION=.*/STYLELINT_VERSION=${{ steps.latest.outputs.stylelint }}/" "$file"

echo "Updated versions.env:"
echo "Updated versions.env:"
cat "$file"

- name: Import GPG Key
uses: crazy-max/ghaction-import-gpg@v6
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}
git_user_signingkey: true
git_commit_gpgsign: true

- name: Create pull request
uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8
with:
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@ on:
- "public/**"
pull_request:
branches: ["main"]
paths-ignore:
- "README.md"
- "LICENSE"
- "docs/**"
- "public/**"
schedule:
- cron: "20 4 * * 5"
workflow_dispatch:
Expand All @@ -32,7 +27,6 @@ permissions:
jobs:
analyze:
name: Analyze
if: github.event_name != 'pull_request' || github.actor != 'dependabot[bot]'
runs-on: ubuntu-latest
timeout-minutes: 20
strategy:
Expand Down
7 changes: 6 additions & 1 deletion templates/shortcodes/projects_grid.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,13 @@
{% set project_status = project.status | default(value="") %}
<article class="project-card">
{% if project.thumbnail_image %}
{% if project.thumbnail_image is starting_with("http://") or project.thumbnail_image is starting_with("https://") %}
{% set project_thumb_url = project.thumbnail_image %}
{% else %}
{% set project_thumb_url = get_url(path=project.thumbnail_image) | safe %}
{% endif %}
<a href="/projects/{{ project.slug }}/" class="block aspect-video w-full overflow-hidden rounded-md mb-3 border border-base-content/10 bg-base-300/30">
<img src="{{ project.thumbnail_image }}" alt="{{ project.thumbnail_alt | default(value=project.title) }}" sizes="(min-width: 1024px) 50vw, 100vw" class="w-full h-full object-cover transition-transform duration-300 hover:scale-105" loading="lazy" width="800" height="450">
<img src="{{ project_thumb_url | safe }}" alt="{{ project.thumbnail_alt | default(value=project.title) }}" sizes="(min-width: 1024px) 50vw, 100vw" class="w-full h-full object-cover transition-transform duration-300 hover:scale-105" loading="lazy" width="800" height="450">
</a>
{% endif %}
<div class="project-card-header">
Expand Down