GithubHelp home page GithubHelp logo

hezez / hexo-theme-claudia Goto Github PK

View Code? Open in Web Editor NEW

This project forked from haojen/hexo-theme-claudia

0.0 1.0 0.0 1.31 MB

🔥 Claudia is a Hexo theme , Simple / Grace / and Support Emoji, and More

Home Page: https://haojen.github.io/Claudia-theme-blog/

License: MIT License

HTML 77.10% JavaScript 16.39% CSS 6.51%

hexo-theme-claudia's Introduction

Claudia

简体中文 | English

Click me to preview

cover

Bug fix (2018.12.29)

fix embed element height auto issues

How to Use

Enable comments

_config.yml in theme folder

Livere

    use_livere: true
    livere_uid: your livere id (Plase use your own livere id)

Disqus

    use_disqus: true
    disqus_url: your Disqus link

Post Cover

Set the attribute of alt in img to post-cover

upper-right navigation bar

Attention: Configure the file _config.yml under the theme profile ,not the one in root of whole hexo direction

   menu:
      Home: / #homepage
      My Works: /works
      About: /about
      #Tags: /tags

User's Profile

Attention: Configure the file _config.yml under the theme profile, not the one in root of whole hexo direction

user_name: your name
user_avatar: your avatar
user_location: your location
user_description: about you introduction

// this info will show About page
user_contact: 
user_introduction

// config you share info
weibo_username: 
zhihu_username: 
github_username:
twitter_username: 
facebook_username: 
linkedin_username: 

Code highlighting

  1. Disable the default hexo highlight configuration(modify your _config.yml in main directory of hexo)
highlight:
enable: false
line_number: false
auto_detect: false
tab_replace: false
  1. Modify your _config.yml file under your theme profile
block_highlight: highlight_rainbow

After you disabled the default highlight configuration, you should better choose one of these following options I offered.

  • highlight_default
  • highlight_light
  • highlight_github
  • highlight_rainbow
  • highlight_vs
  • highlight_atom

Create About Page

Create a new folder about under the source of hexo, and then, create a index.md file and copy the following content into it.

--
title: about
date: 2017-05-31 10:05:56
layout: about
---

Create Works Page

Same way as create About page but different content to index.md

title: My Works
date: 2017-05-31 10:05:56
layout: works
---

After content copied, create a parallel folder _data with work and create a file project.json in it.

project.json demo:

{
    "Apple 官网临摹": {
    "title": "Apple 官网临摹",
    "subTitle": "根据美版apple官网临摹",
    "img_link": "http://o7bkkhiex.bkt.clouddn.com/item-apple.jpg",
    "use" : ["jQuery"],
    "link": "http://haojen.github.io/apple-linmo/",
    "data":"2016.3",
    "direction": "临摹 2016 年三月份 Apple 美版单页面。"
    },
    "Anisina (阿尼丝娜)": {
    "title": "Anisina",
    "subTitle": "基于 Hexo 制作的个人博客主题",
    "img_link": "http://o7bkkhiex.bkt.clouddn.com/Anisina.png",
    "use" : ["jQuery","Bootstrap","Node.js","EJS","Hexo","SASS"],
    "link": "http://haojen.github.io/",
    "data": "2016.5",
    "direction":
        "Hexo 是某位**友人基于 Node.js 编写的博客框架"
    }
}

Extension Function

install these following function package as you need

  • flowchart

    npm install hexo-filter-flowchart --save

  • Emoji

    npm install hexo-filter-github-emojis --save

  • search

    npm install hexo-generator-search --save

  • Math formula

    npm install hexo-renderer-mathjax --save

For more detail of configuration please visit article in this blog

💙 At Last

You can commit your issue if any questions you've met. Your feedback after your use is very important to me. BTW, Star me if you like😍

License

MIT © haojen ma

hexo-theme-claudia's People

Contributors

haojen avatar koppel-zhou avatar leoashin avatar wizardmerlin avatar yihuajack avatar zeroki avatar

Watchers

 avatar

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.