๐ŸŒธ [SPRING BOOT] | layout - layout:title-pattern="$CONTENT TITLE" ๊ฐ€ ์•ˆ ๋จนํž๋•Œ

0
post-thumbnail

๐Ÿ”น ๋ฌธ์ œ

  • layout:title-pattern="$CONTENT TITLE" ํ•ด๋„ <title>์€ ClonFacebook์œผ๋กœ LAYOUTTITLE๋งŒ ๋œฌ๋‹ค.

๐Ÿ”น ํ•ด๊ฒฐ

  • ์›๋ž˜๋Š” layout:title-pattern="$LAYOUT TITLE - $CONTENT TITLE"
  • ClonFacebook์ด $LAYOUT TITLE
  • CONTENT TITLE์ด ์—†๋‹ค๋ฉด $LAYOUT TITLE๋งŒ (ClonFacebook) ๋œฐ๊บผ๊ณ 
  • ์žˆ๋‹ค๋ฉด ClonFacebook - CONTENT TITLE ์ด๋Ÿฐ ํ˜•์‹์œผ๋กœ ๋œฌ๋‹ค

โœ… $CONTENT TITLE ์„ค์ •ํ•˜๋Š” ๋ฒ•

<head>
    <title> ํ”„๋กœํ•„ </title>
</head>
  • ์œ„์˜ ๋ฐฉ๋ฒ•์œผ๋กœ ๊ฐ html๋งˆ๋‹ค ์ €๋ ‡๊ฒŒ $CONTENT TITLE ์„ ์ •ํ•ด์ฃผ๋ฉด
  • LAYOUT TITLE - CONTENT TITLE ์ด๋Ÿฐ ํ˜•์‹์œผ๋กœ
  • CloneFacebook - ํ”„๋กœํ•„ ์ด๋ ‡๊ฒŒ ๋œจ๊ฒŒ ๋œ๋‹ค.
profile
๋ช‡ ๋ฒˆ์„ ๋„˜์–ด์ ธ๋„ ์•ž์œผ๋กœ ๊ณ„์† ๋‚˜์•„๊ฐ€์ž

0๊ฐœ์˜ ๋Œ“๊ธ€