Skip to content

Commit c4d77f8

Browse files
committed
Seo Related
1 parent 9d76b0e commit c4d77f8

File tree

11 files changed

+358
-33
lines changed

11 files changed

+358
-33
lines changed

layouts/about-us/about-us.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
<html lang="en">
33
<head>
44
{{ partial "header.html" . }}
5-
<meta name="description" content="About us - CodeFryDev is a comprehensive digital platform providing diverse tools, applications, and resources for developers, designers, and digital enthusiasts.">
6-
<meta name="keywords" content="about us, codefrydev, digital tools, productivity apps, AI tools, games, design resources">
7-
<title>About us - CodeFryDev | Learn More About Our Platform</title>
5+
<meta name="description" content="Learn about CodeFryDev - a free platform offering web-based tools, games, AI applications, and design resources. No signup required. Discover our mission and offerings.">
6+
<meta name="keywords" content="about codefrydev, free online tools platform, web-based applications, digital tools, productivity apps, AI tools, games, design resources, codefrydev mission">
7+
<title>About Us - CodeFryDev | Free Online Tools & Resources Platform</title>
88

99
{{- /* Additional Open Graph tags for better image display */ -}}
1010
<meta property="og:image" content="{{ .Site.BaseURL }}images/IconCodefrydev.svg">

layouts/ai/ai.html

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22
<html lang="en">
33
<head>
44
{{ partial "header.html" . }}
5-
<meta name="description" content="Discover powerful AI tools by CodeFryDev. Use AI SocialSnap, Meme Generator, Visual Note AI, Aqua Tracker, and more AI-powered utilities.">
6-
<meta name="keywords" content="AI tools, artificial intelligence, AI generator, social media AI, meme generator, visual notes, AI summarize, codefrydev AI">
7-
<title>AI Tools - CodeFryDev | AI-Powered Utilities</title>
5+
<meta name="description" content="Free AI tools and generators by CodeFryDev. Create memes, summarize websites, generate social media content, and more with our AI-powered utilities. No signup required.">
6+
<meta name="keywords" content="free AI tools, AI generator, artificial intelligence tools, AI meme generator, website summarizer, social media AI, visual notes AI, codefrydev AI">
87

98
{{ with resources.Get "css/home.css" }}
109
{{ $minifiedCSS := . | resources.Minify }}
@@ -31,7 +30,11 @@ <h1>CodeFryDev<sup style="font-size: small; font-weight: bold;"> Alpha</sup></h1
3130
<h2 class="category-title">AI Tools</h2>
3231
<div class="button-grid">
3332
{{ range .Site.Data.ai.data }}
34-
<a href="{{ .url }}" class="neumorphic-button hapticButton" aria-label="{{ .name }} - AI tool">
33+
{{- $isExternal := or (hasPrefix .url "http://") (hasPrefix .url "https://") -}}
34+
<a href="{{ .url }}"
35+
class="neumorphic-button hapticButton"
36+
aria-label="{{ .name }} - AI tool"
37+
{{ if $isExternal }}target="_blank" rel="noopener noreferrer"{{ end }}>
3538
<img src="/images/ai/{{ .icon }}.svg" alt="{{ .name }} icon" class="button-icon" loading="lazy">
3639
<span>{{ .name }}</span>
3740
</a>

layouts/designlab/designlab.html

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22
<html lang="en">
33
<head>
44
{{ partial "header.html" . }}
5-
<meta name="description" content="Explore creative design tools and resources by CodeFryDev. Access design utilities, visualizations, music tools, and artistic applications for your creative projects.">
6-
<meta name="keywords" content="design tools, creative resources, design lab, visualizations, music tools, artistic applications, codefrydev design">
7-
<title>Design Lab - CodeFryDev | Creative Design Tools & Resources</title>
5+
<meta name="description" content="Free design tools and creative resources by CodeFryDev. Access 3D visualizations, music players, design utilities, and artistic applications. No signup required.">
6+
<meta name="keywords" content="free design tools, creative resources, design lab, 3D visualizations, music visualization tools, design utilities, artistic applications, web-based design tools, codefrydev design">
87

