Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
duniter_website_fr_v2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
websites
duniter_website_fr_v2
Commits
490b5bf9
Commit
490b5bf9
authored
3 years ago
by
Hugo Trentesaux
Browse files
Options
Downloads
Patches
Plain Diff
fix resized image in template
parent
15f279c0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#14207
passed
3 years ago
Stage: test
Stage: deploy
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
content/blog/2016-04-24-ucoin-rename-duniter.md
+1
-1
1 addition, 1 deletion
content/blog/2016-04-24-ucoin-rename-duniter.md
templates/macros.html
+2
-1
2 additions, 1 deletion
templates/macros.html
with
3 additions
and
2 deletions
content/blog/2016-04-24-ucoin-rename-duniter.md
+
1
−
1
View file @
490b5bf9
...
@@ -4,7 +4,7 @@ date = 2016-04-24
...
@@ -4,7 +4,7 @@ date = 2016-04-24
title = "uCoin devient Duniter !"
title = "uCoin devient Duniter !"
[extra]
[extra]
thumbnail = "/
PELICAN/images
/duniter-logo.
pn
g"
thumbnail = "/
img
/duniter-logo.
sv
g"
[taxonomies]
[taxonomies]
authors = [ "cgeek",]
authors = [ "cgeek",]
...
...
This diff is collapsed.
Click to expand it.
templates/macros.html
+
2
−
1
View file @
490b5bf9
...
@@ -22,7 +22,8 @@
...
@@ -22,7 +22,8 @@
{# === resize static image === #}
{# === resize static image === #}
{# =========================== #}
{# =========================== #}
{% macro resize_static(path, width=160, height=160, op="fit_height") %}
{% macro resize_static(path, width=160, height=160, op="fit_height") %}
{{ resize_image(path="../static" ~ path, width=width, height=height, op=op) }}
{% set resized = resize_image(path="../static" ~ path, width=width, height=height, op=op) %}
{{ resized.url }}
{% endmacro resize_static %}
{% endmacro resize_static %}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment