page exemple
This commit is contained in:
parent
67dd3cb1b0
commit
001f32e60b
5 changed files with 65 additions and 23 deletions
33
.idea/workspace.xml
generated
33
.idea/workspace.xml
generated
|
@ -4,27 +4,12 @@
|
|||
<option name="autoReloadType" value="SELECTIVE" />
|
||||
</component>
|
||||
<component name="ChangeListManager">
|
||||
<list default="true" id="b9871119-7d48-43df-9f66-6fd91d65a1cb" name="Changes" comment="no index">
|
||||
<change afterPath="$PROJECT_DIR$/sass/variables/media.scss" afterDir="false" />
|
||||
<list default="true" id="b9871119-7d48-43df-9f66-6fd91d65a1cb" name="Changes" comment="git ignore">
|
||||
<change afterPath="$PROJECT_DIR$/content/community/index.md" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/content/new/index.md" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/templates/community.html" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/templates/new.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/sass/common/footer.scss" beforeDir="false" afterPath="$PROJECT_DIR$/sass/common/footer.scss" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/sass/common/header.scss" beforeDir="false" afterPath="$PROJECT_DIR$/sass/common/header.scss" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/sass/component/animation.scss" beforeDir="false" afterPath="$PROJECT_DIR$/sass/component/animation.scss" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/sass/component/buttons.scss" beforeDir="false" afterPath="$PROJECT_DIR$/sass/component/buttons.scss" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/sass/global/index.scss" beforeDir="false" afterPath="$PROJECT_DIR$/sass/global/index.scss" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/sass/main.scss" beforeDir="false" afterPath="$PROJECT_DIR$/sass/main.scss" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/sass/pages/home.scss" beforeDir="false" afterPath="$PROJECT_DIR$/sass/pages/home.scss" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/sass/variables/color-theme.scss" beforeDir="false" afterPath="$PROJECT_DIR$/sass/variables/color-theme.scss" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/sass/variables/fonts.scss" beforeDir="false" afterPath="$PROJECT_DIR$/sass/variables/fonts.scss" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/sass/variables/images.scss" beforeDir="false" afterPath="$PROJECT_DIR$/sass/variables/images.scss" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/sass/variables/spasing.scss" beforeDir="false" afterPath="$PROJECT_DIR$/sass/variables/spasing.scss" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/templates/base.html" beforeDir="false" afterPath="$PROJECT_DIR$/templates/base.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/templates/common/header.html" beforeDir="false" afterPath="$PROJECT_DIR$/templates/common/header.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/templates/section/home-services.html" beforeDir="false" afterPath="$PROJECT_DIR$/templates/section/home-services.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/templates/shortcodes/animation-section-js.html" beforeDir="false" afterPath="$PROJECT_DIR$/templates/shortcodes/animation-section-js.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/templates/shortcodes/header-switch.html" beforeDir="false" afterPath="$PROJECT_DIR$/templates/shortcodes/header-switch.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/templates/shortcodes/paralax.html" beforeDir="false" afterPath="$PROJECT_DIR$/templates/shortcodes/paralax.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/templates/shortcodes/switch-theme.html" beforeDir="false" afterPath="$PROJECT_DIR$/templates/shortcodes/switch-theme.html" afterDir="false" />
|
||||
</list>
|
||||
<option name="SHOW_DIALOG" value="false" />
|
||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||
|
@ -41,7 +26,7 @@
|
|||
<component name="Git.Settings">
|
||||
<option name="RECENT_BRANCH_BY_REPOSITORY">
|
||||
<map>
|
||||
<entry key="$PROJECT_DIR$" value="light-mode" />
|
||||
<entry key="$PROJECT_DIR$" value="preprod" />
|
||||
</map>
|
||||
</option>
|
||||
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
||||
|
@ -64,7 +49,7 @@
|
|||
"RunOnceActivity.ShowReadmeOnStart": "true",
|
||||
"WebServerToolWindowFactoryState": "false",
|
||||
"git-widget-placeholder": "preprod",
|
||||
"last_opened_file_path": "E:/organicmaps.github.io/static/images",
|
||||
"last_opened_file_path": "/Users/dmitroantonuk/Documents/development/organicmaps.github.io/content/community",
|
||||
"node.js.detected.package.eslint": "true",
|
||||
"node.js.detected.package.stylelint": "true",
|
||||
"node.js.detected.package.tslint": "true",
|
||||
|
@ -78,9 +63,11 @@
|
|||
}]]></component>
|
||||
<component name="RecentsManager">
|
||||
<key name="CopyFile.RECENT_KEYS">
|
||||
<recent name="$PROJECT_DIR$/content/community" />
|
||||
<recent name="$PROJECT_DIR$/templates" />
|
||||
<recent name="$PROJECT_DIR$/content/new" />
|
||||
<recent name="E:\organicmaps.github.io\static\images" />
|
||||
<recent name="E:\organicmaps.github.io\templates" />
|
||||
<recent name="E:\organicmaps.github.io\sass" />
|
||||
</key>
|
||||
<key name="MoveFile.RECENT_KEYS">
|
||||
<recent name="$PROJECT_DIR$/templates" />
|
||||
|
|
11
content/community/index.md
Normal file
11
content/community/index.md
Normal file
|
@ -0,0 +1,11 @@
|
|||
---
|
||||
title:
|
||||
description:
|
||||
template: community.html
|
||||
weight: 10
|
||||
extra:
|
||||
menu_title: Community
|
||||
hero_image: donate/donate.png
|
||||
preview_image: donate/donate.png
|
||||
test: lpl
|
||||
---
|
10
content/new/index.md
Normal file
10
content/new/index.md
Normal file
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
title: Donate to support the development of Organic Maps
|
||||
description: Your money pays for all project-related expenses and motivates us to improve Organic Maps.
|
||||
template: new.html
|
||||
weight: 10
|
||||
extra:
|
||||
menu_title: Donate
|
||||
preview_image: donate/donate.png
|
||||
test: test
|
||||
---
|
17
templates/community.html
Normal file
17
templates/community.html
Normal file
|
@ -0,0 +1,17 @@
|
|||
|
||||
|
||||
{% extends "base.html" %}
|
||||
|
||||
|
||||
{%- block content %}
|
||||
{% include 'section/hero.html' %}
|
||||
|
||||
|
||||
<div>
|
||||
<h2>
|
||||
{{ page.extra.test | safe }}
|
||||
</h2>
|
||||
|
||||
|
||||
</div>
|
||||
{%- endblock content %}
|
17
templates/new.html
Normal file
17
templates/new.html
Normal file
|
@ -0,0 +1,17 @@
|
|||
|
||||
|
||||
{% extends "base.html" %}
|
||||
|
||||
|
||||
{%- block content %}
|
||||
{% include 'section/hero.html' %}
|
||||
|
||||
|
||||
<div>
|
||||
<h2>
|
||||
{{ page.extra.test | safe }}
|
||||
</h2>
|
||||
|
||||
|
||||
</div>
|
||||
{%- endblock content %}
|
Loading…
Add table
Reference in a new issue