Giter Site home page Giter Site logo

beyond0716 / hexo-theme-landscape Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hexojs/hexo-theme-landscape

0.0 0.0 0.0 3.22 MB

A brand new default theme for Hexo.

Home Page: https://hexojs.github.io/hexo-theme-landscape/

License: MIT License

JavaScript 11.26% HTML 33.55% Stylus 55.19%

hexo-theme-landscape's Introduction

Landscape

A brand new default theme for [Hexo].

Installation

Install

$ git clone --depth 1 https://github.com/hexojs/hexo-theme-landscape themes/landscape

Landscape requires Hexo 2.4 and above. If you would like to enable the RSS, the hexo-generator-feed plugin is also required.

Enable

Modify theme setting in _config.yml to landscape.

_config.yml
- theme: some-theme
+ theme: landscape

Update

cd themes/landscape
git pull

Configuration

# Header
menu:
  Home: /
  Archives: /archives
rss: /atom.xml
banner: images/banner.jpg
subtitle: This a subtitle

# Content
excerpt_link: Read More
fancybox: true
recent_posts_limits: 5
# Footer
copyright: |-
  <a rel="license" href="http://creativecommons.org/licenses/by-nc-nd/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-nd/4.0/88x31.png" /></a></br>
  All website licensed under <a href="https://creativecommons.org/licenses/by-nc-nd/4.0/" target="_blank">CC BY-NC-ND 4.0</a></br>

# Sidebar
sidebar: right
widgets:
- category
- tag
- tagcloud
- archives
- recent_posts

# Miscellaneous
google_analytics:
favicon: /favicon.png
twitter:
  • menu - Navigation menu
  • rss - RSS link
  • banner - Path of title banner image of page top
  • excerpt_link - "Read More" link at the bottom of excerpted articles. false to hide the link.
  • fancybox - Enable Fancybox
  • recent_posts_limits - How many posts display in Home page.
  • sidebar - Sidebar style. You can choose left, right, bottom or false.
  • widgets - Widgets displaying in sidebar
  • google_analytics - Google Analytics ID
  • favicon - Favicon path
  • twitter - Twiiter ID

Features

Fancybox

Landscape uses Fancybox to showcase your photos. You can use Markdown syntax or fancybox tag plugin to add your photos.

![img caption](img url)

{% fancybox img_url [img_thumbnail] [img_caption] %}

Sidebar

You can put your sidebar in left side, right side or bottom of your site by editing sidebar setting.

Landscape provides 5 built-in widgets:

  • category
  • tag
  • tagcloud
  • archives
  • recent_posts

All of them are enabled by default. You can edit them in widget setting.

hexo-theme-landscape's People

Contributors

tommy351 avatar curbengh avatar ideoplex avatar xuanwo avatar jlhwung avatar noahdragon avatar yoshinorin avatar rammusxu avatar dependabot[bot] avatar lulzneko avatar tombyrer avatar tomap avatar tcrowe avatar wayou avatar itsamr avatar stevenjoezhang avatar sukkaw avatar terribledev avatar gologo13 avatar 44uk avatar zjbarg avatar foolyoghurt avatar giuseppelt avatar kuanyui avatar leesei avatar liuhongjiang avatar lzjqsdd avatar navyxie avatar netlesh avatar ramonsantos 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.