Skip to content

Commit

Permalink
Refactor: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
mamboer committed Apr 20, 2019
1 parent c447cb8 commit fbe1f5e
Show file tree
Hide file tree
Showing 40 changed files with 7,053 additions and 64 deletions.
6 changes: 5 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,13 @@ hfc_img:
progressive: false

hfc_favicons:
enable: false
enable: true
src: img/logo.png
target: img/
opts:
appName: Aotu.io
appDescription: "AotuLabs's Offical Site"
theme_color: "#2f83cd"
icons:
android: true
appleIcon: true
Expand Down
34 changes: 17 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,39 +10,39 @@
"clean": "rm -rf public/js/libs && rm -rf public/js/mods"
},
"hexo": {
"version": "3.7.1"
"version": "3.8.0"
},
"dependencies": {
"cheerio": "^0.22.0",
"fs-extra": "^2.1.2",
"hexo": "^3.3.1",
"hexo-deployer-git": "0.2.0",
"hexo-filter-cleanup": "^1.0.7",
"hexo-generator-archive": "^0.1.4",
"fs-extra": "^7.0.1",
"hexo": "^3.8.0",
"hexo-deployer-git": "1.0.0",
"hexo-filter-cleanup": "mamboer/hexo-filter-cleanup",
"hexo-generator-archive": "^0.1.5",
"hexo-generator-baidu-sitemap": "mamboer/hexo-generator-baidu-sitemap",
"hexo-generator-category": "^0.1.3",
"hexo-generator-xfeed": "^1.2.4",
"hexo-generator-fragments": "github:mamboer/hexo-generator-fragments",
"hexo-generator-index": "^0.2.1",
"hexo-generator-json-feed": "^1.0.0",
"hexo-generator-lunr": "^1.0.5",
"hexo-generator-sitemap": "^1.1.2",
"hexo-generator-sitemap": "^1.2.0",
"hexo-generator-tag": "^0.2.0",
"hexo-generator-xfeed": "^1.2.4",
"hexo-renderer-ejs": "*",
"hexo-renderer-marked": "^0.3.0",
"hexo-renderer-marked": "^0.3.2",
"hexo-renderer-stylus": "mamboer/hexo-renderer-stylus",
"hexo-server": "^0.2.0",
"hexo-util": "^0.6.0",
"hexo-wordcount": "2.0.1",
"lodash": "^4.17.4",
"hexo-server": "^0.3.3",
"hexo-util": "^0.6.3",
"hexo-wordcount": "6.0.1",
"lodash": "^4.17.11",
"lunr": "github:codepiano/lunr.js.git"
},
"devDependencies": {
"eslint": "^3.19.0",
"eslint": "^5.16.0",
"eslint-config-defaults": "^9.0.0",
"js-yaml": "^3.8.3"
"js-yaml": "^3.13.1"
},
"optionalDependencies": {
"hexo-browsersync": "^0.2.0"
"hexo-browsersync": "^0.3.0"
}
}
}
1 change: 1 addition & 0 deletions source/_data/favicons.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
["<link rel=\"shortcut icon\" href=\"/img/favicon.ico\">","<link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/img/favicon-16x16.png\">","<link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/img/favicon-32x32.png\">","<link rel=\"manifest\" href=\"/img/manifest.json\">","<meta name=\"mobile-web-app-capable\" content=\"yes\">","<meta name=\"theme-color\" content=\"#fff\">","<meta name=\"application-name\" content=\"Aotu.io\">","<link rel=\"apple-touch-icon\" sizes=\"57x57\" href=\"/img/apple-touch-icon-57x57.png\">","<link rel=\"apple-touch-icon\" sizes=\"60x60\" href=\"/img/apple-touch-icon-60x60.png\">","<link rel=\"apple-touch-icon\" sizes=\"72x72\" href=\"/img/apple-touch-icon-72x72.png\">","<link rel=\"apple-touch-icon\" sizes=\"76x76\" href=\"/img/apple-touch-icon-76x76.png\">","<link rel=\"apple-touch-icon\" sizes=\"114x114\" href=\"/img/apple-touch-icon-114x114.png\">","<link rel=\"apple-touch-icon\" sizes=\"120x120\" href=\"/img/apple-touch-icon-120x120.png\">","<link rel=\"apple-touch-icon\" sizes=\"144x144\" href=\"/img/apple-touch-icon-144x144.png\">","<link rel=\"apple-touch-icon\" sizes=\"152x152\" href=\"/img/apple-touch-icon-152x152.png\">","<link rel=\"apple-touch-icon\" sizes=\"167x167\" href=\"/img/apple-touch-icon-167x167.png\">","<link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/img/apple-touch-icon-180x180.png\">","<link rel=\"apple-touch-icon\" sizes=\"1024x1024\" href=\"/img/apple-touch-icon-1024x1024.png\">","<meta name=\"apple-mobile-web-app-capable\" content=\"yes\">","<meta name=\"apple-mobile-web-app-status-bar-style\" content=\"black-translucent\">","<meta name=\"apple-mobile-web-app-title\" content=\"Aotu.io\">","<meta name=\"msapplication-TileColor\" content=\"#fff\">","<meta name=\"msapplication-TileImage\" content=\"/img/mstile-144x144.png\">","<meta name=\"msapplication-config\" content=\"/img/browserconfig.xml\">"]
3 changes: 3 additions & 0 deletions themes/lattice/layout/_partial/common/favicons.swig
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{% for item in site.data.favicons %}
{{ item }}
{% endfor %}
24 changes: 2 additions & 22 deletions themes/lattice/layout/_partial/common/head.swig
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@
<meta name="author" content="{{ config.author }}" />
<meta name="designer" content="{{ config.author }}" />
<meta name="rating" content="general" />