98
{{ with resources.Get "css/home.css" }}
109
{{ $minifiedCSS := . | resources.Minify }}
@@ -31,7 +30,11 @@ <h1>CodeFryDev<sup style="font-size: small; font-weight: bold;"> Alpha</sup></h1
3130
<h2 class="category-title">Design Lab</h2>
3231
<div class="button-grid">
3332
{{ range .Site.Data.designlab.data }}
34-
<a href="{{ .url }}" class="neumorphic-button hapticButton" aria-label="{{ .name }} - Design tool">
33+
{{- $isExternal := or (hasPrefix .url "http://") (hasPrefix .url "https://") -}}
34+
<a href="{{ .url }}"
35+
class="neumorphic-button hapticButton"
36+
aria-label="{{ .name }} - Design tool"
37+
{{ if $isExternal }}target="_blank" rel="noopener noreferrer"{{ end }}>
3538
<img src="/images/designlab/{{ .icon }}.svg" alt="{{ .name }} design tool icon" class="button-icon" loading="lazy">
3639
<span>{{ .name }}</span>
3740
</a>

layouts/games/games.html

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22
<html lang="en">
33
<head>
44
{{ partial "header.html" . }}
5-
<meta name="description" content="Play fun and engaging games by CodeFryDev. Enjoy Chain Reaction, Wordle, Snake, and more exciting games for free.">
6-
<meta name="keywords" content="games, online games, free games, chain reaction, wordle, snake, codefrydev games">
7-
<title>Games - CodeFryDev | Free Online Games</title>
5+
<meta name="description" content="Play free online games by CodeFryDev. Enjoy Chain Reaction, Wordle, Snake, and more exciting browser-based games. No downloads, no signup required.">
6+
<meta name="keywords" content="free online games, browser games, web games, chain reaction game, wordle game, snake game, puzzle games, codefrydev games">
87

98
{{ with resources.Get "css/home.css" }}
109
{{ $minifiedCSS := . | resources.Minify }}
@@ -31,7 +30,11 @@ <h1>CodeFryDev<sup style="font-size: small; font-weight: bold;"> Alpha</sup></h1
3130
<h2 class="category-title">Games</h2>
3231
<div class="button-grid">
3332
{{ range .Site.Data.games.data }}
34-
<a href="{{ .url }}" class="neumorphic-button hapticButton" aria-label="{{ .name }} - Play game">
33+
{{- $isExternal := or (hasPrefix .url "http://") (hasPrefix .url "https://") -}}
34+
<a href="{{ .url }}"
35+
class="neumorphic-button hapticButton"
36+
aria-label="{{ .name }} - Play game"
37+
{{ if $isExternal }}target="_blank" rel="noopener noreferrer"{{ end }}>
3538
<img src="/images/games/{{ .icon }}.svg" alt="{{ .name }} game icon" class="button-icon" loading="lazy">
3639
<span>{{ .name }}</span>
3740
</a>

layouts/index.html

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22
<html lang="en">
33
<head>
44
{{ partial "header.html" . }}
5-
<meta name="description" content="CodeFryDev - Your ultimate destination for diverse digital content and tools. Enjoy our extensive game collection, innovative productivity apps, and comprehensive tutorials for all skill levels.">
6-
<meta name="keywords" content="codefrydev, digital tools, games, productivity apps, tutorials, design resources, AI tools, creative tools, web development">
7-
<title>CodeFryDev | Games, Apps, Tutorials, and Design Tools</title>
5+
<meta name="description" content="Discover free online tools, games, and AI apps at CodeFryDev. No signup required. Access productivity apps, design resources, web-based games, and AI-powered utilities instantly.">
6+
<meta name="keywords" content="free online tools, web-based applications, no signup tools, free games, AI tools, design tools, productivity apps, web development tools, codefrydev">
87

