diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 1d7bca9..9ee896a 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -5,7 +5,8 @@
{{ with .Params.categories }} {{ range first 2 . }} - {{ . }} + {{ . }} + {{ end }} {{ end }}
diff --git a/layouts/index.html b/layouts/index.html index da24982..f321f35 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -29,53 +29,50 @@

Featured Articles

- -
-
- AI Technology + {{ range first 2 (where .Site.Data.wordpress.posts "status" "publish") }} + {{ $author := index .Site.Data.wordpress.authors .author }} + {{ $categories := slice }} + {{ range .categories }} + {{ $categoryID := . }} + {{ range $.Site.Data.wordpress.categories }} + {{ if eq .id $categoryID }} + {{ $categories = $categories | append .name }} + {{ end }} + {{ end }} + {{ end }} + +
+
+ {{ if .featured_image }} + {{ .title.rendered | plainify }} + {{ else }} + {{ .title.rendered | plainify }} + {{ end }} +
+
+
+ {{ range first 2 $categories }} + {{ . }} + {{ end }}
-
-
- AI - Future of Work -
-

How Tech Shapes the Future of Work in 2024

-

Exploring the latest technological advancements and their impact on the modern workplace, from AI to remote collaboration tools.

-
-
- Author - Sarah Johnson - - Oct 16, 2024 -
- Read more → -
-
-
- - -
-
- AI Ethics -
-
-
- AI - Ethics -
-

The Ethics of Artificial Intelligence in Hiring

-

Exploring the benefits and potential pitfalls of using AI to recruit and evaluate candidates in the modern workplace.

-
-
- Author - Michael Chen - - Sep 3, 2024 -
- Read more → +

{{ .title.rendered | plainify }}

+

{{ .excerpt.rendered | plainify | truncate 150 }}

+
+
+ {{ if $author.avatar_url }} + {{ $author.name }} + {{ else }} + {{ $author.name }} + {{ end }} + {{ $author.name }} + + {{ .date | time.Format "Jan 2, 2006" }}
+ Read more →
+
+ {{ end }}
@@ -93,55 +90,47 @@

Latest Articles

- -
- Productivity -
-
- Productivity -
-

10 Tools to Boost Your Productivity in 2024

-

Discover the latest apps and software that can help you work smarter, not harder.

-
- May 12, 2024 - 5 min read -
+ {{ range first 6 (after 2 (where .Site.Data.wordpress.posts "status" "publish")) }} + {{ $author := index .Site.Data.wordpress.authors .author }} + {{ $categories := slice }} + {{ range .categories }} + {{ $categoryID := . }} + {{ range $.Site.Data.wordpress.categories }} + {{ if eq .id $categoryID }} + {{ $categories = $categories | append .name }} + {{ end }} + {{ end }} + {{ end }} + +
+ {{ if .featured_image }} + {{ .title.rendered | plainify }} + {{ else }} + {{ .title.rendered | plainify }} + {{ end }} +
+
+ {{ range first 1 $categories }} + {{ . }} + {{ end }}
-
- - -
- Remote Work -
-
- Remote Work -
-

Building Company Culture in a Remote World

-

How forward-thinking companies are maintaining strong cultures with distributed teams.

-
- July 24, 2024 - 7 min read -
-
-
- - -
- Web3 -
-
- Web3 - Blockchain -
-

Understanding Web3: The Next Evolution of the Internet

-

What businesses need to know about the decentralized web and its potential impact.

-
- Aug 5, 2024 - 9 min read -
+

{{ .title.rendered | plainify }}

+

{{ .excerpt.rendered | plainify | truncate 100 }}

+
+ {{ .date | time.Format "Jan 2, 2006" }} + {{ .reading_time | default "5" }} min read
+ {{ end }} +
+ +