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
<head> | |
<!-- TemplateParam name="global" type="text" value="" --> | |
<!-- TemplateParam name="second" type="text" value="" --> | |
<!-- TemplateParam name="col2" type="boolean" value="false" --> | |
</head> |
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 id="contents" class="l-contents"> | |
<!-- TemplateBeginIf cond="!col2" --> | |
<div id="main" class="l-main col1"> | |
<!-- TemplateBeginEditable name="main1" -->●●<!-- TemplateEndEditable --> | |
</div> | |
<!-- TemplateEndIf --> | |
<!-- TemplateBeginIf cond="col2" --> | |
<div id="main" class="l-main col2"> | |
<!-- TemplateBeginEditable name="main2" -->●●<!-- TemplateEndEditable --> | |
</div> |
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
<head> | |
<!-- InstanceParam name="global" type="text" value="company" --> | |
<!-- InstanceParam name="second" type="text" value="message" --> | |
<!-- InstanceParam name="col2" type="boolean" value="true" --> | |
</head> |
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
<body @@((second!='') ? 'class="t-'+global+'-'+second+'"' : 'class="t-'+global+'"')@@> |
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 id="header" class="l-header"> | |
<ul class="navGlobal"> | |
<li><a href="/">HOME</a></li> | |
<li><a href="/works/">実績紹介</a></li> | |
<li><a class="is-active" href="/company/">企業情報</a></li> | |
<li><a href="/recruit/">採用情報</a></li> | |
<li><a href="/news/">ニュース</a></li> | |
<li><a href="/contact/">お問い合わせ</a></li> | |
</ul> | |
</div> |
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
## Apache2.4系 通常のバーチャルホスト設定 | |
<VirtualHost *:80> | |
DocumentRoot "c:/var/www/dev.sample1.local/html" | |
ServerName dev.sample1.local | |
ErrorLog "logs/sample1-error.log" | |
CustomLog "logs/sample1-access.log" common | |
<Directory "c:/var/www/dev.sample1.local/html"> | |
Require all granted | |
</Directory> |
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
## Apache2.4系 VirtualDocumentRootを使う場合の設定 | |
UseCanonicalName Off | |
<virtualhost *:80> | |
VirtualDocumentRoot "c:/var/www/%0/html" | |
</virtualhost> | |
<directory "c:/var/www/*/html"> | |
Require all granted | |
</directory> |
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 | |
/** | |
* BacklogからCPIへのデプロイスクリプト(https://gist.github.com/hissy/6a114d0d9a85f3338aed) | |
* 上記に対し、Gitのサブディレクトリ(/html)のみをデプロイするよう改変しました。 | |
*/ | |
// CPIユーザーID(契約情報で確認してください) | |
$user_id = 'abc123defg'; | |
// Gitレポジトリの位置の指定(固定で[.git]) | |
$git_dir = '/usr/home/' . $user_id . '/.git'; |
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
'use strict'; | |
const gulp = require('gulp'); | |
const nunjucks = require('gulp-nunjucks-render'); | |
const data = require('gulp-data'); | |
const beautify = require('gulp-html-beautify'); | |
const brsync = require('browser-sync'); | |
const paths = { | |
'src' : { |
OlderNewer