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
<configuration> | |
<system.webServer> | |
<rewrite> | |
<rules> | |
<rule name="wordpress" patternSyntax="Wildcard"> | |
<match url="*"/> | |
<conditions> | |
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true"/> | |
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true"/> | |
</conditions> |
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
/* | |
* Copyright (c) Brock Allen. All rights reserved. | |
* see license.txt | |
*/ | |
using System; | |
using System.Collections.Generic; | |
using System.ComponentModel; | |
using System.ComponentModel.DataAnnotations; | |
using System.Linq; |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
/* css hover version of .dropdown */ | |
.dropdown-hover { | |
.dropdown (); | |
&:hover { | |
> .dropdown-menu { | |
display: block; | |
} | |
} |
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
<div class="container"> | |
<ul class="main-Menu"> | |
@foreach (var item in MenuHelper.Top()) | |
{ | |
@ShowTree(item); | |
} | |
</ul> | |
</div> | |
@helper ShowTree(Kooboo.CMS.Sites.Models.Page item) { |
I hereby claim:
- I am talves on github.
- I am talves (https://keybase.io/talves) on keybase.
- I have a public key ASD6fOG65lyWkvDm4hBqJdPp7bAXJTF6WkB8h-trFITmrgo
To claim this, I am signing this object:
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 | |
if (!is_blog_installed()) { return; } | |
$my_server_port = ((!empty ($_SERVER ['SERVER_PORT']) AND $_SERVER ['SERVER_PORT'] <> '80') ? (":" . $_SERVER ['SERVER_PORT']) : ''); | |
$my_server_name = (!empty ($my_server_port) ?($_SERVER['SERVER_NAME'] . $my_server_port) : $_SERVER['SERVER_NAME'] ); | |
if ('http://' . $my_server_name . '/wp' == get_option('home')) { | |
update_option('siteurl', 'http://' . $my_server_name . '/wp'); | |
update_option('home', 'http://' . $my_server_name); | |
update_option('upload_path', $_SERVER['DOCUMENT_ROOT'] . '\media'); |
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
// Place your settings in this file to overwrite the default settings | |
{ | |
"editor.fontSize": 16, | |
"editor.fontFamily": "Consolas", | |
"editor.tabSize": 2, | |
"editor.fontLigatures": true, | |
"editor.wordWrap": "wordWrapColumn", | |
"editor.wordWrapColumn": 80, | |
"files.exclude": { | |
"**/.git": true, |
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
# Global settings applied to the whole site. | |
[build] | |
publish = "public" | |
command = "hugo -d public" | |
[build.environment] | |
#overwritten by context.production.environment, et. al. | |
HUGO_VERSION = "0.31" | |
# The following environments overwrite the global above if you target them. | |
# The version you use for production | |
[context.production.environment] |