commit
19c3067fdb
|
@ -38,7 +38,7 @@ foreach($themes as $theme)
|
||||||
|
|
||||||
echo '<td class="uk-text-center">';
|
echo '<td class="uk-text-center">';
|
||||||
if( !$theme['compatible'] ) {
|
if( !$theme['compatible'] ) {
|
||||||
echo '<i class="uk-icon-exclamation-triangle incompatible-warning" title="'.$L->g('This plugin may not be supported by this version of Bludit').'"></i>';
|
echo '<i class="uk-icon-exclamation-triangle incompatible-warning" title="'.$L->g('This theme may not be supported by this version of Bludit').'"></i>';
|
||||||
}
|
}
|
||||||
echo $theme['version'];
|
echo $theme['version'];
|
||||||
echo '</td>';
|
echo '</td>';
|
||||||
|
|
|
@ -199,6 +199,7 @@ include(PATH_HELPERS.'alert.class.php');
|
||||||
include(PATH_HELPERS.'paginator.class.php');
|
include(PATH_HELPERS.'paginator.class.php');
|
||||||
include(PATH_HELPERS.'image.class.php');
|
include(PATH_HELPERS.'image.class.php');
|
||||||
include(PATH_HELPERS.'tcp.class.php');
|
include(PATH_HELPERS.'tcp.class.php');
|
||||||
|
include(PATH_HELPERS.'dom.class.php');
|
||||||
|
|
||||||
if (file_exists(PATH_KERNEL.'bludit.pro.php')) {
|
if (file_exists(PATH_KERNEL.'bludit.pro.php')) {
|
||||||
include(PATH_KERNEL.'bludit.pro.php');
|
include(PATH_KERNEL.'bludit.pro.php');
|
||||||
|
|
|
@ -122,6 +122,10 @@ elseif ($Url->whereAmI()==='home') {
|
||||||
buildPagesForHome();
|
buildPagesForHome();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (isset($pages[0])) {
|
||||||
|
$page = $Page = $pages[0];
|
||||||
|
}
|
||||||
|
|
||||||
// Set page 404 not found
|
// Set page 404 not found
|
||||||
if ($Url->notFound()) {
|
if ($Url->notFound()) {
|
||||||
$pageNotFoundKey = $Site->pageNotFound();
|
$pageNotFoundKey = $Site->pageNotFound();
|
||||||
|
|
|
@ -0,0 +1,25 @@
|
||||||
|
<?php defined('BLUDIT') or die('Bludit CMS.');
|
||||||
|
|
||||||
|
class DOM {
|
||||||
|
|
||||||
|
public static function getFirstImage($content)
|
||||||
|
{
|
||||||
|
$dom = new DOMDocument();
|
||||||
|
$dom->loadHTML('<meta http-equiv="content-type" content="text/html; charset=utf-8">'.$content);
|
||||||
|
$finder = new DomXPath($dom);
|
||||||
|
|
||||||
|
$images = $finder->query("//img");
|
||||||
|
|
||||||
|
if($images->length>0) {
|
||||||
|
// First image from the list
|
||||||
|
$image = $images->item(0);
|
||||||
|
// Get value from attribute src
|
||||||
|
$imgSrc = $image->getAttribute('src');
|
||||||
|
// Returns the image src
|
||||||
|
return $imgSrc;
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -231,5 +231,6 @@
|
||||||
"next-page": "Next page",
|
"next-page": "Next page",
|
||||||
"scheduled": "Scheduled",
|
"scheduled": "Scheduled",
|
||||||
"this-token-is-similar-to-a-password-it-should-not-be-shared": "This token is similar to a password, it should not be shared.",
|
"this-token-is-similar-to-a-password-it-should-not-be-shared": "This token is similar to a password, it should not be shared.",
|
||||||
"congratulations-you-have-successfully-installed-your-bludit": "Congratulations you have successfully installed your **Bludit**."
|
"congratulations-you-have-successfully-installed-your-bludit": "Congratulations you have successfully installed your **Bludit**.",
|
||||||
|
"this-theme-may-not-be-supported-by-this-version-of-bludit": "This theme may not be supported by this version of Bludit"
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,6 +5,6 @@
|
||||||
"version": "2.0",
|
"version": "2.0",
|
||||||
"releaseDate": "2017-06-15",
|
"releaseDate": "2017-06-15",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"compatible": "2.0",
|
"compatible": "1.0",
|
||||||
"notes": ""
|
"notes": ""
|
||||||
}
|
}
|
|
@ -89,7 +89,7 @@ class pluginLinks extends Plugin {
|
||||||
$html .= '</div>';
|
$html .= '</div>';
|
||||||
|
|
||||||
$html .= '<div>';
|
$html .= '<div>';
|
||||||
$html .= '<button name="addLink" class="blue" type="submit">Add</button>';
|
$html .= '<button name="addLink" class="blue" type="submit">'.$Language->get('Add').'</button>';
|
||||||
$html .= '</div>';
|
$html .= '</div>';
|
||||||
|
|
||||||
$html .= '<legend>'.$Language->get('Links').'</legend>';
|
$html .= '<legend>'.$Language->get('Links').'</legend>';
|
||||||
|
|
|
@ -2,7 +2,8 @@
|
||||||
"plugin-data":
|
"plugin-data":
|
||||||
{
|
{
|
||||||
"name": "RSS Feed",
|
"name": "RSS Feed",
|
||||||
"description": "This plugin generates an RSS feed of your site. The feed has the URL http://mydomain.com/rss.xml."
|
"description": "This plugin generates an RSS feed of your site.<br>The feed has the URL https://example.com/rss.xml"
|
||||||
},
|
},
|
||||||
"amount-of-items-to-show-on-the-feed": "Amount of items to show on the feed."
|
"amount-of-items-to-show-on-the-feed": "Amount of items to show on the feed.",
|
||||||
|
"rss-url": "RSS URL"
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,8 @@
|
||||||
"plugin-data":
|
"plugin-data":
|
||||||
{
|
{
|
||||||
"name": "RSS Feed",
|
"name": "RSS Feed",
|
||||||
"description": "Este plugin genera contenido dinamico en formato RSS de tu sitio."
|
"description": "Este plugin genera contenido dinamico en formato RSS de tu sitio.<br>El plugin genera la URL https://example.com/rss.xml"
|
||||||
},
|
},
|
||||||
"amount-of-items-to-show-on-the-feed": "Cantidad de artículos para mostrar."
|
"amount-of-items-to-show-on-the-feed": "Cantidad de artículos para mostrar.",
|
||||||
|
"rss-url": "URL del RSS"
|
||||||
}
|
}
|
|
@ -16,6 +16,11 @@ class pluginRSS extends Plugin {
|
||||||
global $Language;
|
global $Language;
|
||||||
|
|
||||||
$html = '<div>';
|
$html = '<div>';
|
||||||
|
$html .= '<label>'.$Language->get('RSS URL').'</label>';
|
||||||
|
$html .= '<a href="'.Theme::rssUrl().'">'.Theme::rssUrl().'</a>';
|
||||||
|
$html .= '</div>';
|
||||||
|
|
||||||
|
$html .= '<div>';
|
||||||
$html .= '<label>'.$Language->get('Amount of items').'</label>';
|
$html .= '<label>'.$Language->get('Amount of items').'</label>';
|
||||||
$html .= '<input id="jsamountOfItems" name="amountOfItems" type="text" value="'.$this->getValue('amountOfItems').'">';
|
$html .= '<input id="jsamountOfItems" name="amountOfItems" type="text" value="'.$this->getValue('amountOfItems').'">';
|
||||||
$html .= '<span class="tip">'.$Language->get('Amount of items to show on the feed').'</span>';
|
$html .= '<span class="tip">'.$Language->get('Amount of items to show on the feed').'</span>';
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
"plugin-data":
|
"plugin-data":
|
||||||
{
|
{
|
||||||
"name": "Sitemap",
|
"name": "Sitemap",
|
||||||
"description": "This plugin generates a Sitemap.xml of your site."
|
"description": "This plugin generates a sitemap.xml file, which provides the list of pages on your website, this helps search engines organize and filter content from their website."
|
||||||
}
|
},
|
||||||
|
"sitemap-url": "Sitemap URL"
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,5 +3,6 @@
|
||||||
{
|
{
|
||||||
"name": "Sitemap",
|
"name": "Sitemap",
|
||||||
"description": "Este plugin genera un archivo sitemap.xml, el cual provee la lista de paginas de su sitio web, esto ayuda a los buscadores a organizar y filtrar contenido de su sitio web."
|
"description": "Este plugin genera un archivo sitemap.xml, el cual provee la lista de paginas de su sitio web, esto ayuda a los buscadores a organizar y filtrar contenido de su sitio web."
|
||||||
}
|
},
|
||||||
|
"sitemap-url": "URL del sitemap"
|
||||||
}
|
}
|
|
@ -2,6 +2,19 @@
|
||||||
|
|
||||||
class pluginSitemap extends Plugin {
|
class pluginSitemap extends Plugin {
|
||||||
|
|
||||||
|
// Method called on the settings of the plugin on the admin area
|
||||||
|
public function form()
|
||||||
|
{
|
||||||
|
global $Language;
|
||||||
|
|
||||||
|
$html = '<div>';
|
||||||
|
$html .= '<label>'.$Language->get('Sitemap URL').'</label>';
|
||||||
|
$html .= '<a href="'.Theme::sitemapUrl().'">'.Theme::sitemapUrl().'</a>';
|
||||||
|
$html .= '</div>';
|
||||||
|
|
||||||
|
return $html;
|
||||||
|
}
|
||||||
|
|
||||||
private function createXML()
|
private function createXML()
|
||||||
{
|
{
|
||||||
global $Site;
|
global $Site;
|
||||||
|
|
|
@ -43,7 +43,7 @@ class pluginTinymce extends Plugin {
|
||||||
paste_as_text: true,
|
paste_as_text: true,
|
||||||
document_base_url: "'.DOMAIN_UPLOADS.'",
|
document_base_url: "'.DOMAIN_UPLOADS.'",
|
||||||
plugins: [
|
plugins: [
|
||||||
"autosave fullpage",
|
"autosave",
|
||||||
"searchreplace autolink directionality",
|
"searchreplace autolink directionality",
|
||||||
"visualblocks visualchars",
|
"visualblocks visualchars",
|
||||||
"fullscreen image link media template",
|
"fullscreen image link media template",
|
||||||
|
|
|
@ -1,21 +0,0 @@
|
||||||
The MIT License (MIT)
|
|
||||||
|
|
||||||
Copyright (c) 2013-2017 Blackrock Digital LLC
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
|
||||||
in the Software without restriction, including without limitation the rights
|
|
||||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
copies of the Software, and to permit persons to whom the Software is
|
|
||||||
furnished to do so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in
|
|
||||||
all copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
||||||
THE SOFTWARE.
|
|
|
@ -1,62 +0,0 @@
|
||||||
# [Start Bootstrap - Clean Blog](https://startbootstrap.com/template-overviews/clean-blog/)
|
|
||||||
|
|
||||||
[Clean Blog](http://startbootstrap.com/template-overviews/clean-blog/) is a stylish, responsive blog theme for [Bootstrap](http://getbootstrap.com/) created by [Start Bootstrap](http://startbootstrap.com/). This theme features a blog homepage, about page, contact page, and an example post page along with a working PHP contact form.
|
|
||||||
|
|
||||||
## Preview
|
|
||||||
|
|
||||||
[![Clean Blog Preview](https://startbootstrap.com/assets/img/templates/clean-blog.jpg)](https://blackrockdigital.github.io/startbootstrap-clean-blog/)
|
|
||||||
|
|
||||||
**[View Live Preview](https://blackrockdigital.github.io/startbootstrap-clean-blog/)**
|
|
||||||
|
|
||||||
## Status
|
|
||||||
|
|
||||||
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/BlackrockDigital/startbootstrap-clean-blog/master/LICENSE)
|
|
||||||
[![npm version](https://img.shields.io/npm/v/startbootstrap-clean-blog.svg)](https://www.npmjs.com/package/startbootstrap-clean-blog)
|
|
||||||
[![Build Status](https://travis-ci.org/BlackrockDigital/startbootstrap-clean-blog.svg?branch=master)](https://travis-ci.org/BlackrockDigital/startbootstrap-clean-blog)
|
|
||||||
[![dependencies Status](https://david-dm.org/BlackrockDigital/startbootstrap-clean-blog/status.svg)](https://david-dm.org/BlackrockDigital/startbootstrap-clean-blog)
|
|
||||||
[![devDependencies Status](https://david-dm.org/BlackrockDigital/startbootstrap-clean-blog/dev-status.svg)](https://david-dm.org/BlackrockDigital/startbootstrap-clean-blog?type=dev)
|
|
||||||
|
|
||||||
## Download and Installation
|
|
||||||
|
|
||||||
To begin using this template, choose one of the following options to get started:
|
|
||||||
* [Download the latest release on Start Bootstrap](https://startbootstrap.com/template-overviews/clean-blog/)
|
|
||||||
* Install via npm: `npm i startbootstrap-clean-blog`
|
|
||||||
* Clone the repo: `git clone https://github.com/BlackrockDigital/startbootstrap-clean-blog.git`
|
|
||||||
* [Fork, Clone, or Download on GitHub](https://github.com/BlackrockDigital/startbootstrap-clean-blog)
|
|
||||||
|
|
||||||
## Usage
|
|
||||||
|
|
||||||
### Basic Usage
|
|
||||||
|
|
||||||
After downloading, simply edit the HTML and CSS files included with the template in your favorite text editor to make changes. These are the only files you need to worry about, you can ignore everything else! To preview the changes you make to the code, you can open the `index.html` file in your web browser.
|
|
||||||
|
|
||||||
### Advanced Usage
|
|
||||||
|
|
||||||
After installation, run `npm install` and then run `gulp dev` which will open up a preview of the template in your default browser, watch for changes to core template files, and live reload the browser when changes are saved. You can view the `gulpfile.js` to see which tasks are included with the dev environment.
|
|
||||||
|
|
||||||
## Bugs and Issues
|
|
||||||
|
|
||||||
Have a bug or an issue with this template? [Open a new issue](https://github.com/BlackrockDigital/startbootstrap-clean-blog/issues) here on GitHub or leave a comment on the [template overview page at Start Bootstrap](http://startbootstrap.com/template-overviews/clean-blog/).
|
|
||||||
|
|
||||||
## Custom Builds
|
|
||||||
|
|
||||||
You can hire Start Bootstrap to create a custom build of any template, or create something from scratch using Bootstrap. For more information, visit the **[custom design services page](https://startbootstrap.com/bootstrap-design-services/)**.
|
|
||||||
|
|
||||||
## About
|
|
||||||
|
|
||||||
Start Bootstrap is an open source library of free Bootstrap templates and themes. All of the free templates and themes on Start Bootstrap are released under the MIT license, which means you can use them for any purpose, even for commercial projects.
|
|
||||||
|
|
||||||
* https://startbootstrap.com
|
|
||||||
* https://twitter.com/SBootstrap
|
|
||||||
|
|
||||||
Start Bootstrap was created by and is maintained by **[David Miller](http://davidmiller.io/)**, Owner of [Blackrock Digital](http://blackrockdigital.io/).
|
|
||||||
|
|
||||||
* http://davidmiller.io
|
|
||||||
* https://twitter.com/davidmillerskt
|
|
||||||
* https://github.com/davidtmiller
|
|
||||||
|
|
||||||
Start Bootstrap is based on the [Bootstrap](http://getbootstrap.com/) framework created by [Mark Otto](https://twitter.com/mdo) and [Jacob Thorton](https://twitter.com/fat).
|
|
||||||
|
|
||||||
## Copyright and License
|
|
||||||
|
|
||||||
Copyright 2013-2017 Blackrock Digital LLC. Code released under the [MIT](https://github.com/BlackrockDigital/startbootstrap-clean-blog/blob/gh-pages/LICENSE) license.
|
|
|
@ -1,129 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
||||||
<meta name="description" content="">
|
|
||||||
<meta name="author" content="">
|
|
||||||
|
|
||||||
<title>Clean Blog - Start Bootstrap Theme</title>
|
|
||||||
|
|
||||||
<!-- Bootstrap core CSS -->
|
|
||||||
<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
|
|
||||||
|
|
||||||
<!-- Custom fonts for this template -->
|
|
||||||
<link href="vendor/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
|
|
||||||
<link href='https://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
|
|
||||||
<link href='https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800' rel='stylesheet' type='text/css'>
|
|
||||||
|
|
||||||
<!-- Custom styles for this template -->
|
|
||||||
<link href="css/clean-blog.min.css" rel="stylesheet">
|
|
||||||
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
<!-- Navigation -->
|
|
||||||
<nav class="navbar navbar-expand-lg navbar-light fixed-top" id="mainNav">
|
|
||||||
<div class="container">
|
|
||||||
<a class="navbar-brand" href="index.html">Start Bootstrap</a>
|
|
||||||
<button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
|
|
||||||
Menu
|
|
||||||
<i class="fa fa-bars"></i>
|
|
||||||
</button>
|
|
||||||
<div class="collapse navbar-collapse" id="navbarResponsive">
|
|
||||||
<ul class="navbar-nav ml-auto">
|
|
||||||
<li class="nav-item">
|
|
||||||
<a class="nav-link" href="index.html">Home</a>
|
|
||||||
</li>
|
|
||||||
<li class="nav-item">
|
|
||||||
<a class="nav-link" href="about.html">About</a>
|
|
||||||
</li>
|
|
||||||
<li class="nav-item">
|
|
||||||
<a class="nav-link" href="post.html">Sample Post</a>
|
|
||||||
</li>
|
|
||||||
<li class="nav-item">
|
|
||||||
<a class="nav-link" href="contact.html">Contact</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</nav>
|
|
||||||
|
|
||||||
<!-- Page Header -->
|
|
||||||
<header class="masthead" style="background-image: url('img/about-bg.jpg')">
|
|
||||||
<div class="container">
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-lg-8 col-md-10 mx-auto">
|
|
||||||
<div class="page-heading">
|
|
||||||
<h1>About Me</h1>
|
|
||||||
<span class="subheading">This is what I do.</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<!-- Main Content -->
|
|
||||||
<div class="container">
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-lg-8 col-md-10 mx-auto">
|
|
||||||
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Saepe nostrum ullam eveniet pariatur voluptates odit, fuga atque ea nobis sit soluta odio, adipisci quas excepturi maxime quae totam ducimus consectetur?</p>
|
|
||||||
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Eius praesentium recusandae illo eaque architecto error, repellendus iusto reprehenderit, doloribus, minus sunt. Numquam at quae voluptatum in officia voluptas voluptatibus, minus!</p>
|
|
||||||
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nostrum molestiae debitis nobis, quod sapiente qui voluptatum, placeat magni repudiandae accusantium fugit quas labore non rerum possimus, corrupti enim modi! Et.</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<!-- Footer -->
|
|
||||||
<footer>
|
|
||||||
<div class="container">
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-lg-8 col-md-10 mx-auto">
|
|
||||||
<ul class="list-inline text-center">
|
|
||||||
<li class="list-inline-item">
|
|
||||||
<a href="#">
|
|
||||||
<span class="fa-stack fa-lg">
|
|
||||||
<i class="fa fa-circle fa-stack-2x"></i>
|
|
||||||
<i class="fa fa-twitter fa-stack-1x fa-inverse"></i>
|
|
||||||
</span>
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
<li class="list-inline-item">
|
|
||||||
<a href="#">
|
|
||||||
<span class="fa-stack fa-lg">
|
|
||||||
<i class="fa fa-circle fa-stack-2x"></i>
|
|
||||||
<i class="fa fa-facebook fa-stack-1x fa-inverse"></i>
|
|
||||||
</span>
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
<li class="list-inline-item">
|
|
||||||
<a href="#">
|
|
||||||
<span class="fa-stack fa-lg">
|
|
||||||
<i class="fa fa-circle fa-stack-2x"></i>
|
|
||||||
<i class="fa fa-github fa-stack-1x fa-inverse"></i>
|
|
||||||
</span>
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<p class="copyright text-muted">Copyright © Your Website 2017</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</footer>
|
|
||||||
|
|
||||||
<!-- Bootstrap core JavaScript -->
|
|
||||||
<script src="vendor/jquery/jquery.min.js"></script>
|
|
||||||
<script src="vendor/popper/popper.min.js"></script>
|
|
||||||
<script src="vendor/bootstrap/js/bootstrap.min.js"></script>
|
|
||||||
|
|
||||||
<!-- Custom scripts for this template -->
|
|
||||||
<script src="js/clean-blog.min.js"></script>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
|
@ -1,169 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
||||||
<meta name="description" content="">
|
|
||||||
<meta name="author" content="">
|
|
||||||
|
|
||||||
<title>Clean Blog - Start Bootstrap Theme</title>
|
|
||||||
|
|
||||||
<!-- Bootstrap core CSS -->
|
|
||||||
<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
|
|
||||||
|
|
||||||
<!-- Custom fonts for this template -->
|
|
||||||
<link href="vendor/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
|
|
||||||
<link href='https://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
|
|
||||||
<link href='https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800' rel='stylesheet' type='text/css'>
|
|
||||||
|
|
||||||
<!-- Custom styles for this template -->
|
|
||||||
<link href="css/clean-blog.min.css" rel="stylesheet">
|
|
||||||
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
<!-- Navigation -->
|
|
||||||
<nav class="navbar navbar-expand-lg navbar-light fixed-top" id="mainNav">
|
|
||||||
<div class="container">
|
|
||||||
<a class="navbar-brand" href="index.html">Start Bootstrap</a>
|
|
||||||
<button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
|
|
||||||
Menu
|
|
||||||
<i class="fa fa-bars"></i>
|
|
||||||
</button>
|
|
||||||
<div class="collapse navbar-collapse" id="navbarResponsive">
|
|
||||||
<ul class="navbar-nav ml-auto">
|
|
||||||
<li class="nav-item">
|
|
||||||
<a class="nav-link" href="index.html">Home</a>
|
|
||||||
</li>
|
|
||||||
<li class="nav-item">
|
|
||||||
<a class="nav-link" href="about.html">About</a>
|
|
||||||
</li>
|
|
||||||
<li class="nav-item">
|
|
||||||
<a class="nav-link" href="post.html">Sample Post</a>
|
|
||||||
</li>
|
|
||||||
<li class="nav-item">
|
|
||||||
<a class="nav-link" href="contact.html">Contact</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</nav>
|
|
||||||
|
|
||||||
<!-- Page Header -->
|
|
||||||
<header class="masthead" style="background-image: url('img/contact-bg.jpg')">
|
|
||||||
<div class="container">
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-lg-8 col-md-10 mx-auto">
|
|
||||||
<div class="page-heading">
|
|
||||||
<h1>Contact Me</h1>
|
|
||||||
<span class="subheading">Have questions? I have answers (maybe).</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<!-- Main Content -->
|
|
||||||
<div class="container">
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-lg-8 col-md-10 mx-auto">
|
|
||||||
<p>Want to get in touch with me? Fill out the form below to send me a message and I will try to get back to you within 24 hours!</p>
|
|
||||||
<!-- Contact Form - Enter your email address on line 19 of the mail/contact_me.php file to make this form work. -->
|
|
||||||
<!-- WARNING: Some web hosts do not allow emails to be sent through forms to common mail hosts like Gmail or Yahoo. It's recommended that you use a private domain email address! -->
|
|
||||||
<!-- NOTE: To use the contact form, your site must be on a live web host with PHP! The form will not work locally! -->
|
|
||||||
<form name="sentMessage" id="contactForm" novalidate>
|
|
||||||
<div class="control-group">
|
|
||||||
<div class="form-group floating-label-form-group controls">
|
|
||||||
<label>Name</label>
|
|
||||||
<input type="text" class="form-control" placeholder="Name" id="name" required data-validation-required-message="Please enter your name.">
|
|
||||||
<p class="help-block text-danger"></p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="control-group">
|
|
||||||
<div class="form-group floating-label-form-group controls">
|
|
||||||
<label>Email Address</label>
|
|
||||||
<input type="email" class="form-control" placeholder="Email Address" id="email" required data-validation-required-message="Please enter your email address.">
|
|
||||||
<p class="help-block text-danger"></p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="control-group">
|
|
||||||
<div class="form-group col-xs-12 floating-label-form-group controls">
|
|
||||||
<label>Phone Number</label>
|
|
||||||
<input type="tel" class="form-control" placeholder="Phone Number" id="phone" required data-validation-required-message="Please enter your phone number.">
|
|
||||||
<p class="help-block text-danger"></p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="control-group">
|
|
||||||
<div class="form-group floating-label-form-group controls">
|
|
||||||
<label>Message</label>
|
|
||||||
<textarea rows="5" class="form-control" placeholder="Message" id="message" required data-validation-required-message="Please enter a message."></textarea>
|
|
||||||
<p class="help-block text-danger"></p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<br>
|
|
||||||
<div id="success"></div>
|
|
||||||
<div class="form-group">
|
|
||||||
<button type="submit" class="btn btn-secondary" id="sendMessageButton">Send</button>
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<!-- Footer -->
|
|
||||||
<footer>
|
|
||||||
<div class="container">
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-lg-8 col-md-10 mx-auto">
|
|
||||||
<ul class="list-inline text-center">
|
|
||||||
<li class="list-inline-item">
|
|
||||||
<a href="#">
|
|
||||||
<span class="fa-stack fa-lg">
|
|
||||||
<i class="fa fa-circle fa-stack-2x"></i>
|
|
||||||
<i class="fa fa-twitter fa-stack-1x fa-inverse"></i>
|
|
||||||
</span>
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
<li class="list-inline-item">
|
|
||||||
<a href="#">
|
|
||||||
<span class="fa-stack fa-lg">
|
|
||||||
<i class="fa fa-circle fa-stack-2x"></i>
|
|
||||||
<i class="fa fa-facebook fa-stack-1x fa-inverse"></i>
|
|
||||||
</span>
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
<li class="list-inline-item">
|
|
||||||
<a href="#">
|
|
||||||
<span class="fa-stack fa-lg">
|
|
||||||
<i class="fa fa-circle fa-stack-2x"></i>
|
|
||||||
<i class="fa fa-github fa-stack-1x fa-inverse"></i>
|
|
||||||
</span>
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<p class="copyright text-muted">Copyright © Your Website 2017</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</footer>
|
|
||||||
|
|
||||||
<!-- Bootstrap core JavaScript -->
|
|
||||||
<script src="vendor/jquery/jquery.min.js"></script>
|
|
||||||
<script src="vendor/popper/popper.min.js"></script>
|
|
||||||
<script src="vendor/bootstrap/js/bootstrap.min.js"></script>
|
|
||||||
|
|
||||||
<!-- Contact Form JavaScript -->
|
|
||||||
<script src="js/jqBootstrapValidation.js"></script>
|
|
||||||
<script src="js/contact_me.js"></script>
|
|
||||||
|
|
||||||
<!-- Custom scripts for this template -->
|
|
||||||
<script src="js/clean-blog.min.js"></script>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
|
@ -1,111 +0,0 @@
|
||||||
var gulp = require('gulp');
|
|
||||||
var sass = require('gulp-sass');
|
|
||||||
var browserSync = require('browser-sync').create();
|
|
||||||
var header = require('gulp-header');
|
|
||||||
var cleanCSS = require('gulp-clean-css');
|
|
||||||
var rename = require("gulp-rename");
|
|
||||||
var uglify = require('gulp-uglify');
|
|
||||||
var pkg = require('./package.json');
|
|
||||||
|
|
||||||
// Set the banner content
|
|
||||||
var banner = ['/*!\n',
|
|
||||||
' * Start Bootstrap - <%= pkg.title %> v<%= pkg.version %> (<%= pkg.homepage %>)\n',
|
|
||||||
' * Copyright 2013-' + (new Date()).getFullYear(), ' <%= pkg.author %>\n',
|
|
||||||
' * Licensed under <%= pkg.license %> (https://github.com/BlackrockDigital/<%= pkg.name %>/blob/master/LICENSE)\n',
|
|
||||||
' */\n',
|
|
||||||
''
|
|
||||||
].join('');
|
|
||||||
|
|
||||||
// Compiles SCSS files from /scss into /css
|
|
||||||
gulp.task('sass', function() {
|
|
||||||
return gulp.src('scss/clean-blog.scss')
|
|
||||||
.pipe(sass())
|
|
||||||
.pipe(header(banner, {
|
|
||||||
pkg: pkg
|
|
||||||
}))
|
|
||||||
.pipe(gulp.dest('css'))
|
|
||||||
.pipe(browserSync.reload({
|
|
||||||
stream: true
|
|
||||||
}))
|
|
||||||
});
|
|
||||||
|
|
||||||
// Minify compiled CSS
|
|
||||||
gulp.task('minify-css', ['sass'], function() {
|
|
||||||
return gulp.src('css/clean-blog.css')
|
|
||||||
.pipe(cleanCSS({
|
|
||||||
compatibility: 'ie8'
|
|
||||||
}))
|
|
||||||
.pipe(rename({
|
|
||||||
suffix: '.min'
|
|
||||||
}))
|
|
||||||
.pipe(gulp.dest('css'))
|
|
||||||
.pipe(browserSync.reload({
|
|
||||||
stream: true
|
|
||||||
}))
|
|
||||||
});
|
|
||||||
|
|
||||||
// Minify custom JS
|
|
||||||
gulp.task('minify-js', function() {
|
|
||||||
return gulp.src('js/clean-blog.js')
|
|
||||||
.pipe(uglify())
|
|
||||||
.pipe(header(banner, {
|
|
||||||
pkg: pkg
|
|
||||||
}))
|
|
||||||
.pipe(rename({
|
|
||||||
suffix: '.min'
|
|
||||||
}))
|
|
||||||
.pipe(gulp.dest('js'))
|
|
||||||
.pipe(browserSync.reload({
|
|
||||||
stream: true
|
|
||||||
}))
|
|
||||||
});
|
|
||||||
|
|
||||||
// Copy vendor files from /node_modules into /vendor
|
|
||||||
// NOTE: requires `npm install` before running!
|
|
||||||
gulp.task('copy', function() {
|
|
||||||
gulp.src([
|
|
||||||
'node_modules/bootstrap/dist/**/*',
|
|
||||||
'!**/npm.js',
|
|
||||||
'!**/bootstrap-theme.*',
|
|
||||||
'!**/*.map'
|
|
||||||
])
|
|
||||||
.pipe(gulp.dest('vendor/bootstrap'))
|
|
||||||
|
|
||||||
gulp.src(['node_modules/jquery/dist/jquery.js', 'node_modules/jquery/dist/jquery.min.js'])
|
|
||||||
.pipe(gulp.dest('vendor/jquery'))
|
|
||||||
|
|
||||||
gulp.src(['node_modules/popper.js/dist/umd/popper.js', 'node_modules/popper.js/dist/umd/popper.min.js'])
|
|
||||||
.pipe(gulp.dest('vendor/popper'))
|
|
||||||
|
|
||||||
gulp.src([
|
|
||||||
'node_modules/font-awesome/**',
|
|
||||||
'!node_modules/font-awesome/**/*.map',
|
|
||||||
'!node_modules/font-awesome/.npmignore',
|
|
||||||
'!node_modules/font-awesome/*.txt',
|
|
||||||
'!node_modules/font-awesome/*.md',
|
|
||||||
'!node_modules/font-awesome/*.json'
|
|
||||||
])
|
|
||||||
.pipe(gulp.dest('vendor/font-awesome'))
|
|
||||||
})
|
|
||||||
|
|
||||||
// Default task
|
|
||||||
gulp.task('default', ['sass', 'minify-css', 'minify-js', 'copy']);
|
|
||||||
|
|
||||||
// Configure the browserSync task
|
|
||||||
gulp.task('browserSync', function() {
|
|
||||||
browserSync.init({
|
|
||||||
server: {
|
|
||||||
baseDir: ''
|
|
||||||
},
|
|
||||||
})
|
|
||||||
})
|
|
||||||
|
|
||||||
// Dev task with browserSync
|
|
||||||
gulp.task('dev', ['browserSync', 'sass', 'minify-css', 'minify-js'], function() {
|
|
||||||
gulp.watch('scss/*.scss', ['sass']);
|
|
||||||
gulp.watch('css/*.css', ['minify-css']);
|
|
||||||
gulp.watch('js/*.js', ['minify-js']);
|
|
||||||
// Reloads the browser whenever HTML or JS files change
|
|
||||||
gulp.watch('*.html', browserSync.reload);
|
|
||||||
gulp.watch('js/**/*.js', browserSync.reload);
|
|
||||||
});
|
|
|
@ -1,183 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
||||||
<meta name="description" content="">
|
|
||||||
<meta name="author" content="">
|
|
||||||
|
|
||||||
<title>Clean Blog - Start Bootstrap Theme</title>
|
|
||||||
|
|
||||||
<!-- Bootstrap core CSS -->
|
|
||||||
<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
|
|
||||||
|
|
||||||
<!-- Custom fonts for this template -->
|
|
||||||
<link href="vendor/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
|
|
||||||
<link href='https://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
|
|
||||||
<link href='https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800' rel='stylesheet' type='text/css'>
|
|
||||||
|
|
||||||
<!-- Custom styles for this template -->
|
|
||||||
<link href="css/clean-blog.min.css" rel="stylesheet">
|
|
||||||
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
<!-- Navigation -->
|
|
||||||
<nav class="navbar navbar-expand-lg navbar-light fixed-top" id="mainNav">
|
|
||||||
<div class="container">
|
|
||||||
<a class="navbar-brand" href="index.html">Start Bootstrap</a>
|
|
||||||
<button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
|
|
||||||
Menu
|
|
||||||
<i class="fa fa-bars"></i>
|
|
||||||
</button>
|
|
||||||
<div class="collapse navbar-collapse" id="navbarResponsive">
|
|
||||||
<ul class="navbar-nav ml-auto">
|
|
||||||
<li class="nav-item">
|
|
||||||
<a class="nav-link" href="index.html">Home</a>
|
|
||||||
</li>
|
|
||||||
<li class="nav-item">
|
|
||||||
<a class="nav-link" href="about.html">About</a>
|
|
||||||
</li>
|
|
||||||
<li class="nav-item">
|
|
||||||
<a class="nav-link" href="post.html">Sample Post</a>
|
|
||||||
</li>
|
|
||||||
<li class="nav-item">
|
|
||||||
<a class="nav-link" href="contact.html">Contact</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</nav>
|
|
||||||
|
|
||||||
<!-- Page Header -->
|
|
||||||
<header class="masthead" style="background-image: url('https://source.unsplash.com/1600x900/?nature,water')">
|
|
||||||
<div class="container">
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-lg-8 col-md-10 mx-auto">
|
|
||||||
<div class="site-heading">
|
|
||||||
<h1>Clean Blog</h1>
|
|
||||||
<span class="subheading">A Blog Theme by Start Bootstrap</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<!-- Main Content -->
|
|
||||||
<div class="container">
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-lg-8 col-md-10 mx-auto">
|
|
||||||
<div class="post-preview">
|
|
||||||
<a href="post.html">
|
|
||||||
<h2 class="post-title">
|
|
||||||
Man must explore, and this is exploration at its greatest
|
|
||||||
</h2>
|
|
||||||
<h3 class="post-subtitle">
|
|
||||||
Problems look mighty small from 150 miles up
|
|
||||||
</h3>
|
|
||||||
</a>
|
|
||||||
<p class="post-meta">Posted by
|
|
||||||
<a href="#">Start Bootstrap</a>
|
|
||||||
on September 24, 2017</p>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
<div class="post-preview">
|
|
||||||
<a href="post.html">
|
|
||||||
<h2 class="post-title">
|
|
||||||
I believe every human has a finite number of heartbeats. I don't intend to waste any of mine.
|
|
||||||
</h2>
|
|
||||||
</a>
|
|
||||||
<p class="post-meta">Posted by
|
|
||||||
<a href="#">Start Bootstrap</a>
|
|
||||||
on September 18, 2017</p>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
<div class="post-preview">
|
|
||||||
<a href="post.html">
|
|
||||||
<h2 class="post-title">
|
|
||||||
Science has not yet mastered prophecy
|
|
||||||
</h2>
|
|
||||||
<h3 class="post-subtitle">
|
|
||||||
We predict too much for the next year and yet far too little for the next ten.
|
|
||||||
</h3>
|
|
||||||
</a>
|
|
||||||
<p class="post-meta">Posted by
|
|
||||||
<a href="#">Start Bootstrap</a>
|
|
||||||
on August 24, 2017</p>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
<div class="post-preview">
|
|
||||||
<a href="post.html">
|
|
||||||
<h2 class="post-title">
|
|
||||||
Failure is not an option
|
|
||||||
</h2>
|
|
||||||
<h3 class="post-subtitle">
|
|
||||||
Many say exploration is part of our destiny, but it’s actually our duty to future generations.
|
|
||||||
</h3>
|
|
||||||
</a>
|
|
||||||
<p class="post-meta">Posted by
|
|
||||||
<a href="#">Start Bootstrap</a>
|
|
||||||
on July 8, 2017</p>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
<!-- Pager -->
|
|
||||||
<div class="clearfix">
|
|
||||||
<a class="btn btn-secondary float-right" href="#">Older Posts →</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<!-- Footer -->
|
|
||||||
<footer>
|
|
||||||
<div class="container">
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-lg-8 col-md-10 mx-auto">
|
|
||||||
<ul class="list-inline text-center">
|
|
||||||
<li class="list-inline-item">
|
|
||||||
<a href="#">
|
|
||||||
<span class="fa-stack fa-lg">
|
|
||||||
<i class="fa fa-circle fa-stack-2x"></i>
|
|
||||||
<i class="fa fa-twitter fa-stack-1x fa-inverse"></i>
|
|
||||||
</span>
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
<li class="list-inline-item">
|
|
||||||
<a href="#">
|
|
||||||
<span class="fa-stack fa-lg">
|
|
||||||
<i class="fa fa-circle fa-stack-2x"></i>
|
|
||||||
<i class="fa fa-facebook fa-stack-1x fa-inverse"></i>
|
|
||||||
</span>
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
<li class="list-inline-item">
|
|
||||||
<a href="#">
|
|
||||||
<span class="fa-stack fa-lg">
|
|
||||||
<i class="fa fa-circle fa-stack-2x"></i>
|
|
||||||
<i class="fa fa-github fa-stack-1x fa-inverse"></i>
|
|
||||||
</span>
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<p class="copyright text-muted">Copyright © Your Website 2017</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</footer>
|
|
||||||
|
|
||||||
<!-- Bootstrap core JavaScript -->
|
|
||||||
<script src="vendor/jquery/jquery.min.js"></script>
|
|
||||||
<script src="vendor/popper/popper.min.js"></script>
|
|
||||||
<script src="vendor/bootstrap/js/bootstrap.min.js"></script>
|
|
||||||
|
|
||||||
<!-- Custom scripts for this template -->
|
|
||||||
<script src="js/clean-blog.min.js"></script>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
|
@ -22,7 +22,7 @@
|
||||||
<div class="collapse navbar-collapse" id="navbarResponsive">
|
<div class="collapse navbar-collapse" id="navbarResponsive">
|
||||||
<ul class="navbar-nav ml-auto">
|
<ul class="navbar-nav ml-auto">
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link" href=<?php echo $Site->url() ?>>Home</a>
|
<a class="nav-link" href=<?php echo $Site->url() ?>Home</a>
|
||||||
</li>
|
</li>
|
||||||
<?php
|
<?php
|
||||||
foreach ($staticPages as $staticPage) {
|
foreach ($staticPages as $staticPage) {
|
||||||
|
@ -52,7 +52,7 @@
|
||||||
<div class="col-lg-8 col-md-10 mx-auto">
|
<div class="col-lg-8 col-md-10 mx-auto">
|
||||||
<ul class="list-inline text-center">
|
<ul class="list-inline text-center">
|
||||||
<li class="list-inline-item">
|
<li class="list-inline-item">
|
||||||
<a href="#">
|
<a href="<?php echo $Site->twitter() ?>">
|
||||||
<span class="fa-stack fa-lg">
|
<span class="fa-stack fa-lg">
|
||||||
<i class="fa fa-circle fa-stack-2x"></i>
|
<i class="fa fa-circle fa-stack-2x"></i>
|
||||||
<i class="fa fa-twitter fa-stack-1x fa-inverse"></i>
|
<i class="fa fa-twitter fa-stack-1x fa-inverse"></i>
|
||||||
|
@ -60,7 +60,7 @@
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="list-inline-item">
|
<li class="list-inline-item">
|
||||||
<a href="#">
|
<a href="<?php echo $Site->facebook() ?>">
|
||||||
<span class="fa-stack fa-lg">
|
<span class="fa-stack fa-lg">
|
||||||
<i class="fa fa-circle fa-stack-2x"></i>
|
<i class="fa fa-circle fa-stack-2x"></i>
|
||||||
<i class="fa fa-facebook fa-stack-1x fa-inverse"></i>
|
<i class="fa fa-facebook fa-stack-1x fa-inverse"></i>
|
||||||
|
@ -68,7 +68,7 @@
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="list-inline-item">
|
<li class="list-inline-item">
|
||||||
<a href="#">
|
<a href="<?php echo $Site->github() ?>">
|
||||||
<span class="fa-stack fa-lg">
|
<span class="fa-stack fa-lg">
|
||||||
<i class="fa fa-circle fa-stack-2x"></i>
|
<i class="fa fa-circle fa-stack-2x"></i>
|
||||||
<i class="fa fa-github fa-stack-1x fa-inverse"></i>
|
<i class="fa fa-github fa-stack-1x fa-inverse"></i>
|
||||||
|
@ -76,7 +76,7 @@
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p class="copyright text-muted">Copyright © Your Website 2017</p>
|
<p class="copyright text-muted"><?php echo $Site->footer() ?> - Powered by <a href="https://www.bludit.com">BLUDIT</a></p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -0,0 +1,16 @@
|
||||||
|
<?php
|
||||||
|
/*
|
||||||
|
This file is loaded before the theme
|
||||||
|
You can add some configuration code in this file
|
||||||
|
*/
|
||||||
|
|
||||||
|
// Background image
|
||||||
|
$backgroundImage = 'https://source.unsplash.com/1600x900/?nature';
|
||||||
|
if ($page->coverImage()===false) {
|
||||||
|
$domImage = DOM::getFirstImage($page->content($fullContent=true));
|
||||||
|
if ($domImage!==false) {
|
||||||
|
$backgroundImage = $domImage;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
$backgroundImage = $page->coverImage($absolute=true);
|
||||||
|
}
|
|
@ -3,5 +3,6 @@
|
||||||
{
|
{
|
||||||
"name": "Clean Blog",
|
"name": "Clean Blog",
|
||||||
"description": "Clean blog is a carefully styled Bootstrap blog theme that is perfect for personal or company blogs. This theme features four HTML pages including a blog index, an about page, a sample post, and a contact page."
|
"description": "Clean blog is a carefully styled Bootstrap blog theme that is perfect for personal or company blogs. This theme features four HTML pages including a blog index, an about page, a sample post, and a contact page."
|
||||||
}
|
},
|
||||||
|
"posted-by": "Posted by"
|
||||||
}
|
}
|
|
@ -1,43 +0,0 @@
|
||||||
{
|
|
||||||
"title": "Clean Blog",
|
|
||||||
"name": "startbootstrap-clean-blog",
|
|
||||||
"version": "4.0.0-beta",
|
|
||||||
"description": "Clean Blog is a Medium inspired blog theme for Bootstrap.",
|
|
||||||
"keywords": [
|
|
||||||
"css",
|
|
||||||
"sass",
|
|
||||||
"html",
|
|
||||||
"responsive",
|
|
||||||
"theme",
|
|
||||||
"template"
|
|
||||||
],
|
|
||||||
"homepage": "https://startbootstrap.com/template-overviews/clean-blog",
|
|
||||||
"bugs": {
|
|
||||||
"url": "https://github.com/BlackrockDigital/startbootstrap-clean-blog/issues",
|
|
||||||
"email": "feedback@startbootstrap.com"
|
|
||||||
},
|
|
||||||
"license": "MIT",
|
|
||||||
"author": "Start Bootstrap",
|
|
||||||
"contributors": [
|
|
||||||
"David Miller (http://davidmiller.io/)"
|
|
||||||
],
|
|
||||||
"repository": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/BlackrockDigital/startbootstrap-clean-blog.git"
|
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"bootstrap": "^4.0.0-beta",
|
|
||||||
"font-awesome": "4.7.0",
|
|
||||||
"jquery": "^3.2.1",
|
|
||||||
"popper.js": "^1.11.1"
|
|
||||||
},
|
|
||||||
"devDependencies": {
|
|
||||||
"browser-sync": "2.18.13",
|
|
||||||
"gulp": "^3.9.1",
|
|
||||||
"gulp-clean-css": "3.7.0",
|
|
||||||
"gulp-header": "1.8.9",
|
|
||||||
"gulp-rename": "^1.2.2",
|
|
||||||
"gulp-sass": "^3.1.0",
|
|
||||||
"gulp-uglify": "3.0.0"
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,5 +1,5 @@
|
||||||
<!-- Page Header -->
|
<!-- Page Header -->
|
||||||
<header class="masthead" style="background-image: url('https://source.unsplash.com/1600x900/?nature')">
|
<header class="masthead" style="background-image: url('<?php echo $backgroundImage ?>')">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-lg-8 col-md-10 mx-auto">
|
<div class="col-lg-8 col-md-10 mx-auto">
|
||||||
|
@ -27,7 +27,7 @@
|
||||||
<h2 class="post-title"><?php echo $page->title() ?></h2>
|
<h2 class="post-title"><?php echo $page->title() ?></h2>
|
||||||
<h3 class="post-subtitle"><?php echo $page->description() ?></h3>
|
<h3 class="post-subtitle"><?php echo $page->description() ?></h3>
|
||||||
</a>
|
</a>
|
||||||
<p class="post-meta">Posted by <a href="#">Start Bootstrap</a> on September 18, 2017</p>
|
<p class="post-meta"><?php echo $Language->get('Posted by').' '.$page->user('username').' - '.$page->date() ?></p>
|
||||||
</div>
|
</div>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
|
@ -37,7 +37,15 @@
|
||||||
|
|
||||||
<!-- Pager -->
|
<!-- Pager -->
|
||||||
<div class="clearfix">
|
<div class="clearfix">
|
||||||
<a class="btn btn-secondary float-right" href="#">Older Posts →</a>
|
<?php
|
||||||
|
if(Paginator::showPrev()) {
|
||||||
|
echo '<a class="btn btn-secondary float-left" href="'.Paginator::prevPageUrl().'">← Previous Page</a>';
|
||||||
|
}
|
||||||
|
|
||||||
|
if(Paginator::showNext()) {
|
||||||
|
echo '<a class="btn btn-secondary float-left" href="'.Paginator::nextPageUrl().'">Next Page →</a>';
|
||||||
|
}
|
||||||
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
<!-- Page Header -->
|
<!-- Page Header -->
|
||||||
<header class="masthead" style="background-image: url('img/post-bg.jpg')">
|
<header class="masthead" style="background-image: url('<?php echo $backgroundImage ?>')">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-lg-8 col-md-10 mx-auto">
|
<div class="col-lg-8 col-md-10 mx-auto">
|
||||||
<div class="post-heading">
|
<div class="post-heading">
|
||||||
<h1><?php echo $page->title() ?></h1>
|
<h1><?php echo $page->title() ?></h1>
|
||||||
<h2 class="subheading"><?php echo $page->description() ?></h2>
|
<h2 class="subheading"><?php echo $page->description() ?></h2>
|
||||||
<span class="meta">Posted by <a href="#">Start Bootstrap</a> on August 24, 2017</span>
|
<p class="meta"><?php echo $Language->get('Posted by').' '.$page->user('username').' - '.$page->date() ?></p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,167 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
||||||
<meta name="description" content="">
|
|
||||||
<meta name="author" content="">
|
|
||||||
|
|
||||||
<title>Clean Blog - Start Bootstrap Theme</title>
|
|
||||||
|
|
||||||
<!-- Bootstrap core CSS -->
|
|
||||||
<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
|
|
||||||
|
|
||||||
<!-- Custom fonts for this template -->
|
|
||||||
<link href="vendor/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
|
|
||||||
<link href='https://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
|
|
||||||
<link href='https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800' rel='stylesheet' type='text/css'>
|
|
||||||
|
|
||||||
<!-- Custom styles for this template -->
|
|
||||||
<link href="css/clean-blog.min.css" rel="stylesheet">
|
|
||||||
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
<!-- Navigation -->
|
|
||||||
<nav class="navbar navbar-expand-lg navbar-light fixed-top" id="mainNav">
|
|
||||||
<div class="container">
|
|
||||||
<a class="navbar-brand" href="index.html">Start Bootstrap</a>
|
|
||||||
<button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
|
|
||||||
Menu
|
|
||||||
<i class="fa fa-bars"></i>
|
|
||||||
</button>
|
|
||||||
<div class="collapse navbar-collapse" id="navbarResponsive">
|
|
||||||
<ul class="navbar-nav ml-auto">
|
|
||||||
<li class="nav-item">
|
|
||||||
<a class="nav-link" href="index.html">Home</a>
|
|
||||||
</li>
|
|
||||||
<li class="nav-item">
|
|
||||||
<a class="nav-link" href="about.html">About</a>
|
|
||||||
</li>
|
|
||||||
<li class="nav-item">
|
|
||||||
<a class="nav-link" href="post.html">Sample Post</a>
|
|
||||||
</li>
|
|
||||||
<li class="nav-item">
|
|
||||||
<a class="nav-link" href="contact.html">Contact</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</nav>
|
|
||||||
|
|
||||||
<!-- Page Header -->
|
|
||||||
<header class="masthead" style="background-image: url('img/post-bg.jpg')">
|
|
||||||
<div class="container">
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-lg-8 col-md-10 mx-auto">
|
|
||||||
<div class="post-heading">
|
|
||||||
<h1>Man must explore, and this is exploration at its greatest</h1>
|
|
||||||
<h2 class="subheading">Problems look mighty small from 150 miles up</h2>
|
|
||||||
<span class="meta">Posted by
|
|
||||||
<a href="#">Start Bootstrap</a>
|
|
||||||
on August 24, 2017</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<!-- Post Content -->
|
|
||||||
<article>
|
|
||||||
<div class="container">
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-lg-8 col-md-10 mx-auto">
|
|
||||||
<p>Never in all their history have men been able truly to conceive of the world as one: a single sphere, a globe, having the qualities of a globe, a round earth in which all the directions eventually meet, in which there is no center because every point, or none, is center — an equal earth which all men occupy as equals. The airman's earth, if free men make it, will be truly round: a globe in practice, not in theory.</p>
|
|
||||||
|
|
||||||
<p>Science cuts two ways, of course; its products can be used for both good and evil. But there's no turning back from science. The early warnings about technological dangers also come from science.</p>
|
|
||||||
|
|
||||||
<p>What was most significant about the lunar voyage was not that man set foot on the Moon but that they set eye on the earth.</p>
|
|
||||||
|
|
||||||
<p>A Chinese tale tells of some men sent to harm a young girl who, upon seeing her beauty, become her protectors rather than her violators. That's how I felt seeing the Earth for the first time. I could not help but love and cherish her.</p>
|
|
||||||
|
|
||||||
<p>For those who have seen the Earth from space, and for the hundreds and perhaps thousands more who will, the experience most certainly changes your perspective. The things that we share in our world are far more valuable than those which divide us.</p>
|
|
||||||
|
|
||||||
<h2 class="section-heading">The Final Frontier</h2>
|
|
||||||
|
|
||||||
<p>There can be no thought of finishing for ‘aiming for the stars.’ Both figuratively and literally, it is a task to occupy the generations. And no matter how much progress one makes, there is always the thrill of just beginning.</p>
|
|
||||||
|
|
||||||
<p>There can be no thought of finishing for ‘aiming for the stars.’ Both figuratively and literally, it is a task to occupy the generations. And no matter how much progress one makes, there is always the thrill of just beginning.</p>
|
|
||||||
|
|
||||||
<blockquote class="blockquote">The dreams of yesterday are the hopes of today and the reality of tomorrow. Science has not yet mastered prophecy. We predict too much for the next year and yet far too little for the next ten.</blockquote>
|
|
||||||
|
|
||||||
<p>Spaceflights cannot be stopped. This is not the work of any one man or even a group of men. It is a historical process which mankind is carrying out in accordance with the natural laws of human development.</p>
|
|
||||||
|
|
||||||
<h2 class="section-heading">Reaching for the Stars</h2>
|
|
||||||
|
|
||||||
<p>As we got further and further away, it [the Earth] diminished in size. Finally it shrank to the size of a marble, the most beautiful you can imagine. That beautiful, warm, living object looked so fragile, so delicate, that if you touched it with a finger it would crumble and fall apart. Seeing this has to change a man.</p>
|
|
||||||
|
|
||||||
<a href="#">
|
|
||||||
<img class="img-fluid" src="img/post-sample-image.jpg" alt="">
|
|
||||||
</a>
|
|
||||||
<span class="caption text-muted">To go places and do things that have never been done before – that’s what living is all about.</span>
|
|
||||||
|
|
||||||
<p>Space, the final frontier. These are the voyages of the Starship Enterprise. Its five-year mission: to explore strange new worlds, to seek out new life and new civilizations, to boldly go where no man has gone before.</p>
|
|
||||||
|
|
||||||
<p>As I stand out here in the wonders of the unknown at Hadley, I sort of realize there’s a fundamental truth to our nature, Man must explore, and this is exploration at its greatest.</p>
|
|
||||||
|
|
||||||
<p>Placeholder text by
|
|
||||||
<a href="http://spaceipsum.com/">Space Ipsum</a>. Photographs by
|
|
||||||
<a href="https://www.flickr.com/photos/nasacommons/">NASA on The Commons</a>.</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</article>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<!-- Footer -->
|
|
||||||
<footer>
|
|
||||||
<div class="container">
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-lg-8 col-md-10 mx-auto">
|
|
||||||
<ul class="list-inline text-center">
|
|
||||||
<li class="list-inline-item">
|
|
||||||
<a href="#">
|
|
||||||
<span class="fa-stack fa-lg">
|
|
||||||
<i class="fa fa-circle fa-stack-2x"></i>
|
|
||||||
<i class="fa fa-twitter fa-stack-1x fa-inverse"></i>
|
|
||||||
</span>
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
<li class="list-inline-item">
|
|
||||||
<a href="#">
|
|
||||||
<span class="fa-stack fa-lg">
|
|
||||||
<i class="fa fa-circle fa-stack-2x"></i>
|
|
||||||
<i class="fa fa-facebook fa-stack-1x fa-inverse"></i>
|
|
||||||
</span>
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
<li class="list-inline-item">
|
|
||||||
<a href="#">
|
|
||||||
<span class="fa-stack fa-lg">
|
|
||||||
<i class="fa fa-circle fa-stack-2x"></i>
|
|
||||||
<i class="fa fa-github fa-stack-1x fa-inverse"></i>
|
|
||||||
</span>
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<p class="copyright text-muted">Copyright © Your Website 2017</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</footer>
|
|
||||||
|
|
||||||
<!-- Bootstrap core JavaScript -->
|
|
||||||
<script src="vendor/jquery/jquery.min.js"></script>
|
|
||||||
<script src="vendor/popper/popper.min.js"></script>
|
|
||||||
<script src="vendor/bootstrap/js/bootstrap.min.js"></script>
|
|
||||||
|
|
||||||
<!-- Custom scripts for this template -->
|
|
||||||
<script src="js/clean-blog.min.js"></script>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue