diff --git a/src/_includes/bio.njk b/src/_includes/bio.njk index b6a2e14..ec74527 100644 --- a/src/_includes/bio.njk +++ b/src/_includes/bio.njk @@ -1,39 +1,27 @@ - - - - - - {% set seoBioDescription = bio - and (bio - | replace('\r', ' ') - | replace('\n', ' ') - | replace('\t', ' ') - | replace('"', "'") - | trim - | truncate(160)) - or "" %} - {% set seo = { - title: name + " | " + role + " | NextCommunity", - description: (seoBioDescription or ("Explore " + name + "'s developer profile, skills, and social links on NextCommunity.")), - keywords: "developer profile, " + name + ", " + role + ", github profile, software developer portfolio", - type: "profile", - image: site.defaultImage, - person: { - name: name, - role: role, - github: github, - linkedin: linkedin - } - } %} - {% include "seo-meta.njk" %} - - - - - - {% include "github-ribbon.njk" %} - - {% include "header.njk" %} +{% set seoBioDescription = bio + and (bio + | replace('\r', ' ') + | replace('\n', ' ') + | replace('\t', ' ') + | replace('"', "'") + | trim + | truncate(160)) + or "" %} +{% set seo = { + title: name + " | " + role + " | NextCommunity", + description: (seoBioDescription or ("Explore " + name + "'s developer profile, skills, and social links on NextCommunity.")), + keywords: "developer profile, " + name + ", " + role + ", github profile, software developer portfolio", + type: "profile", + image: site.defaultImage, + person: { + name: name, + role: role, + github: github, + linkedin: linkedin + } +} %} +{% set useTailwindCdn = true %} +{% include "page-header.njk" %}
diff --git a/src/_includes/page-header.njk b/src/_includes/page-header.njk new file mode 100644 index 0000000..476ca7e --- /dev/null +++ b/src/_includes/page-header.njk @@ -0,0 +1,18 @@ + + + + + + {% include "seo-meta.njk" %} + {% if useTailwindCdn %} + + {% else %} + + {% endif %} + + + + + {% include "github-ribbon.njk" %} + + {% include "header.njk" %} diff --git a/src/games.njk b/src/games.njk index dc385c6..5ff5510 100644 --- a/src/games.njk +++ b/src/games.njk @@ -2,27 +2,15 @@ layout: false permalink: /games/ --- - - - - - - {% set seo = { - title: "Developer Arcade | Coding Games, XP, and Achievements", - description: "Play coding mini-games, earn XP, and unlock achievements in the NextCommunity Developer Arcade.", - keywords: "developer games, coding arcade, programming mini games, developer xp, gamified coding", - type: "website", - image: "/assets/img/next.jpeg" - } %} - {% include "seo-meta.njk" %} - - - - - - {% include "github-ribbon.njk" %} - - {% include "header.njk" %} +{% set seo = { + title: "Developer Arcade | Coding Games, XP, and Achievements", + description: "Play coding mini-games, earn XP, and unlock achievements in the NextCommunity Developer Arcade.", + keywords: "developer games, coding arcade, programming mini games, developer xp, gamified coding", + type: "website", + image: "/assets/img/next.jpeg" +} %} +{% set useTailwindCdn = true %} +{% include "page-header.njk" %}
diff --git a/src/index.njk b/src/index.njk index b2c4584..707c0d1 100644 --- a/src/index.njk +++ b/src/index.njk @@ -1,27 +1,14 @@ --- layout: false --- - - - - - - {% set seo = { - title: "NextCommunity Developer Directory | Discover Open-Source Talent", - description: "Explore developer profiles from around the world, discover skills, and connect with open-source contributors in the NextCommunity directory.", - keywords: "developer directory, open source developers, software engineers, github developers, developer community, global tech talent", - type: "website", - image: "/assets/img/next.jpeg" - } %} - {% include "seo-meta.njk" %} - - - - - - {% include "github-ribbon.njk" %} - - {% include "header.njk" %} +{% set seo = { + title: "NextCommunity Developer Directory | Discover Open-Source Talent", + description: "Explore developer profiles from around the world, discover skills, and connect with open-source contributors in the NextCommunity directory.", + keywords: "developer directory, open source developers, software engineers, github developers, developer community, global tech talent", + type: "website", + image: "/assets/img/next.jpeg" +} %} +{% include "page-header.njk" %}