3-1 テーマ関連ファイル
63ページ
theme.yamlの基本情報の定義
label: Classic Blog
id: classic_blog
author_name: Six Apart, Ltd.
author_link: http://www.sixapart.com/
version: 1.0
class: blog
protected: 1
description: <__trans phrase="Typical and authentic ...中略... bloggers.">
l10n_lexicon:
ja: l10n_ja.yaml
thumbnail_file: thumb.png
thumbnail_file_medium: thumb-medium.png
thumbnail_file_small: thumb-small.png
elements:
...後略...
64ページ
elements:の定義
label: Classic Blog
...中略...
elements:
template_set:
...中略...
custom_fields:
...中略...
default_categories:
...中略...
default_folders:
...中略...
blog_static_files:
...中略...
default_pages:
...中略...
default_prefs:
...中略...
template_set:の定義
elements:
template_set:
component: core
importer: template_set
name: template set
data:
label: Classic Blog
base_path: templates
require: 1
templates:
index:
...中略...
archive:
...中略...
individual:
...中略...
page:
...中略...
module:
...中略...
system:
...中略...
widget:
...中略...
widgetset:
...中略...
global:email:
...中略...
global:module:
...中略...
66ページ
index:の定義
elements:
template_set:
...中略...
data:
label: Classic Blog
...中略...
templates:
index:
archive_index:
label: Archive Index
outfile: archives.html
build_type: 1
feed_recent:
label: 'Feed - Recent Entries'
outfile: atom.xml
build_type: 1
javascript:
label: JavaScript
outfile: mt.js
build_type: 1
main_index:
label: Main Index
outfile: index.html
build_type: 1
linked_file: dw/index.html
rsd:
label: RSD
outfile: rsd.xml
build_type: 1
styles:
label: Stylesheet
outfile: styles.css
build_type: 1
67ページ
archive:の定義
elements:
template_set:
...中略...
data:
label: Classic Blog
...中略...
templates:
index:
...中略...
archive:
category_entry_listing:
label: Category Entry Listing
mappings:
category:
archive_type: Category
monthly_entry_listing:
label: Monthly Entry Listing
mappings:
monthly:
archive_type: Monthly
68ページ
elements:
template_set:
...中略...
data:
label: Classic Blog
...中略...
templates:
index:
...中略...
archive:
monthly_entry_listing:
label: Monthly Entry Listing
mappings:
monthly:
archive_type: Monthly
preferred: 1
calendar:
label: Calendar
mappings:
monthly:
archive_type: Monthly
file_template: calendar/%y/%m/%i
preferred: 0
69ページ
individual:の定義
elements:
template_set:
...中略...
data:
label: Classic Blog
...中略...
templates:
index:
...中略...
individual:
entry:
label: Entry
mappings:
entry_archive:
archive_type: Individual
page:の定義
elements:
template_set:
...中略...
data:
label: Classic Blog
...中略...
templates:
index:
...中略...
page:
page:
label: Page
mappings:
page_archive:
archive_type: Page
70ページ
module:の定義
elements:
template_set:
...中略...
data:
label: Classic Blog
...中略...
templates:
index:
...中略...
module:
banner_footer:
label: Banner Footer
banner_header:
label: Banner Header
comment_detail:
label: Comment Detail
comments:
label: Comments
entry_summary:
label: Entry Summary
html_head:
label: HTML Head
sidebar:
label: Sidebar
trackbacks:
label: Trackbacks
...後略...
system:の定義
elements:
template_set:
...中略...
data:
label: Classic Blog
...中略...
templates:
index:
...中略...
system:
comment_listing:
description_label: Improved listing of comments.
label: Comment Listing
comment_preview:
description_label: Displays preview of comment.
label: Comment Preview
comment_response:
description_label: 'Displays error, pending or confirmation message for comments.'
label: Comment Response
dynamic_error:
description_label: Displays errors for dynamically published templates.
label: Dynamic Error
popup_image:
description_label: Displays image when user clicks a popuplinked image.
label: Popup Image
search_results:
description_label: Displays results of a search.
label: Search Results
71ページ
widget:の定義
elements:
template_set:
...中略...
data:
label: Classic Blog
...中略...
templates:
index:
...中略...
widget:
about_this_page:
label: About This Page
archive_widgets_group:
label: Archive Widgets Group
author_archive_list:
label: Author Archives
calendar:
label: Calendar
category_archive_list:
label: Category Archives
...後略...
72ページ
widgetset:の定義
elements:
template_set:
...中略...
data:
label: Classic Blog
...中略...
templates:
index:
...中略...
widgetset:
2column_layout_sidebar:
label: '2-column layout - Sidebar'
order: 1000
widgets:
- Search
- About This Page
- Home Page Widgets Group
- Archive Widgets Group
- Page Listing
- Syndication
- OpenID Accepted
- Powered By
3column_layout_primary_sidebar:
label: '3-column layout - Primary Sidebar'
order: 1000
widgets:
- Archive Widgets Group
- Page Listing
- Syndication
- OpenID Accepted
- Powered By
3column_layout_secondary_sidebar:
label: '3-column layout - Secondary Sidebar'
order: 1000
widgets:
- Search
- Home Page Widgets Group
- About This Page
73ページ
global:email:の定義
elements:
template_set:
...中略...
data:
label: Classic Blog
...中略...
templates:
index:
...中略...
global:email:
comment_throttle:
label: Comment throttle
commenter_confirm:
label: Commenter Confirm
commenter_notify:
label: Commenter Notify
new-comment:
label: New Comment
new-ping:
label: New Ping
notify-entry:
label: Entry Notify
recover-password:
label: Password Recovery
verify-subscribe:
label: Subscribe Verify
74ページ
global:module:の定義
elements:
template_set:
...中略...
data:
label: Classic Blog
...中略...
templates:
index:
...中略...
global:module:
footer-email:
label: Mail Footer
default_categories:の定義
elements:
default_categories:
component: core
importer: default_categories
data:
inrformation:
label: お知らせ
description: これはお知らせ用のカテゴリです
children:
customer:
label: お客様向けのお知らせ
staff:
label: スタッフ向けのお知らせ
event:
label: イベント
description: これはイベント用のカテゴリです
75ページ
default_folders:の定義
elements:
default_folders:
component: core
importer: default_folders
data:
about:
label: このサイトについて
description: このサイトについての説明
children:
sub_about:
label: このサイトについてのサブフォルダ
contact:
label: お問い合わせ
children:
sub_contact:
label: お問い合わせのサブフォルダ
76ページ
custom_fields:の定義
elements:
custom_fields:
component: commercial
importer: custom_fields
data:
cf_1:
obj_type: page
name: 価格
type: text
required: 1
tag: PageProductPrice
cf_2:
obj_type: page
name: サイズ
description: '服のサイズ'
type: select
options: SS,S,M,L,LL
required: 0
default: SS
tag: PageProcuctSize
77ページ
blog_static_files:の定義
elements:
blog_static_files:
component: core
importer: blog_static_files
data:
- css
- images
- js
78ページ
default_pages:の定義
elements:
default_pages:
component: core
importer: default_pages
name: Default Pages
data:
about:
basename: index
title: About
text: <__trans phrase="_PWT_ABOUT_BODY">
tags: @about
folder: about
contact:
basename: contact
title: <__trans phrase="Contact">
text: <__trans phrase="_PWT_CONTACT_BODY">
tags: @contact
folder: contact
home:
basename: home
title: <__trans phrase="Welcome to our new website!">
text: <__trans phrase="_PWT_HOME_BODY">
tags: @home
79ページ
default_prefs:の定義
elements:
default_prefs:
component: core
importer: default_prefs
data:
name: Foo
site_path: /home/www/foo
site_url: http://user-domain/
file_extension: php
allow_comments_default: 0
allow_pings_default: 0