Skip to content

Commit

Permalink
image-url-repair
Browse files Browse the repository at this point in the history
  • Loading branch information
cyanineeee committed Oct 7, 2024
1 parent 87d5798 commit c6ed66a
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion wiki/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
{% include 'menu.html' %}

<!-- Header -->
<header class="bg-hero py-5 mb-5" style="background-image:{% block backgroundImage %}{% endblock %}">
<header class="bg-hero py-5 mb-5" style="background-image:url('{% block backgroundImage %}{% endblock %}')">
<div class="blur-layer">
<div class="container h-100">
<div class="row h-100 align-items-center">
Expand Down
2 changes: 1 addition & 1 deletion wiki/pages/contribution.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% extends "layout.html" %}

{% block title %}Contributions{% endblock %}
{% block backgroundImage %}url(../static/contributions/image1.webp){% endblock %}
{% block backgroundImage %}{{ url_for('static', filename = 'contributions/image1.webp') }}{% endblock %}

{% block lead %}{% endblock %}

Expand Down
2 changes: 1 addition & 1 deletion wiki/pages/description.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% extends "layout.html" %}

{% block title %}Description{% endblock %}
{% block backgroundImage %}url(../static/description/image1.webp){% endblock %}
{% block backgroundImage %}{{ url_for('static', filename = 'description/image1.webp') }}{% endblock %}
{% block lead %}Our introduction{% endblock %}

{% block page_content %}
Expand Down
2 changes: 1 addition & 1 deletion wiki/pages/education.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% extends "layout.html" %}

{% block title %}Education{% endblock %}
{% block backgroundImage %}url(../static/education/image1.webp){% endblock %}
{% block backgroundImage %}{{ url_for('static', filename = 'education/image1.webp') }}{% endblock %}

{% block lead %}{% endblock %}

Expand Down
2 changes: 1 addition & 1 deletion wiki/pages/entrepreneurship.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% extends "layout.html" %}

{% block title %}Entrepreneurship{% endblock %}
{% block backgroundImage %}url(../static/entrepreneurship/image1.webp){% endblock %}
{% block backgroundImage %}{{ url_for('static', filename = 'entrepreneurship/image1.webp') }}{% endblock %}

{% block lead %}Product development idea: the birth and growth of SugarGuardian.{% endblock %}

Expand Down
2 changes: 1 addition & 1 deletion wiki/pages/hardware.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% extends "layout.html" %}

{% block title %}Hardware{% endblock %}
{% block backgroundImage %}url(../static/hardware/image1.webp){% endblock %}
{% block backgroundImage %}{{ url_for('static', filename = 'hardware/image1.webp') }}{% endblock %}

{% block lead %}{% endblock %}

Expand Down
2 changes: 1 addition & 1 deletion wiki/pages/human-practices.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% extends "layout.html" %}

{% block title %}Integrated human practice{% endblock %}
{% block backgroundImage %}url(../static/hp/image1.webp){% endblock %}
{% block backgroundImage %}{{ url_for('static', filename = 'hp/image1.webp') }}{% endblock %}

{% block lead %}{% endblock %}

Expand Down
2 changes: 1 addition & 1 deletion wiki/pages/notebook.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% extends "layout.html" %}

{% block title %}Notebook{% endblock %}
{% block backgroundImage %}url(../static/notebook/image1.webp){% endblock %}
{% block backgroundImage %}{{ url_for('static', filename = 'notebook/image1.webp') }}{% endblock %}

{% block lead %}{% endblock %}

Expand Down
2 changes: 1 addition & 1 deletion wiki/pages/parts.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% extends "layout.html" %}

{% block title %}BioBrick Parts{% endblock %}
{% block backgroundImage %}url(../static/parts/image1.webp){% endblock %}
{% block backgroundImage %}{{ url_for('static', filename = 'parts/image1.webp') }}{% endblock %}

{% block lead %}You can learn our parts’ information which we uploaded to iDECs Registry of Standard Biological Parts.{% endblock %}

Expand Down
2 changes: 1 addition & 1 deletion wiki/pages/results.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@


{% block title %}Results{% endblock %}
{% block backgroundImage %}url(../static/result/image3.webp){% endblock %}
{% block backgroundImage %}{{ url_for('static', filename = 'result/image3.webp') }}{% endblock %}
{% block lead %}{% endblock %}

{% block page_content %}
Expand Down
2 changes: 1 addition & 1 deletion wiki/pages/safety.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% extends "layout.html" %}

{% block title %}Safety{% endblock %}
{% block backgroundImage %}url(../static/safety/image3.webp){% endblock %}
{% block backgroundImage %}{{ url_for('static', filename = 'safety/image3.webp') }}{% endblock %}

{% block lead %}{% endblock %}

Expand Down
2 changes: 1 addition & 1 deletion wiki/pages/sustainable.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% extends "layout.html" %}

{% block title %}Sustainability{% endblock %}
{% block backgroundImage %}url(../static/sustainability/image1.webp){% endblock %}
{% block backgroundImage %}{{ url_for('static', filename = 'sustainability/image1.webp') }}{% endblock %}

{% block lead %}{% endblock %}

Expand Down

0 comments on commit c6ed66a

Please sign in to comment.