File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,13 @@ protected function checkTranslationKey(string $key): void
5454 protected function registerMeta (): void
5555 {
5656 $ this ->app ->singleton (MetaInterface::class, function () {
57+ // 번역 키 확인
58+ $ this ->checkTranslationKey ('seo.title ' );
59+ $ this ->checkTranslationKey ('seo.description ' );
60+ $ this ->checkTranslationKey ('seo.keywords ' );
61+
62+ Config::set ('meta_tags.title.default ' , __ ('seo.title ' ));
63+
5764 $ meta = new Meta (
5865 $ this ->app [ManagerInterface::class],
5966 $ this ->app ['config ' ]
@@ -64,11 +71,6 @@ protected function registerMeta(): void
6471 $ ogConfig = $ metaConfig ['og ' ] ?? [];
6572 $ imagesConfig = $ metaConfig ['images ' ] ?? [];
6673
67- // 번역 키 확인
68- $ this ->checkTranslationKey ('seo.title ' );
69- $ this ->checkTranslationKey ('seo.description ' );
70- $ this ->checkTranslationKey ('seo.keywords ' );
71-
7274 // 기본 태그 설정
7375 $ meta ->setTitle (__ ('seo.title ' ));
7476 $ meta ->addTag ('variables ' , new JavascriptVariables ([
You can’t perform that action at this time.
0 commit comments