Browse Source

Added description

Diego Najar 6 years ago
parent
commit
239b868cc4

+ 5 - 0
bl-themes/alternative/css/style.css

@@ -120,6 +120,11 @@ section.home-page:nth-child(even) { /* Alternate the background color */
 	background-position: center;
 }
 
+.page-description {
+	color: #b5b5b5;
+	font-style: italic;
+}
+
 /* VIDEO EMBED RESPONSIVE */
 .video-embed {
 	overflow:hidden;

+ 0 - 5
bl-themes/alternative/img/googleplus.svg

@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<svg aria-labelledby="simpleicons-googleplus-icon" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
-  <title id="simpleicons-googleplus-icon">Google+ icon</title>
-  <path d="M7.635 10.909v2.619h4.335c-.173 1.125-1.31 3.295-4.331 3.295-2.604 0-4.731-2.16-4.731-4.823 0-2.662 2.122-4.822 4.728-4.822 1.485 0 2.479.633 3.045 1.178l2.073-1.994c-1.33-1.245-3.056-1.995-5.115-1.995C3.412 4.365 0 7.785 0 12s3.414 7.635 7.635 7.635c4.41 0 7.332-3.098 7.332-7.461 0-.501-.054-.885-.12-1.265H7.635zm16.365 0h-2.183V8.726h-2.183v2.183h-2.182v2.181h2.184v2.184h2.189V13.09H24" style="fill: rgba(255, 255, 255, 0.5);"/>
-</svg>

+ 1 - 0
bl-themes/alternative/img/rss.svg

@@ -0,0 +1 @@
+<svg aria-labelledby="simpleicons-rss-icon" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title id="simpleicons-rss-icon">RSS icon</title><path d="M19.199 24C19.199 13.467 10.533 4.8 0 4.8V0c13.165 0 24 10.835 24 24h-4.801zM3.291 17.415c1.814 0 3.293 1.479 3.293 3.295 0 1.813-1.485 3.29-3.301 3.29C1.47 24 0 22.526 0 20.71s1.475-3.294 3.291-3.295zM15.909 24h-4.665c0-6.169-5.075-11.245-11.244-11.245V8.09c8.727 0 15.909 7.184 15.909 15.91z"/></svg>

+ 25 - 8
bl-themes/alternative/index.php

@@ -1,7 +1,27 @@
 <!DOCTYPE html>
 <html lang="<?php echo Theme::lang() ?>">
 <head>
-<?php include(THEME_DIR_PHP.'head.php'); ?>
+	<meta charset="UTF-8">
+	<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
+	<meta name="generator" content="Bludit">
+
+	<!-- Dynamic title tag -->
+	<?php echo Theme::metaTagTitle(); ?>
+
+	<!-- Dynamic description tag -->
+	<?php echo Theme::metaTagDescription(); ?>
+
+	<!-- Include Favicon -->
+	<?php echo Theme::favicon('img/favicon.png'); ?>
+
+	<!-- Include CSS Bootstrap file from Bludit Core -->
+	<?php echo Theme::cssBootstrap(); ?>
+
+	<!-- Include CSS Styles from this theme -->
+	<?php echo Theme::css('css/style.css'); ?>
+
+	<!-- Load Bludit Plugins: Site head -->
+	<?php Theme::plugins('siteHead'); ?>
 </head>
 <body>
 
@@ -26,14 +46,11 @@
 	<!-- Footer -->
 	<?php include(THEME_DIR_PHP.'footer.php'); ?>
 
-	<!-- Javascript -->
-	<?php
-		// Include Jquery file from Bludit Core
-		echo Theme::jquery();
+	<!-- Include Jquery file from Bludit Core -->
+	<?php echo Theme::jquery(); ?>
 
-		// Include javascript Bootstrap file from Bludit Core
-		echo Theme::jsBootstrap();
-	?>
+	<!-- Include javascript Bootstrap file from Bludit Core -->
+	<?php echo Theme::jsBootstrap(); ?>
 
 	<!-- Load Bludit Plugins: Site Body End -->
 	<?php Theme::plugins('siteBodyEnd'); ?>

+ 0 - 21
bl-themes/alternative/php/head.php

@@ -1,21 +0,0 @@
-<meta charset="utf-8">
-<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
-<meta name="generator" content="Bludit">
-
-<!-- Dynamic title tag -->
-<?php echo Theme::metaTags('title'); ?>
-
-<!-- Dynamic description tag -->
-<?php echo Theme::metaTags('description'); ?>
-
-<!-- Include Favicon -->
-<?php echo Theme::favicon('img/favicon.png'); ?>
-
-<!-- Include Bootstrap CSS file bootstrap.css -->
-<?php echo Theme::cssBootstrap(); ?>
-
-<!-- Include CSS Styles from this theme -->
-<?php echo Theme::css('css/style.css'); ?>
-
-<!-- Load Bludit Plugins: Site head -->
-<?php Theme::plugins('siteHead'); ?>

+ 5 - 0
bl-themes/alternative/php/home.php

@@ -45,6 +45,11 @@
 					<h2 class="title"><?php echo $page->title(); ?></h2>
 				</a>
 
+				<!-- Page description -->
+				<?php if ($page->description()): ?>
+				<p class="page-description"><?php echo $page->description(); ?></p>
+				<?php endif ?>
+
 				<!-- Page content until the pagebreak -->
 				<div>
 				<?php echo $page->contentBreak(); ?>

+ 1 - 2
bl-themes/alternative/php/page.php

@@ -8,11 +8,10 @@
 				<!-- Page title -->
 				<h1 class="title"><?php echo $page->title(); ?></h1>
 
-				<!-- Page description
+				<!-- Page description -->
 				<?php if ($page->description()): ?>
 				<p class="page-description"><?php echo $page->description(); ?></p>
 				<?php endif ?>
-				-->
 
 				<!-- Page cover image -->
 				<?php if ($page->coverImage()): ?>