98
{{ with resources.Get "css/home.css" }}
109
{{ $minifiedCSS := . | resources.Minify }}
@@ -32,7 +31,11 @@ <h1>CodeFryDev<sup style="font-size: small; font-weight: bold;"> Alpha</sup></h1
3231
<h2 class="category-title">{{ .name }}</h2>
3332
<div class="button-grid">
3433
{{ range .items }}
35-
<a href="{{ .url }}" class="neumorphic-button hapticButton" aria-label="{{ .name }} - {{ .name | lower }} tool">
34+
{{- $isExternal := or (hasPrefix .url "http://") (hasPrefix .url "https://") -}}
35+
<a href="{{ .url }}"
36+
class="neumorphic-button hapticButton"
37+
aria-label="{{ .name }} - {{ .name | lower }} tool"
38+
{{ if $isExternal }}target="_blank" rel="noopener noreferrer"{{ end }}>
3639
<img src="images/home/{{ .icon }}.svg" alt="{{ .name }} icon" class="button-icon" loading="lazy">
3740
<span>{{ .name }}</span>
3841
</a>

layouts/partials/breadcrumbs.html

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{{- if not .IsHome -}}
2+
<nav class="breadcrumbs" aria-label="Breadcrumb navigation">
3+
<ol class="breadcrumb-list" itemscope itemtype="https://schema.org/BreadcrumbList">
4+
<li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
5+
<a href="{{ .Site.BaseURL }}" itemprop="item">
6+
<span itemprop="name">Home</span>
7+
</a>
8+
<meta itemprop="position" content="1" />
9+
</li>
10+
{{- if .Section -}}
11+
<li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
12+
<a href="{{ .Site.BaseURL }}{{ .Section }}/" itemprop="item">
13+
<span itemprop="name">{{ .Section | title }}</span>
14+
</a>
15+
<meta itemprop="position" content="2" />
16+
</li>
17+
{{- end -}}
18+
{{- if and .Title (ne .Title .Section) -}}
19+
<li class="breadcrumb-item breadcrumb-current" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem" aria-current="page">
20+
<span itemprop="name">{{ .Title }}</span>
21+
<meta itemprop="position" content="{{ if .Section }}3{{ else }}2{{ end }}" />
22+
</li>
23+
{{- end -}}
24+
</ol>
25+
</nav>
26+
{{- end -}}

layouts/partials/header.html

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,17 @@
66
{{- /* Page-specific title */ -}}
77
{{- $pageTitle := .Title -}}
88
{{- if .IsHome -}}
9-
{{- $pageTitle = "CodeFryDev | Games, Apps, Tutorials, and Design Tools" -}}
9+
{{- $pageTitle = "Free Online Tools, Games & AI Apps | CodeFryDev - No Signup Required" -}}
10+
{{- else if eq .Section "ai" -}}
11+
{{- $pageTitle = "Free AI Tools & Generators | CodeFryDev - AI-Powered Utilities" -}}
12+
{{- else if eq .Section "games" -}}
13+
{{- $pageTitle = "Free Online Games - Play Now | CodeFryDev" -}}
14+
{{- else if eq .Section "designlab" -}}
15+
{{- $pageTitle = "Design Tools & Creative Resources | CodeFryDev Design Lab" -}}
1016
{{- else if ne .Title "" -}}
1117
{{- $pageTitle = printf "%s | CodeFryDev" .Title -}}
1218
{{- else -}}
13-
{{- $pageTitle = "CodeFryDev | Games, Apps, Tutorials, and Design Tools" -}}
19+
{{- $pageTitle = "Free Online Tools, Games & AI Apps | CodeFryDev" -}}
1420
{{- end -}}
1521
<title>{{ $pageTitle }}</title>
1622

@@ -80,6 +86,7 @@
8086
{{- /* Language and locale */ -}}
8187
<meta name="language" content="{{ .Site.LanguageCode | default "en-US" }}">
8288
<link rel="alternate" hreflang="{{ .Site.LanguageCode | default "en" }}" href="{{ .Permalink | absURL }}">
89+
<link rel="alternate" hreflang="x-default" href="{{ .Permalink | absURL }}">
8390

8491
{{- /* Theme CSS */ -}}
8592
<link rel="stylesheet" href="/css/theme.css">
@@ -97,14 +104,6 @@
97104
{{- /* Structured data */ -}}
98105
{{ partial "site_schema.html" . }}
99106

