use proper generated assets links in tutorials

This ensures that these images resolve to real URLs in all ways this site
is deployed, and fixes the CI builds.

https://fdroid.gitlab.io/fdroid-website/tutorials/add-repo
https://fdroid.gitlab.io/fdroid-website/fa/tutorials/add-repo
https://f-droid.org/tutorials/add-repo/
https://f-droid.org/fa/tutorials/add-repo/
parent fbf73f3b
......@@ -33,55 +33,55 @@ paginator_summary: tutorials.add_repo.overview.summary
<ul class="steps">
<li class="step">
<div class="img">
<img src="../../../assets/tutorials/add-repo/screenshots/tut01.1-01@2x.png" />
<img src="{{ site.baseurl }}/assets/tutorials/add-repo/screenshots/tut01.1-01@2x.png" />
</div>
<h4>{{ misc_strings.step_x | replace: '[number]', '1' }}</h4>
<p>{{ strings.open_repo_link.steps.step_1 }}</p>
</li>
<li class="step">
<div class="img">
<img src="../../../assets/tutorials/add-repo/screenshots/tut01.1-02@2x.png" />
<img src="{{ site.baseurl }}/assets/tutorials/add-repo/screenshots/tut01.1-02@2x.png" />
</div>
<h4>{{ misc_strings.step_x | replace: '[number]', '2' }}</h4>
<p>{{ strings.open_repo_link.steps.step_2 }}</p>
</li>
<li class="step">
<div class="img">
<img src="../../../assets/tutorials/add-repo/screenshots/tut01.1-03@2x.png" />
<img src="{{ site.baseurl }}/assets/tutorials/add-repo/screenshots/tut01.1-03@2x.png" />
<h4>{{ misc_strings.step_x | replace: '[number]', '3' }}</h4>
<p>{{ strings.open_repo_link.steps.step_3 }}</p>
</li>
<li class="step">
<div class="img">
<img src="../../../assets/tutorials/add-repo/screenshots/tut01.1-04@2x.png" />
<img src="{{ site.baseurl }}/assets/tutorials/add-repo/screenshots/tut01.1-04@2x.png" />
</div>
<h4>{{ misc_strings.step_x | replace: '[number]', '4' }}</h4>
<p>{{ strings.open_repo_link.steps.step_4 }}</p>
</li>
<li class="step">
<div class="img">
<img src="../../../assets/tutorials/add-repo/screenshots/tut01.1-05@2x.png" />
<img src="{{ site.baseurl }}/assets/tutorials/add-repo/screenshots/tut01.1-05@2x.png" />
</div>
<h4>{{ misc_strings.step_x | replace: '[number]', '5' }}</h4>
<p>{{ strings.open_repo_link.steps.step_5 }}</p>
</li>
<li class="step">
<div class="img">
<img src="../../../assets/tutorials/add-repo/screenshots/tut01.1-06@2x.png" />
<img src="{{ site.baseurl }}/assets/tutorials/add-repo/screenshots/tut01.1-06@2x.png" />
</div>
<h4>{{ misc_strings.step_x | replace: '[number]', '6' }}</h4>
<p>{{ strings.open_repo_link.steps.step_6 }}</p>
</li>
<li class="step">
<div class="img">
<img src="../../../assets/tutorials/add-repo/screenshots/tut01.1-07@2x.png" />
<img src="{{ site.baseurl }}/assets/tutorials/add-repo/screenshots/tut01.1-07@2x.png" />
</div>
<h4>{{ misc_strings.step_x | replace: '[number]', '7' }}</h4>
<p>{{ strings.open_repo_link.steps.step_7 }}</p>
</li>
<li class="step">
<div class="img">
<img src="../../../assets/tutorials/add-repo/screenshots/tut01.1-08@2x.png" />
<img src="{{ site.baseurl }}/assets/tutorials/add-repo/screenshots/tut01.1-08@2x.png" />
</div>
<h4>{{ misc_strings.step_x | replace: '[number]', '8' }}</h4>
<p>{{ strings.open_repo_link.steps.step_8 }}</p>
......@@ -97,42 +97,42 @@ paginator_summary: tutorials.add_repo.overview.summary
<ul class="steps">
<li class="step">
<div class="img">
<img src="../../../assets/tutorials/add-repo/screenshots/tut01.2-01@2x.png" />
<img src="{{ site.baseurl }}/assets/tutorials/add-repo/screenshots/tut01.2-01@2x.png" />
</div>
<h4>{{ misc_strings.step_x | replace: '[number]', '1' }}</h4>
<p>{{ strings.scan_qr_code.steps.step_1 }}</p>
</li>
<li class="step">
<div class="img">
<img src="../../../assets/tutorials/add-repo/screenshots/tut01.2-02@2x.png" />
<img src="{{ site.baseurl }}/assets/tutorials/add-repo/screenshots/tut01.2-02@2x.png" />
</div>
<h4>{{ misc_strings.step_x | replace: '[number]', '2' }}</h4>
<p>{{ strings.scan_qr_code.steps.step_2 }}</p>
</li>
<li class="step">
<div class="img">
<img src="../../../assets/tutorials/add-repo/screenshots/tut01.2-03@2x.png" />
<img src="{{ site.baseurl }}/assets/tutorials/add-repo/screenshots/tut01.2-03@2x.png" />
</div>
<h4>{{ misc_strings.step_x | replace: '[number]', '3' }}</h4>
<p>{{ strings.scan_qr_code.steps.step_3 }}</p>
</li>
<li class="step">
<div class="img">
<img src="../../../assets/tutorials/add-repo/screenshots/tut01.2-04@2x.png" />
<img src="{{ site.baseurl }}/assets/tutorials/add-repo/screenshots/tut01.2-04@2x.png" />
</div>
<h4>{{ misc_strings.step_x | replace: '[number]', '4' }}</h4>
<p>{{ strings.scan_qr_code.steps.step_4 }}</p>
</li>
<li class="step">
<div class="img">
<img src="../../../assets/tutorials/add-repo/screenshots/tut01.2-05@2x.png" />
<img src="{{ site.baseurl }}/assets/tutorials/add-repo/screenshots/tut01.2-05@2x.png" />
</div>
<h4>{{ misc_strings.step_x | replace: '[number]', '5' }}</h4>
<p>{{ strings.scan_qr_code.steps.step_5 }}</p>
</li>
<li class="step">
<div class="img">
<img src="../../../assets/tutorials/add-repo/screenshots/tut01.2-06@2x.png" />
<img src="{{ site.baseurl }}/assets/tutorials/add-repo/screenshots/tut01.2-06@2x.png" />
</div>
<h4>{{ misc_strings.step_x | replace: '[number]', '6' }}</h4>
<p>{{ strings.scan_qr_code.steps.step_6 }}</p>
......
......@@ -18,42 +18,42 @@ paginator_summary: tutorials.create_repo.overview.summary
<ul class="steps large">
<li class="step">
<div class="img">
<img class="irregular" src="../../../assets/tutorials/create-repo/screenshots/tut03.01-01@2x.png" />
<img class="irregular" src="{{ site.baseurl }}/assets/tutorials/create-repo/screenshots/tut03.01-01@2x.png" />
</div>
<h4>{{ misc_strings.step_x | replace: '[number]', '1' }}</h4>
<p>{{ strings.download_and_install.steps.step_1 }}</p>
</li>
<li class="step">
<div class="img">
<img src="../../../assets/tutorials/create-repo/screenshots/tut03.01-02@2x.png" />
<img src="{{ site.baseurl }}/assets/tutorials/create-repo/screenshots/tut03.01-02@2x.png" />
</div>
<h4>{{ misc_strings.step_x | replace: '[number]', '2' }}</h4>
<p>{{ strings.download_and_install.steps.step_2 }}</p>
</li>
<li class="step">
<div class="img">
<img src="../../../assets/tutorials/create-repo/screenshots/tut03.01-03@2x.png" />
<img src="{{ site.baseurl }}/assets/tutorials/create-repo/screenshots/tut03.01-03@2x.png" />
</div>
<h4>{{ misc_strings.step_x | replace: '[number]', '3' }}</h4>
<p>{{ strings.download_and_install.steps.step_3 }}</p>
</li>
<li class="step">
<div class="img">
<img src="../../../assets/tutorials/create-repo/screenshots/tut03.01-04@2x.png" />
<img src="{{ site.baseurl }}/assets/tutorials/create-repo/screenshots/tut03.01-04@2x.png" />
</div>
<h4>{{ misc_strings.step_x | replace: '[number]', '4' }}</h4>
<p>{{ strings.download_and_install.steps.step_4 }}</p>
</li>
<li class="step">
<div class="img">
<img src="../../../assets/tutorials/create-repo/screenshots/tut03.01-05@2x.png" />
<img src="{{ site.baseurl }}/assets/tutorials/create-repo/screenshots/tut03.01-05@2x.png" />
</div>
<h4>{{ misc_strings.step_x | replace: '[number]', '5' }}</h4>
<p>{{ strings.download_and_install.steps.step_5 }}</p>
</li>
<li class="step">
<div class="img">
<img src="../../../assets/tutorials/create-repo/screenshots/tut03.01-06@2x.png" />
<img src="{{ site.baseurl }}/assets/tutorials/create-repo/screenshots/tut03.01-06@2x.png" />
</div>
<h4>{{ misc_strings.step_x | replace: '[number]', '6' }}</h4>
<p>{{ strings.download_and_install.steps.step_6 }}</p>
......@@ -67,28 +67,28 @@ paginator_summary: tutorials.create_repo.overview.summary
<ul class="steps large">
<li class="step">
<div class="img">
<img src="../../../assets/tutorials/create-repo/screenshots/tut03.02-01@2x.png" />
<img src="{{ site.baseurl }}/assets/tutorials/create-repo/screenshots/tut03.02-01@2x.png" />
</div>
<h4>{{ misc_strings.step_x | replace: '[number]', '1' }}</h4>
<p>{{ strings.customize_repo.steps.step_1 }}</p>
</li>
<li class="step">
<div class="img">
<img src="../../../assets/tutorials/create-repo/screenshots/tut03.02-02@2x.png" />
<img src="{{ site.baseurl }}/assets/tutorials/create-repo/screenshots/tut03.02-02@2x.png" />
</div>
<h4>{{ misc_strings.step_x | replace: '[number]', '2' }}</h4>
<p>{{ strings.customize_repo.steps.step_2 }}</p>
</li>
<li class="step">
<div class="img">
<img src="../../../assets/tutorials/create-repo/screenshots/tut03.02-03@2x.png" />
<img src="{{ site.baseurl }}/assets/tutorials/create-repo/screenshots/tut03.02-03@2x.png" />
</div>
<h4>{{ misc_strings.step_x | replace: '[number]', '3' }}</h4>
<p>{{ strings.customize_repo.steps.step_3 }}</p>
</li>
<li class="step">
<div class="img">
<img src="../../../assets/tutorials/create-repo/screenshots/tut03.02-04@2x.png" />
<img src="{{ site.baseurl }}/assets/tutorials/create-repo/screenshots/tut03.02-04@2x.png" />
</div>
<h4>{{ misc_strings.step_x | replace: '[number]', '4' }}</h4>
<p>{{ strings.customize_repo.steps.step_4 }}</p>
......@@ -101,35 +101,35 @@ paginator_summary: tutorials.create_repo.overview.summary
<ul class="steps large">
<li class="step">
<div class="img">
<img src="../../../assets/tutorials/create-repo/screenshots/tut03.03-01@2x.png" />
<img src="{{ site.baseurl }}/assets/tutorials/create-repo/screenshots/tut03.03-01@2x.png" />
</div>
<h4>{{ misc_strings.step_x | replace: '[number]', '1' }}</h4>
<p>{{ strings.share_repo.steps.step_1 }}</p>
</li>
<li class="step">
<div class="img">
<img src="../../../assets/tutorials/create-repo/screenshots/tut03.03-02@2x.png" />
<img src="{{ site.baseurl }}/assets/tutorials/create-repo/screenshots/tut03.03-02@2x.png" />
</div>
<h4>{{ misc_strings.step_x | replace: '[number]', '2' }}</h4>
<p>{{ strings.share_repo.steps.step_2 }}</p>
</li>
<li class="step">
<div class="img">
<img src="../../../assets/tutorials/create-repo/screenshots/tut03.03-03@2x.png" />
<img src="{{ site.baseurl }}/assets/tutorials/create-repo/screenshots/tut03.03-03@2x.png" />
</div>
<h4>{{ misc_strings.step_x | replace: '[number]', '3' }}</h4>
<p>{{ strings.share_repo.steps.step_3 }}</p>
</li>
<li class="step">
<div class="img">
<img src="../../../assets/tutorials/create-repo/screenshots/tut03.03-04@2x.png" />
<img src="{{ site.baseurl }}/assets/tutorials/create-repo/screenshots/tut03.03-04@2x.png" />
</div>
<h4>{{ misc_strings.step_x | replace: '[number]', '4' }}</h4>
<p>{{ strings.share_repo.steps.step_4 }}</p>
</li>
<li class="step">
<div class="img">
<img src="../../../assets/tutorials/create-repo/screenshots/tut03.03-05@2x.png" />
<img src="{{ site.baseurl }}/assets/tutorials/create-repo/screenshots/tut03.03-05@2x.png" />
</div>
<h4>{{ misc_strings.step_x | replace: '[number]', '5' }}</h4>
<p>{{ strings.share_repo.steps.step_5 }}</p>
......@@ -142,35 +142,35 @@ paginator_summary: tutorials.create_repo.overview.summary
<ul class="steps large">
<li class="step">
<div class="img">
<img src="../../../assets/tutorials/create-repo/screenshots/tut03.03-01@2x.png" />
<img src="{{ site.baseurl }}/assets/tutorials/create-repo/screenshots/tut03.03-01@2x.png" />
</div>
<h4>{{ misc_strings.step_x | replace: '[number]', '1' }}</h4>
<p>{{ strings.update_repo.steps.step_1 }}</p>
</li>
<li class="step">
<div class="img">
<img src="../../../assets/tutorials/create-repo/screenshots/tut03.03-02@2x.png" />
<img src="{{ site.baseurl }}/assets/tutorials/create-repo/screenshots/tut03.03-02@2x.png" />
</div>
<h4>{{ misc_strings.step_x | replace: '[number]', '2' }}</h4>
<p>{{ strings.update_repo.steps.step_2 }}</p>
</li>
<li class="step">
<div class="img">
<img src="../../../assets/tutorials/create-repo/screenshots/tut03.03-03@2x.png" />
<img src="{{ site.baseurl }}/assets/tutorials/create-repo/screenshots/tut03.03-03@2x.png" />
</div>
<h4>{{ misc_strings.step_x | replace: '[number]', '3' }}</h4>
<p>{{ strings.update_repo.steps.step_3 }}</p>
</li>
<li class="step">
<div class="img">
<img src="../../../assets/tutorials/create-repo/screenshots/tut03.03-04@2x.png" />
<img src="{{ site.baseurl }}/assets/tutorials/create-repo/screenshots/tut03.03-04@2x.png" />
</div>
<h4>{{ misc_strings.step_x | replace: '[number]', '4' }}</h4>
<p>{{ strings.update_repo.steps.step_4 }}</p>
</li>
<li class="step">
<div class="img">
<img src="../../../assets/tutorials/create-repo/screenshots/tut03.03-05@2x.png" />
<img src="{{ site.baseurl }}/assets/tutorials/create-repo/screenshots/tut03.03-05@2x.png" />
</div>
<h4>{{ misc_strings.step_x | replace: '[number]', '5' }}</h4>
<p>{{ strings.update_repo.steps.step_5 }}</p>
......
......@@ -21,70 +21,70 @@ paginator_summary: tutorials.swap.overview.summary
<ul class="steps">
<li class="step">
<div class="img">
<img src="../../../assets/tutorials/swap/screenshots/tut02-01@2x.png" />
<img src="{{ site.baseurl }}/assets/tutorials/swap/screenshots/tut02-01@2x.png" />
</div>
<h4>{{ misc_strings.step_x | replace: '[number]', '1' }}</h4>
<p>{{ strings.step_1 }}</p>
</li>
<li class="step">
<div class="img">
<img src="../../../assets/tutorials/swap/screenshots/tut02-02@2x.png" />
<img src="{{ site.baseurl }}/assets/tutorials/swap/screenshots/tut02-02@2x.png" />
</div>
<h4>{{ misc_strings.step_x | replace: '[number]', '2' }}</h4>
<p>{{ strings.step_2 }}</p>
</li>
<li class="step medium">
<div class="img">
<img class="irregular" src="../../../assets/tutorials/swap/screenshots/tut02-03@2x.png" />
<img class="irregular" src="{{ site.baseurl }}/assets/tutorials/swap/screenshots/tut02-03@2x.png" />
</div>
<h4>{{ misc_strings.step_x | replace: '[number]', '3' }}</h4>
<p>{{ strings.step_3 }}</p>
</li>
<li class="step">
<div class="img">
<img src="../../../assets/tutorials/swap/screenshots/tut02-04@2x.png" />
<img src="{{ site.baseurl }}/assets/tutorials/swap/screenshots/tut02-04@2x.png" />
</div>
<h4>{{ misc_strings.step_x | replace: '[number]', '4' }}</h4>
<p>{{ strings.step_4 }}</p>
</li>
<li class="step">
<div class="img">
<img src="../../../assets/tutorials/swap/screenshots/tut02-05@2x.png" />
<img src="{{ site.baseurl }}/assets/tutorials/swap/screenshots/tut02-05@2x.png" />
</div>
<h4>{{ misc_strings.step_x | replace: '[number]', '5' }}</h4>
<p>{{ strings.step_5 }}</p>
</li>
<li class="step">
<div class="img">
<img src="../../../assets/tutorials/swap/screenshots/tut02-06@2x.png" />
<img src="{{ site.baseurl }}/assets/tutorials/swap/screenshots/tut02-06@2x.png" />
</div>
<h4>{{ misc_strings.step_x | replace: '[number]', '6' }}</h4>
<p>{{ strings.step_6 }}</p>
</li>
<li class="step">
<div class="img">
<img src="../../../assets/tutorials/swap/screenshots/tut02-07@2x.png" />
<img src="{{ site.baseurl }}/assets/tutorials/swap/screenshots/tut02-07@2x.png" />
</div>
<h4>{{ misc_strings.step_x | replace: '[number]', '7' }}</h4>
<p>{{ strings.step_7 }}</p>
</li>
<li class="step">
<div class="img">
<img src="../../../assets/tutorials/swap/screenshots/tut02-08@2x.png" />
<img src="{{ site.baseurl }}/assets/tutorials/swap/screenshots/tut02-08@2x.png" />
</div>
<h4>{{ misc_strings.step_x | replace: '[number]', '8' }}</h4>
<p>{{ strings.step_8 }}</p>
</li>
<li class="step">
<div class="img">
<img src="../../../assets/tutorials/swap/screenshots/tut02-09@2x.png" />
<img src="{{ site.baseurl }}/assets/tutorials/swap/screenshots/tut02-09@2x.png" />
</div>
<h4>{{ misc_strings.step_x | replace: '[number]', '9' }}</h4>
<p>{{ strings.step_9 }}</p>
</li>
<li class="step">
<div class="img">
<img src="../../../assets/tutorials/swap/screenshots/tut02-10@2x.png" />
<img src="{{ site.baseurl }}/assets/tutorials/swap/screenshots/tut02-10@2x.png" />
</div>
<h4>{{ misc_strings.step_x | replace: '[number]', '10' }}</h4>
<p>{{ strings.step_10 }}</p>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment