Skip to content

rowellx68/hexo-tag-theta360

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

hexo-tag-theta360

Build Status npm version dependencies Status devDependencies Status Coverage Status

Embed 360 photos uploaded to theta360.com in your Hexo blog.

Installation

npm install --save hexo-tag-theta360

Usage

{% theta360 image-url %}

or

{% theta360 image-id %}

Example Usages

Embed using the full URL.

{% theta360 https://theta360.com/s/fHmW9N6LuKPPp6pqmnPt1vpho %}

Embed using the image ID.

{% theta360 fHmW9N6LuKPPp6pqmnPt1vpho %}

Styling

By default, the iframe has no styling at all. You will need to apply your own styles using CSS by targeting the hexo-tag-theta360 class.

An example style could be

.hexo-tag-theta360 {
    width: 100%;
    height: 400px;
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published