Skip to content

Commit 35f57c2

Browse files
committed
💸 💸 | ➕ Add displayAD as partial and shortcode | 🫰 🫰
1 parent eaf05d7 commit 35f57c2

File tree

5 files changed

+40
-5
lines changed

5 files changed

+40
-5
lines changed

‎content/assets/car-burnout-model.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ tags:
1515
In this beginner-friendly tutorial, I’ll guide you through animation, smoke simulation settings, and render setup to make your car scenes look cinematic.
1616
Perfect for anyone starting with Blender’s physics and VFX tools.
1717

18+
{{< displayAD >}}
19+
1820
## 📂 Car Model Download
1921

2022
<div style="text-align:center">

‎content/assets/download.md‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ tags:
1313
- Assets
1414
---
1515

16-
17-
{{< timer/timer title="Free Download" link="https://drive.google.com/file/d/1-H0WfBZl9RfKma0orW-Rud5XDl0JNZaX/view?usp=sharings" timer="true" showbutton="false" >}}
16+
{{< displayAD >}}
1817

1918

19+
{{< timer/timer title="Free Download" link="https://drive.google.com/file/d/1-H0WfBZl9RfKma0orW-Rud5XDl0JNZaX/view?usp=sharings" timer="true" showbutton="false" >}}
2020

2121

2222

@@ -26,6 +26,8 @@ tags:
2626

2727
Powered by the MediaTek Dimensity 7300 Pro 5G processor, Nothing CMF Phone 2 Pro 6.77-Inch 5G Smartphone delivers cutting-edge speeds with its 8-core CPU clocked up to 2.5GHz. Supported by MediaTek’s 6th generation NPU offering 4.8 TOPS AI computing power, you can experience seamless multitasking and efficient AI-driven tasks.
2828

29+
{{< displayAD >}}
30+
2931

3032
# Smooth Multitasking
3133

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-7993314093599705"
2+
crossorigin="anonymous"></script>
3+
<!-- Display_AD_Code -->
4+
<ins class="adsbygoogle"
5+
style="display:block"
6+
data-ad-client="ca-pub-7993314093599705"
7+
data-ad-slot="3255877740"
8+
data-ad-format="auto"
9+
data-full-width-responsive="true"></ins>
10+
<script>
11+
(adsbygoogle = window.adsbygoogle || []).push({});
12+
</script>
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-7993314093599705"
2+
crossorigin="anonymous"></script>
3+
<!-- Display_AD_Code -->
4+
<ins class="adsbygoogle"
5+
style="display:block"
6+
data-ad-client="ca-pub-7993314093599705"
7+
data-ad-slot="3255877740"
8+
data-ad-format="auto"
9+
data-full-width-responsive="true"></ins>
10+
<script>
11+
(adsbygoogle = window.adsbygoogle || []).push({});
12+
</script>

‎layouts/shortcodes/timer/timer.html‎

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
{{ $title := .Get "title" }} {{ $link := .Get "link" }}
22
{{ $click := .Get "click" | default "false" }}
3-
{{ $timer := .Get
4-
"timer" | default "false" }} {{ $showbutton := .Get "showbutton" | default
5-
"true" }} {{ if eq $timer "true" }}
3+
{{ $timer := .Get "timer" | default "false" }}
4+
{{ $showbutton := .Get "showbutton" | default "true" }}
5+
6+
7+
{{ if eq $timer "true" }}
68
<div class="timer-container">
79
{{/* {{ if eq $showbutton "true" }}
810
<button class="timer-btn" data-link="{{ $link }}">{{ $title }}</button>
@@ -15,6 +17,11 @@
1517
<a href="{{ $link }}" class="timer-btn"> {{ $title }} </a>
1618
{{ end }}
1719

20+
<div class="display-ad">
21+
{{ partial "google/displayAD.html" . }}
22+
</div>
23+
24+
1825
<script>
1926
(function link_timer() {
2027
var btns = document.querySelectorAll(".timer-btn");

0 commit comments

Comments
 (0)