Merge pull request #45 from srwooow/master

Spanish + Google Websmaster tools + More speed in loading page for America and Europe
This commit is contained in:
Ruipeng Zhang 2015-09-04 00:06:40 +08:00
commit 69f1b77422
7 changed files with 52 additions and 3 deletions

View File

@ -40,7 +40,11 @@ contacts:
links:
Hexo: http://hexo.io
# CDN
cdn: useso #If your site loads slowly change it to "google" , because "useso" is slow out of China
# Miscellaneous
google_site_verification:
google_analytics:
favicon: favicon.png
twitter:

30
languages/es.yml Normal file
View File

@ -0,0 +1,30 @@
#By SrWoOoW
index:
home: 'Inicio'
search: 'Buscar'
archive: 'Archivo'
category: 'Categoria'
uncategorized: 'Sin categoría'
tag: 'Etiqueta'
nav:
next: 'Siguiente '
prev: 'Anterior'
older: 'Más viejo'
newer: 'Más nuevo'
widget:
recents: 'Recientes'
archives: 'Archivos'
categories: 'Categorias'
links: 'Links'
tags: 'Etiquetas'
tag_cloud: 'Nube de etiquetas'
article:
comments: 'Comentarios'
share: 'Compartir'
catalogue: 'Catálogo'
profile:
follow: 'SEGUIR'
post: 'Entrada'
tag: 'Etiqueta'
posts: 'Entradas'
tags: 'Etiquetas'

View File

@ -24,7 +24,7 @@
</script>
<% } %>
<script src="//ajax.useso.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
<%- partial('cdn_after_footer') %>
<% if (theme.fancybox){ %>
<%- css('fancybox/jquery.fancybox') %>

View File

@ -0,0 +1,5 @@
<% if (theme.cdn == "google"){ %>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<% } else if (theme.cdn == "useso"){ %>
<script src="//ajax.useso.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<% } %>

View File

@ -0,0 +1,7 @@
<% if (theme.cdn == "google"){ %>
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400italic,400,600' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Source+Code+Pro' rel='stylesheet' type='text/css'>
<% } else if (theme.cdn == "useso"){ %>
<link href='//fonts.useso.com/css?family=Open+Sans:400italic,400,600' rel='stylesheet' type='text/css'>
<link href="//fonts.useso.com/css?family=Source+Code+Pro" rel="stylesheet" type="text/css">
<% } %>

View File

@ -0,0 +1,3 @@
<% if (theme.google_site_verification){ %>
<meta name="google-site-verification" content="<%= theme.google_site_verification %>" />
<% } %>

View File

@ -28,11 +28,11 @@
<% if (theme.favicon){ %>
<link rel="icon" href="<%- theme.favicon %>">
<% } %>
<link href='//fonts.useso.com/css?family=Open+Sans:400italic,400,600' rel='stylesheet' type='text/css'>
<link href="//fonts.useso.com/css?family=Source+Code+Pro" rel="stylesheet" type="text/css">
<%- partial('cdn_head') %>
<%- css('css/style') %>
<%- css('font-awesome/css/font-awesome.min') %>
<%- partial('google-analytics') %>
<%- partial('google_site_verification') %>
<% if( theme.customstylesheet ){ %>
<%- css('css/'+theme.customstylesheet) %>
<% } %>