-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
プレースホルダーに `post_date`、`post_title_count`、`post_content_count` の3つを追加してみました。 後者の2つは標準機能が良いか、フックでサイト個別にカスタマイズが良いか微妙な気もしましたが…。 適切でないようでしたらご意見いただけますと有り難いです。 ## 投稿日時 `post_date` で投稿の投稿日時を出力。 `post_date:Ymd` のようにフォーマット指定ができる。 ``` (例) `post_date` ↓ <meta name="gacommunicator:post_date" content="2023-06-20 17:00:29" /> `post_date:Ymd` ↓ <meta name="gacommunicator:post_date:Ymd" content="20230620" /> ``` ## 投稿タイトルの文字数 `post_title_count` で投稿のタイトルの文字数を出力。 文字数は半角、全角問わず1文字とカウントする。 ``` (例) `post_title_count` ↓ <meta name="gacommunicator:post_title_count" content="36" /> ``` ## 投稿本文の文字数 `post_content_count` で投稿の本文の文字数を出力。 文字数は半角、全角問わず1文字とカウントする。 ``` (例) `post_content_count` ↓ <meta name="gacommunicator:post_content_count" content="736" /> ```
- Loading branch information
Showing
5 changed files
with
137 additions
and
52 deletions.
There are no files selected for viewing
Binary file not shown.
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
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
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
Oops, something went wrong.