GithubHelp home page GithubHelp logo

xinoassassin / hexo-theme-typescript Goto Github PK

View Code? Open in Web Editor NEW

This project forked from artchen/hexo-theme-memory

0.0 2.0 0.0 1.01 MB

A minimal hexo theme.

Home Page: http://otakism.org/hexo-theme-typescript/

License: MIT License

HTML 15.04% JavaScript 38.27% CSS 46.69%

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 hexo local search instead:

  • 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 4 search services:

  • Google custom search
  • Hexo Local search (hexo-json-content)
  • Algolia search
  • Microsoft Azure search

For information about how to setup searching, please refer to another project of mine, universal-search.

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 xinoassassin avatar jiangtj avatar

Watchers

James Cloos 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.