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
mail: { | |
transport: 'SMTP', | |
options: { | |
host: 'yourdomain.com', | |
secureConnection: true, | |
port: 465, | |
auth: { | |
user: 'ghost@yourdomain.com', | |
pass: '****' | |
} |
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 (empty($title)) { | |
$title = t('Видео'); | |
} | |
?> | |
<!-- begin latest posts --> | |
<section> | |
<h2><?php print $title; ?> <span class="more">– <a href="<?php print url('video'); ?>"><?php print t('Смотреть все видео'); ?> »</a></span></h2> | |
<!-- begin post carousel --> |
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
nginx: | |
image: nginx | |
ports: | |
- "80:80" | |
links: | |
- phpfpm | |
volumes: | |
- ./nginx:/etc/nginx/conf.d | |
- ./logs/nginx-error.log:/var/log/nginx/error.log | |
- ./logs/nginx-access.log:/var/log/nginx/access.log |
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
# Используем за основу контейнера Ubuntu 14.04 LTS | |
FROM ubuntu:14.04 | |
# Переключаем Ubuntu в неинтерактивный режим — чтобы избежать лишних запросов | |
ENV DEBIAN_FRONTEND noninteractive | |
# Устанавливаем локаль | |
RUN locale-gen ru_RU.UTF-8 && dpkg-reconfigure locales | |
# Добавляем необходимые репозитарии и устанавливаем пакеты | |
RUN apt-get install -y software-properties-common | |
RUN add-apt-repository -y ppa:ondrej/php5-5.6 |
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-styling: | |
version: 1.x | |
css: | |
theme: | |
css/flexslider.css: {} | |
css/style.css: {} | |
js: | |
js/jquery.flexslider-min.js: {} | |
js/jquery.smooth-scroll.js: {} | |
js/custom.js: {} |
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
core: 8.x | |
type: theme | |
base theme: aegan | |
name: 'Haruo' | |
description: 'My first Drupal8 subtheme' | |
package: 'Custom' | |
# Regions | |
regions: |
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
server { | |
server_name www.example.ru; | |
return 301 $scheme://example.ru$request_uri; | |
} | |
server { | |
server_name example.ru; | |
root /home/user/www/example.ru/main; ## <-- Your only path reference. | |
access_log off; |