GUIDE

Site(サイト)

サイトをあらわすオブジェクトです。すべてのテンプレートおよびページからsiteで参照できます。

accept_comment

記事にコメントを受け付ける設定になっていればtrue。

all_categories

子を含むすべてのCategoryオブジェクトのRelation。

articles

ArticleオブジェクトのRelationを記事公開日時の降順で取得。

attribute_fields

すべてのAttributeFieldオブジェクトのRelation。

categories

最上位階層のCategoryオブジェクトの配列。

comments

記事へ投稿された公開済みのCommentオブジェクトのRelation。

curators

ライターであるUserオブジェクトのRelation。

collections

コレクションであるCollectionオブジェクトのRelation。

daily_popular_articles

ArticleオブジェクトのRelationを24時間以内のページビューの多い順に取得。

daily_popular_users

UserオブジェクトのRelationを作成記事の24時間以内のページビューの多い順に取得。

description

サイト説明。

favicon_url

faviconのURL。

image_large_url

サイト画像のURL(1280px)。

image_medium_url

サイト画像のURL(640px)。

image_original_url

サイト画像のURL(オリジナルサイズ)。
※resizeフィルタを併用してください。

image_small_url

サイト画像のURL(320px)。

image_square_url

サイト画像のURL(150x150px正方形)。

image_thumbnail_url

サイト画像URL(75x75px正方形)。

logo_mobile_small_url

スマホ用ロゴ画像のURL。

logo_small_url

PC用ロゴ画像のURL。

manageable

閲覧者(自分)がサイト管理者であればtrue。

monthly_popular_articles

ArticleオブジェクトのRelationを1ヶ月以内のページビューの多い順に取得。

monthly_popular_tag_pages

TagオブジェクトのRelationを1ヶ月以内のページビューの多い順に取得。

monthly_popular_users

UserオブジェクトのRelationを作成記事の1ヶ月以内のページビューの多い順に取得。

name

サイト名。

num_comments

記事へ投稿された公開済みのコメントの数。

path

サイトトップページのURLパス。

popular_articles

ArticleオブジェクトのRelationを1週間以内のページビューの多い順に取得。

popular_tags

3ヶ月以内に投稿された記事に付けられたTagオブジェクトのRelationを記事の多い順で取得。

private_articles

非公開記事のArticleオブジェクトのRelationを記事作成日時の降順で取得。

reserved_articles

公開日前の記事のArticleオブジェクトのRelationを公開日時の昇順で取得。

tags

登録されているタグTagオブジェクトのRelation。

title

サイトタイトル。

top_title

トップページ用のサイトタイトル。

total_popular_articles

ArticleオブジェクトのRelationを全期間のページビューの多い順に取得。

touch_icon_url

スマホアイコン画像のURL。

url

サイトトップページのURL。

weekly_popular_articles

記事ArticleオブジェクトのRelationを1週間以内のページビューの多い順に取得。

weekly_popular_users

UserオブジェクトのRelationを作成記事の1週間以内のページビューの多い順に取得。

78 件