-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
include subtle-ads via api instead of submodule
- Loading branch information
1 parent
3b062b5
commit d7243f7
Showing
3 changed files
with
40 additions
and
3 deletions.
There are no files selected for viewing
Submodule subtle-ads
deleted from
4f0cfe
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,25 @@ | |
|
||
{% if site.show-subtle-ads %} | ||
<section class="subtle-ads"> | ||
{% include subtle-ads/subtle-ads.html %} | ||
<script src="https://unpkg.com/[email protected]" | ||
integrity="sha384-FhXw7b6AlE/jyjlZH5iHa/tTe9EpJ1Y55RjcgPbjeWMskSxZt1v9qkxLJWNJaGni" | ||
crossorigin="anonymous"></script> | ||
|
||
<div hx-get="https://arc42-subtle-ads-backend.vercel.app/api" | ||
hx-trigger="load delay" | ||
hx-swap="outerHTML" | ||
hx-target="#subtle-ads"> | ||
</div> | ||
|
||
<div id="subtle-ads"> | ||
<h4>arc42 offers architecture training.</h4> | ||
<p> | ||
The data is currently loaded from the backend and should display here shortly. | ||
If not, you can see the next dates at | ||
<a rel="noopener noreferrer nofollow" target="_blank" href="https://dates.arc42.org"> | ||
dates.arc42.org | ||
</a>. | ||
</p> | ||
</div> | ||
</section> | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,25 @@ | |
|
||
{% if site.show-subtle-ads %} | ||
<section class="subtle-ads"> | ||
{% include subtle-ads/subtle-ads.html %} | ||
<script src="https://unpkg.com/[email protected]" | ||
integrity="sha384-FhXw7b6AlE/jyjlZH5iHa/tTe9EpJ1Y55RjcgPbjeWMskSxZt1v9qkxLJWNJaGni" | ||
crossorigin="anonymous"></script> | ||
|
||
<div hx-get="https://arc42-subtle-ads-backend.vercel.app/api" | ||
hx-trigger="load delay" | ||
hx-swap="outerHTML" | ||
hx-target="#subtle-ads"> | ||
</div> | ||
|
||
<div id="subtle-ads"> | ||
<h4>arc42 offers architecture training.</h4> | ||
<p> | ||
The data is currently loaded from the backend and should display here shortly. | ||
If not, you can see the next dates at | ||
<a rel="noopener noreferrer nofollow" target="_blank" href="https://dates.arc42.org"> | ||
dates.arc42.org | ||
</a>. | ||
</p> | ||
</div> | ||
</section> | ||
{% endif %} |