This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;(function ($, window, document, undefined) { | |
"use strict"; | |
var cssEl = { | |
'body' : 'body, .button, h1, h2, h3, h4, .h5, h6', | |
'logo' : '.nav .logo', | |
'menu' : '.menu', | |
'topbar' : 'body[class*="topbar"] .menu > li > a', | |
'sidebar' : 'body[class*="sidebar"] .menu > li > a', | |
'header' : '.main h1,.main h2,.main h3,.main h4,.main h5,.main h6', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
title: About mjau-mjau | |
label: About | |
description: Information about website mjau-mjau.com and author Karl Ward. | |
layout: narrower text-center | |
context: items:title,content | |
gallery: hide | |
content: | | |
--- | |
<div class='row text-left'> | |
<div class='medium-6 columns'> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Deny access to all files in folder | |
<IfModule mod_authz_core.c> | |
Require all denied | |
</IfModule> | |
<IfModule !mod_authz_core.c> | |
Order deny,allow | |
Deny from all | |
</IfModule> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UrlToolkit { | |
ToolkitID = imagevuex3test | |
# Deny access to config and _cache folder | |
Match ^/test/(config|_cache) DenyAccess | |
# No rewrite for existing files | |
RequestURI isfile Return | |
# Rewrite any calls to html|json|xml|atom|rss if a folder matching * exists |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function get_domain($host){ | |
$myhost = strtolower(trim($host)); | |
$count = substr_count($myhost, '.'); | |
// www.(domain.com) || (domain.co.uk) || sub.(domain.com) | |
if($count === 2){ | |
if(strlen(explode('.', $myhost)[1]) > 3) $myhost = explode('.', $myhost, 2)[1]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- INTRO --> | |
<div class="index-intro"> | |
<div class='index-intro-text'> | |
<h1>The Ultimate Photo Gallery Website</h1> | |
<h2>X3 is a complete photo gallery website for photographers and artists. Designed to look amazing on all devices, X3 comes loaded with features!</h2> | |
</div> | |
<div class="index-intro-image"> | |
<picture> | |
<source srcset="{{files}}/images/x3-photo-gallery.webp 1x, {{files}}/images/x3-photo-gallery-2x.webp 2x" media="(max-width: 535px)" type="image/webp"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Rewrite any calls to html|json|xml|atom|rss if a folder matching * exists | |
url.rewrite-if-not-file = ( | |
"(.+)\.(html|json|xml|atom|rss)$" => "$1/" | |
) | |
# Rewrite any calls to /render to the X3 image resizer | |
url.rewrite-once = ( | |
"^render/." => "app/parsers/slir/" | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# --------------------------------------------------------------------------- | |
# X3 REQUIRED | |
# Below rewrite rules are strictly required by X3 for pages to work properly. | |
# --------------------------------------------------------------------------- | |
<IfModule mod_rewrite.c> | |
# RewriteEngine enabled | |
RewriteEngine on |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# --------------------------------------------------------------------------- | |
# X3 REQUIRED | |
# Below rewrite rules are strictly required by X3 for pages to work properly. | |
# Add custom rules inside "# custom rules start" and "# custom rules end" tags. | |
# --------------------------------------------------------------------------- | |
<IfModule mod_rewrite.c> | |
# RewriteEngine enabled |
OlderNewer