<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta name="format-detection" content="telephone=yes" />
<meta name="mobile-web-app-capable" content="yes" />
<meta name="robots" content="index, follow" />

{% if config.baiduce %}
Expand All @@ -26,24 +22,8 @@
{% endfor %}
{% endif %}

<!-- Icon -->
<link rel="apple-touch-icon" sizes="57x57" href="{{ url_for('img/apple-touch-icon-57x57.png') }}">
<link rel="apple-touch-icon" sizes="114x114" href="{{ url_for('img/apple-touch-icon-114x114.png') }}">
<link rel="apple-touch-icon" sizes="72x72" href="{{ url_for('img/apple-touch-icon-72x72.png') }}">
<link rel="apple-touch-icon" sizes="144x144" href="{{ url_for('img/apple-touch-icon-144x144.png') }}">
<link rel="apple-touch-icon" sizes="60x60" href="{{ url_for('img/apple-touch-icon-60x60.png') }}">
<link rel="apple-touch-icon" sizes="120x120" href="{{ url_for('img/apple-touch-icon-120x120.png') }}">
<link rel="apple-touch-icon" sizes="76x76" href="{{ url_for('img/apple-touch-icon-76x76.png') }}">
<link rel="apple-touch-icon" sizes="152x152" href="{{ url_for('img/apple-touch-icon-152x152.png') }}">
<link rel="icon" type="image/png" href="{{ url_for('img/favicon-230x230.png') }}" sizes="230x230">
<link rel="icon" type="image/png" href="{{ url_for('img/android-chrome-192x192.png') }}" sizes="192x192">
<link rel="icon" type="image/png" href="{{ url_for('img/android-chrome-144x144.png') }}" sizes="144x144">
<link rel="icon" type="image/png" href="{{ url_for('img/favicon-96x96.png') }}" sizes="96x96">
<link rel="icon" type="image/png" href="{{ url_for('img/favicon-16x16.png') }}" sizes="16x16">
<link rel="icon" type="image/png" href="{{ url_for('img/favicon-32x32.png') }}" sizes="32x32">

<meta name="msapplication-TileColor" content="#2f83cd">
<meta name="msapplication-TileImage" content="{{ url_for('img/mstile-144x144.png') }}">
<!-- favicons -->
{% include 'favicons.swig' %}

