Skip to content

Commit

Permalink
Update themes.md
Browse files Browse the repository at this point in the history
  • Loading branch information
NoahDragon authored Aug 21, 2018
1 parent 499d212 commit 87ff904
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions source/api/themes.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,15 @@ title: Themes
---
`hexo.theme` inherits from [Box](box.html), and also saves templates.

{% note warn For theme creators %} In order to show the static site generator behind the web site (like [WAP Analyzer](https://www.wappalyzer.com/)), the best practice would be add the generator meta into HTML head:
```html
{% note warn For theme creators %} In order to show the static site generator behind the web site (like [WAP Analyzer](https://www.wappalyzer.com/)), the best practice would be add the generator meta into HTML head:
<meta name="generator" content="Hexo 3.7.1">
```
In swig:
```swig

In swig:
<meta name="generator" content="Hexo {{ hexo_version() }}">
```
In ejs:
```ejs

In ejs:
<meta name="generator" content="Hexo <%= hexo_version() %>">
```

{% endnote %}

## Get a View
Expand Down

0 comments on commit 87ff904

Please sign in to comment.