Code Monkey home page Code Monkey logo

hexo-theme-typescript's Introduction

Hexo Theme Typescript

Typescript is a minimal theme for Hexo.

This theme is also available on:

Dependencies

This theme depends on the following Hexo plugins to work correctly:

  • hexo-generator-tag
  • hexo-renderer-ejs
  • hexo-renderer-less
  • hexo-renderer-marked
  • hexo-pagination

If you are to use local search instead of google custom search:

  • hexo-generator-json-content

and add the following to your global _config.yml:

# Generator json content
jsonContent:
  meta: false
  keywords: false
  pages:
    title: true
    slug: false
    date: false
    updated: false
    comments: false
    path: false
    link: false
    permalink: true
    excerpt: false
    keywords: false
    text: true
    raw: false
    content: false
  posts:
    title: true
    slug: false
    date: false
    updated: false
    comments: false
    path: false
    link: false
    permalink: true
    excerpt: false
    keywords: false
    text: true
    raw: false
    content: false
    categories: false
    tags: false

Please make sure these plugins are installed before generate the site.

Customization

Typescript is customizable via _config.yml file under the theme directory.

The global _config.yml for Hexo may also need customization. In particular:

  • Set disqus_shortname field to your disqus short name.
  • Set theme field to hexo-theme-typescript.

In addition to these settings, users may also want to edit/replace the following files:

  • Replace the site logo: source/images/logo.png, source/images/logo.psd
  • The icon fonts are from icomoon.
  • The default English font is Futura PT via Adobe Typekit. If you are using Typekit like me, please change the embedded javascript code in layout/_partial/head.ejs, else you can delete the corresponding code.

This theme currently support 2 search services:

  • Google Custom Search Engine: please fill in your api key and engine id in the _config.yml under the theme directory.
  • Local search by querying content.json generated by hexo-generator-json-content. This is not recommended if you have a large number of posts.

Demo

Typescript Demo

Copyright

Public resources used in this theme:

Copyright © Art Chen

Please do not remove the "Theme Typescript designed by Art Chen" text and links.

请不要删除页面底部的作者信息和链接。

hexo-theme-typescript's People

Contributors

artchen avatar

Watchers

 avatar  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.