GithubHelp home page GithubHelp logo

0zelot / personal-page Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 4.03 MB

Personal website CMS with blog, GitHub and Discord integration.

License: MIT License

Vue 54.12% TypeScript 31.31% CSS 14.58%
devicons fontawesome nuxt-content nuxt3 personal-blog personal-website rss-feed sitemap vue3

personal-page's Introduction

personal-page

What is it

Personal page CMS with blog, discord and github integration. Created using Nuxt3 and Nuxt Content v2.

Setup

# install dependencies
npm install

# serve with hot reload at localhost:3000
npm run dev

# generate static project
npm run generate

Configuration

The main configuration is in .env and /content/config.json.

ENV file

Create .env file in project's root directory and configure if as you want.

title = "Your name"
domain = "example.com"
header = "<span style='color:#FFFFFF'>Your name</span>"
description = "Some description here"
favicon = "https://i.imgur.com/w3f9YkV.png"
html_lang = "en"

config.json file

Socials

You can add as many items as you like. Font Awesome icons are supported.

Favourites

Find the icon on DEVICON and paste its class in the array.

Quotes

You can insert as many quotes as you want. It will be displayed as a slider.

Discord

Enter your username and discriminator there. Then create a new server and turn on the Widget on it.

Paste the JSON API URL in the appropriate place in config.

Blog

The blog module is made with Nuxt Content v2.

Articles in Markdown files must be placed in /content/blog/ directory. The file name is the article slug.

Data such as article title, description, image, and tags should be included in Markdown Metadata as YAML.

Example article

/content/blog/another-example.md

---
title: "Another example"
created: 1659951006
tags: 
- "Learning"
keywords: ""
visibility: 1
image: "https://i.imgur.com/824s386.png"
description: "Vitae proin sagittis nisl rhoncus. Nisl tincidunt eget nullam non nisi est sit amet facilisis. Excepteur sint occaecat cupidatat non proident."
---
## This is article content

Test

Create such a file, run the development mode npm run dev, and go to localhost:3000/blog/another-example to view the new article.

Visibility

  • 1 - the article is visible on the main page and the blog page
  • 2 - the article is hidden on the main page, available only via link and it is visible in sitemap and rss
  • 3 - the article is hidden on main page, not visible in sitemap and rss, available only via link

personal-page's People

Contributors

0zelot avatar dependabot[bot] avatar

Watchers

 avatar

Forkers

the-chely

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.