Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .eleventy.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
const yaml = require("js-yaml");
const MarkdownIt = require("markdown-it");
const markdown = new MarkdownIt({ html: false });

module.exports = (eleventyConfig) => {
eleventyConfig.addShortcode("currentYear", () => new Date().getFullYear());
eleventyConfig.addFilter("markdown", (value) =>
markdown.render(typeof value === "string" ? value : "")
);
eleventyConfig.addFilter("safeJsonLd", (value) => {
const json = JSON.stringify(value) ?? "null";
return json.replace(/<\//g, "<\\/");
Expand Down
125 changes: 103 additions & 22 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"description": "A community for open-source programmers and software engineers.",
"main": "script.js",
"dependencies": {
"markdown-it": "^15.0.3",
"@11ty/eleventy": "^3.1.8",
"@tailwindcss/postcss": "^4.3.4",
"detect-libc": "^2.1.2",
Expand Down
2 changes: 1 addition & 1 deletion src/_includes/bio.njk
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ layout: layouts/base.njk
<span class="w-8 h-[2px] bg-accent" aria-hidden="true"></span> Professional Bio
</h2>
<div class="text-[var(--text-main)] text-lg leading-relaxed whitespace-pre-line">
{{ bio }}
{{ bio | markdown | safe }}
</div>
</div>
{% endif %}
Expand Down
2 changes: 1 addition & 1 deletion src/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ seo:

{% set bio = person.data.bio %}
{% if bio %}
<p class="mt-4 text-[var(--text-muted)] text-sm italic line-clamp-3">"{{ bio | trim | truncate(120) }}"</p>
<p class="mt-4 text-[var(--text-muted)] text-sm italic line-clamp-3">"{{ bio | markdown | striptags | trim | truncate(120) }}"</p>
{% endif %}
</div>

Expand Down
12 changes: 6 additions & 6 deletions src/users/kenhorlador.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ location: Camarines Sur
role: Software Engineer / UI/UX Designer / Layout Artist
languages: c c++ js css3 html5 python3.82+ golang scss typescript
bio: |
I'm **Ken Horlador** from Camarines Sur, Philippines. I enjoy learning programming languages and libraries/frameworks like <a href="https://reactjs.org/">ReactJS</a> with <a href="https://www.gatsbyjs.com/">GatsbyJS</a> or <a href="https://nextjs.org/">NextJS</a>. I also enjoy wireframing, developing user flows, user interface, user experience and design in general.
I'm **Ken Horlador** from Camarines Sur, Philippines. I enjoy learning programming languages and libraries/frameworks like [ReactJS](https://reactjs.org/) with [GatsbyJS](https://www.gatsbyjs.com/) or [NextJS](https://nextjs.org/). I also enjoy wireframing, developing user flows, user interface, user experience and design in general.

Currently taking Bachelor of Science in Computer Science at <a href="https://cspc.edu.ph/">Camarines Sur Polytechnic Colleges.</a>
Currently taking Bachelor of Science in Computer Science at [Camarines Sur Polytechnic Colleges](https://cspc.edu.ph/).

Former Layout Artist at <a href="https://www.facebook.com/theusifacade">The USI-Façade | The Official Student Publication</a> of <a href="https://www.usi.edu.ph/">Universidad de Sta. Isabel</a> <strong>[ 2019 - 2020 ]</strong>
Former Layout Artist at [The USI-Façade | The Official Student Publication](https://www.facebook.com/theusifacade) of [Universidad de Sta. Isabel](https://www.usi.edu.ph/) **[2019 - 2020]**

Currently working as a Layout Artist at <a href="https://www.facebook.com/thesparkpub">TheSpark | The Official Student-Community Publication</a> of <a href="https://cspc.edu.ph/">Camarines Sur Polytechnic Colleges</a> <strong>[ 2020 - <i>Present</i> ]</strong>
Currently working as a Layout Artist at [TheSpark | The Official Student-Community Publication](https://www.facebook.com/thesparkpub) of [Camarines Sur Polytechnic Colleges](https://cspc.edu.ph/) **[2020 - *Present*]**

Personality type: <strong>INTJ</strong> ( Introverted, Intuitive, Thinking, Judging )
Personality type: **INTJ** (Introverted, Intuitive, Thinking, Judging)

Pronouns: <strong>He/Him/His</strong>
Pronouns: **He/Him/His**
Loading