Welcome to the source code of my personal portfolio and blog. This repository contains the frontend implementation built using vanilla HTML, CSS, and JavaScript.
The actual markdown articles are stored in a separate repository: Penjelajah-CyberSecurity.
This project dynamically fetches markdown files and renders them in the browser.
js/data.js: Contains the list of articles. Each item includes metadata and arawUrlpointing to a.mdfile on GitHub.js/main.js: Readsdata.jsto display the article cards on the homepage.js/read.js: When an article is clicked, it fetches the markdown from therawUrland usesmarked.jsto convert it into HTML for reading.- Giscus (Optional): If an article object in
js/data.jsincludes agiscusconfiguration block, the comment section will be enabled for that page.
If you would like to use this template for your own portfolio or learning purposes:
- Fork this repository to your GitHub account and rename it to
yourusername.github.io. - Enable GitHub Pages: Go to your repository Settings -> Pages -> Deploy from the
mainbranch. - Create a Content Repository: Create a separate repository to store your
.mdfiles. (Learn Markdown syntax here). - Update Content: Open
js/data.jsin your forked repository and update therawUrlto point to your new markdown files. - Update Profile: Modify
index.htmlandabout.htmlwith your own profile information and image.
MIT License.
🇮🇩 Baca versi Bahasa Indonesia
Selamat datang di repositori source code untuk personal portfolio dan blog saya. Proyek ini dibangun menggunakan HTML, CSS, dan JavaScript murni (vanilla).
Artikel markdown yang ditampilkan di web ini disimpan pada repositori terpisah: Penjelajah-CyberSecurity.
Proyek ini mengambil file markdown secara dinamis dan menampilkannya di browser.
js/data.js: Berisi daftar artikel. Setiap item memiliki metadata danrawUrlyang mengarah ke file.mddi GitHub.js/main.js: Membacadata.jsuntuk menampilkan daftar artikel di halaman utama.js/read.js: Saat artikel diklik, script ini akan mengambil teks markdown darirawUrldan menggunakanmarked.jsuntuk mengubahnya menjadi HTML agar bisa dibaca.- Giscus (Opsional): Jika konfigurasi
giscusditambahkan pada objek artikel dijs/data.js, kolom komentar akan aktif di halaman tersebut.
Jika Anda ingin menggunakan template ini untuk portfolio atau sarana belajar:
- Fork repositori ini ke akun GitHub Anda dan ubah namanya menjadi
username.github.io. - Aktifkan GitHub Pages: Masuk ke Settings -> Pages -> pilih Deploy dari branch
main. - Buat Repositori Konten: Buat repositori terpisah khusus untuk menyimpan file
.mdAnda. (Pelajari Markdown di sini). - Perbarui Konten: Buka
js/data.jsdan ubah linkrawUrlagar mengarah ke file markdown Anda. - Perbarui Profil: Edit
index.htmldanabout.htmluntuk mengganti informasi profil dan foto Anda.
MIT License.