100-
<!--
101-
{{partial "seojsonld.html" .}}
102-
{{partial "aboutseo.html" .}}
103-
{{partial "historyseo.html" .}}
104-
{{partial "qaseo.html" .}}
105-
-->
106-
107107
{{- /* Additional Open Graph and Twitter Card templates (fallback) */ -}}
108108
{{- template "partials/templates/opengraph.html" . }}
109-
{{- template "partials/templates/twitter_cards.html" . }}
110-
<!-- {{- template "partials/templates/schema_json.html" . }} -->
109+
{{- template "partials/templates/twitter_cards.html" . }}

layouts/partials/navigation.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<nav class="main-navigation" role="navigation" aria-label="Main navigation">
2+
<ul class="nav-list">
3+
<li class="nav-item"><a href="/" class="nav-link{{ if .IsHome }} active{{ end }}">Home</a></li>
4+
<li class="nav-item"><a href="/games" class="nav-link{{ if eq .Section "games" }} active{{ end }}">Games</a></li>
5+
<li class="nav-item"><a href="/ai" class="nav-link{{ if eq .Section "ai" }} active{{ end }}">AI Tools</a></li>
6+
<li class="nav-item"><a href="/designlab" class="nav-link{{ if eq .Section "designlab" }} active{{ end }}">Design Lab</a></li>
7+
<li class="nav-item"><a href="/store" class="nav-link{{ if eq .Section "store" }} active{{ end }}">Store</a></li>
8+
<li class="nav-item"><a href="/about-us" class="nav-link{{ if eq .Section "about-us" }} active{{ end }}">About</a></li>
9+
</ul>
10+
</nav>

layouts/partials/smart-link.html

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{{- /* Smart link helper: Handles external links with proper attributes */ -}}
2+
{{- $url := .url -}}
3+
{{- $name := .name -}}
4+
{{- $class := .class | default "" -}}
5+
{{- $ariaLabel := .ariaLabel | default $name -}}
6+
{{- $isExternal := false -}}
7+
{{- $target := "" -}}
8+
{{- $rel := "" -}}
9+
10+
{{- /* Check if URL is external */ -}}
11+
{{- if or (hasPrefix $url "http://") (hasPrefix $url "https://") -}}
12+
{{- $isExternal = true -}}
13+
{{- $target = "_blank" -}}
14+
{{- $rel = "noopener noreferrer" -}}
15+
{{- end -}}
16+
17+
<a href="{{ $url }}"
18+
class="{{ $class }}{{ if $isExternal }} external-link{{ end }}"
19+
{{ if $target }}target="{{ $target }}"{{ end }}
20+
{{ if $rel }}rel="{{ $rel }}"{{ end }}
21+
aria-label="{{ $ariaLabel }}">
22+
{{- if .icon -}}
23+
<img src="{{ .icon }}" alt="{{ $name }} icon" class="button-icon" loading="lazy">
24+
{{- end -}}
25+
{{- if .content -}}
26+
{{ .content }}
27+
{{- else -}}
28+
<span>{{ $name }}</span>
29+
{{- end -}}
30+
{{- if $isExternal -}}
31+
<span class="external-link-indicator" aria-hidden="true" title="Opens in new tab"></span>
32+
{{- end -}}
33+
</a>

layouts/store/store.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22
<html lang="en">
33
<head>
44
{{ partial "header.html" . }}
5-
<meta name="description" content="Discover mobile applications by CodeFryDev. Download productivity apps, games, and utilities from the Google Play Store.">
6-
<meta name="keywords" content="mobile apps, android apps, codefrydev apps, productivity apps, play store, applications">
7-
<title>Store - CodeFryDev | Mobile Applications</title>
5+
<meta name="description" content="Download free mobile applications by CodeFryDev from the Google Play Store. Get productivity apps, games, and utilities for Android devices.">
6+
<meta name="keywords" content="free mobile apps, android apps, codefrydev apps, productivity apps, play store apps, android applications, mobile games">
87

98
{{ with resources.Get "css/home.css" }}
109
{{ $minifiedCSS := . | resources.Minify }}

0 commit comments

Comments
 (0)