Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
79 lines (59 sloc) 3.18 KB
meta(charset="utf-8")
meta(http-equiv="X-UA-Compatible", content="IE=edge")
meta(name="viewport", content="width=device-width, initial-scale=1.0")
meta(name="author", content=config.author)
meta(name="copyright", content=config.author)
link(rel="author", type="text/html", href=theme.links.twitter.link)
link(rel="icon", href=url_for(theme.favicon))
link(rel="canonical", content=page.permalink)
// Add to home screen for Android and modern mobile browsers
link(rel='manifest', href='/manifest.json')
meta(name='theme-color', content='#008aff')
// Add to home screen for Safari on iOS
meta(name='apple-mobile-web-app-capable', content='yes')
meta(name='apple-mobile-web-app-status-bar-style', content='default')
meta(name='apple-mobile-web-app-title', content='Alex Jover Blog')
link(rel='apple-touch-icon', href='/images/icons/icon-152x152.png')
// Add to home screen for Windows
meta(name='msapplication-TileImage', content='/images/icons/icon-152x152.png')
meta(name='msapplication-TileColor', content='#000000')
block head_metadata
title= config.title
meta(name="description", content=config.description)
meta(name="twitter:title", content=config.title)
meta(name="twitter:description", content=config.description)
meta(name="og:title", content=config.title)
meta(name="og:description", content=config.description)
- var avatarUrl = config.url + url_for(theme.avatar)
block twitter_card
meta(name="twitter:card", content="summary")
block metadata_image
meta(name="og:image", content=avatarUrl)
meta(name="twitter:image", content=avatarUrl)
meta(name="twitter:site", content="@alexjoverm")
meta(name="twitter:creator", content="@alexjoverm")
meta(name="og:site_name", content=config.title)
meta(name="og:locale", content="en_EN")
meta(name="og:type", content="article")
meta(name="og:url", content=page.permalink)
meta(name="article:author", content="https://www.facebook.com/alex.jovermorales")
each item in theme.links
- var name = item.title.toUpperCase()
if item.title != 'RSS'
link(rel="me", type="text/html", href=item.link)
link(rel="alternate", type="application/rss+xml", title=config.title, href=url_for("/atom.xml"))
link(rel="preload", as="style", href="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css")
link(rel="preload", as="style", href=url_for("/css/prism-okaidia.css"))
link(rel="preload", as="style", href=url_for("/css/bootstrap.min.css"))
link(rel="preload", as="style", href=url_for("/css/main.css"))
link(rel="stylesheet", type="text/css", href="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css")
link(rel="stylesheet", type="text/css", href=url_for("/css/bootstrap.min.css"))
link(rel="stylesheet", type="text/css", href=url_for("/css/main.css"))
if theme.highlight.enable
link(rel="preload", as="style", href=url_for(theme.highlight.style_path))
link(rel="stylesheet", type="text/css", href=url_for(theme.highlight.style_path))
if theme.googlefonts
each font in theme.googlefonts
link(rel="preload", as="style", href="//fonts.googleapis.com/css?family="+font)
link(rel="stylesheet", defer, type="text/css", href="//fonts.googleapis.com/css?family="+font)
!= algolia_search_config()