<!--open.weibo.com-->
<meta property="wb:webmaster" content="a1686eb81db284d5" />
Expand Down
Binary file modified themes/lattice/source/img/android-chrome-144x144.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified themes/lattice/source/img/android-chrome-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified themes/lattice/source/img/android-chrome-256x256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified themes/lattice/source/img/android-chrome-36x36.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified themes/lattice/source/img/android-chrome-384x384.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified themes/lattice/source/img/android-chrome-48x48.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified themes/lattice/source/img/android-chrome-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified themes/lattice/source/img/android-chrome-72x72.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified themes/lattice/source/img/android-chrome-96x96.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified themes/lattice/source/img/apple-touch-icon-114x114.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified themes/lattice/source/img/apple-touch-icon-120x120.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified themes/lattice/source/img/apple-touch-icon-144x144.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified themes/lattice/source/img/apple-touch-icon-152x152.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified themes/lattice/source/img/apple-touch-icon-167x167.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified themes/lattice/source/img/apple-touch-icon-180x180.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified themes/lattice/source/img/apple-touch-icon-57x57.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified themes/lattice/source/img/apple-touch-icon-60x60.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified themes/lattice/source/img/apple-touch-icon-72x72.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified themes/lattice/source/img/apple-touch-icon-76x76.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified themes/lattice/source/img/apple-touch-icon-precomposed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified themes/lattice/source/img/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions themes/lattice/source/img/browserconfig.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
<browserconfig>
<msapplication>
<tile>
<square70x70logo src="/mstile-70x70.png"/>
<square150x150logo src="/mstile-150x150.png"/>
<wide310x150logo src="/mstile-310x150.png"/>
<square310x310logo src="/mstile-310x310.png"/>
<square70x70logo src="/img/mstile-70x70.png"/>
<square150x150logo src="/img/mstile-150x150.png"/>
<wide310x150logo src="/img/mstile-310x150.png"/>
<square310x310logo src="/img/mstile-310x310.png"/>
<TileColor>#fff</TileColor>

</tile>
Expand Down
Binary file modified themes/lattice/source/img/favicon-16x16.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed themes/lattice/source/img/favicon-230x230.png
Binary file not shown.
Binary file modified themes/lattice/source/img/favicon-32x32.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed themes/lattice/source/img/favicon-96x96.png
Diff not rendered.
Binary file modified themes/lattice/source/img/favicon.ico
Binary file not shown.
56 changes: 36 additions & 20 deletions themes/lattice/source/img/manifest.json
Original file line number Diff line number Diff line change
@@ -1,43 +1,59 @@
{
"name": null,
"name": "Aotu.io",
"short_name": "Aotu.io",
"description": "AotuLabs's Offical Site",
"dir": "auto",
"lang": "en-US",
"display": "standalone",
"orientation": "portrait",
"orientation": "any",
"start_url": "/?homescreen=1",
"background_color": "#fff",
"theme_color": "#2f83cd",
"icons": [
{
"src": "/android-chrome-36x36.png",
"src": "/img/android-chrome-36x36.png",
"sizes": "36x36",
"type": "image/png",
"density": "0.75"
"type": "image/png"
},
{
"src": "/android-chrome-48x48.png",
"src": "/img/android-chrome-48x48.png",
"sizes": "48x48",
"type": "image/png",
"density": "1.0"
"type": "image/png"
},
{
"src": "/android-chrome-72x72.png",
"src": "/img/android-chrome-72x72.png",
"sizes": "72x72",
"type": "image/png",
"density": "1.5"
"type": "image/png"
},
{
"src": "/android-chrome-96x96.png",
"src": "/img/android-chrome-96x96.png",
"sizes": "96x96",
"type": "image/png",
"density": "2.0"
"type": "image/png"
},
{
"src": "/android-chrome-144x144.png",
"src": "/img/android-chrome-144x144.png",
"sizes": "144x144",
"type": "image/png",
"density": "3.0"
"type": "image/png"
},
{
"src": "/android-chrome-192x192.png",
"src": "/img/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png",
"density": "4.0"
"type": "image/png"
},
{
"src": "/img/android-chrome-256x256.png",
"sizes": "256x256",
"type": "image/png"
},
{
"src": "/img/android-chrome-384x384.png",
"sizes": "384x384",
"type": "image/png"
},
{
"src": "/img/android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
]
}
Binary file modified themes/lattice/source/img/mstile-144x144.png
Binary file modified themes/lattice/source/img/mstile-150x150.png
Binary file modified themes/lattice/source/img/mstile-310x150.png
Binary file modified themes/lattice/source/img/mstile-310x310.png
Binary file modified themes/lattice/source/img/mstile-70x70.png
Loading

0 comments on commit fbe1f5e

Please sign in to comment.