mirror of
https://github.com/danpros/htmly.git
synced 2026-04-18 19:46:21 +05:30
Ad lightbox
Add lightbox as an inline image handling.
This commit is contained in:
parent
557f99c18d
commit
6a7c090a68
11 changed files with 248 additions and 7 deletions
|
|
@ -1384,7 +1384,11 @@ function head_contents($title, $description, $canonical) {
|
|||
$sitemap = '<link rel="sitemap" href="' . site_url() . 'sitemap.xml" />';
|
||||
$canonical = '<link rel="canonical" href="' . $canonical . '" />';
|
||||
$feed = '<link rel="alternate" type="application/rss+xml" title="'. blog_title() .' Feed" href="' . site_url() . 'feed/rss" />';
|
||||
$output .= $title ."\n". $favicon ."\n". $charset ."\n". $generator ."\n". $xua ."\n". $viewport ."\n". $description ."\n". $sitemap ."\n". $canonical ."\n". $feed ."\n";
|
||||
$lightboxcss = '<link href="' . site_url() . 'system/plugins/lightbox/css/lightbox.css" rel="stylesheet" />';
|
||||
$jquery = '<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>';
|
||||
$lightbox = '<script src="' . site_url() . 'system/plugins/lightbox/js/lightbox-2.6.min.js"></script>';
|
||||
$corejs = '<script src="' . site_url() . 'system/resources/htmly.js"></script>';
|
||||
$output .= $title ."\n". $favicon ."\n". $charset ."\n". $generator ."\n". $xua ."\n". $viewport ."\n". $description ."\n". $sitemap ."\n". $canonical ."\n". $feed ."\n". $lightboxcss ."\n". $jquery ."\n". $lightbox ."\n" .$corejs ."\n";
|
||||
return $output;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue