Self Code Review/(sparta) WEB plus - 나만의 단어장
[나만의 단어장] 11. 완성도 높이기 - og태그, favicon
밍굥잉
2022. 5. 4. 14:34
✅ og 태그
- Open Graph 태그로 웹페이지의 링크를 공유할 때 나타나는 미리 보기를 설정하는 태그
- 메타 태그의 종류 중 하나로, ‘제목, 설명, 이미지, 링크, 타입’ 등을 삽입할 수 있음.
✅ favicon
- 주소창의 즐겨찾기 아이콘
✅ og태그와 favicon 설정
<meta property="og:title" content="Sparta Vocabulary Notebook"/>
<meta property="og:description" content="mini project for Web Plus"/>
<meta property="og:image" content="{{ url_for('static', filename='logo_red.png') }}"/>
<link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}" type="image/x-icon">
<link rel="icon" href="{{ url_for('static', filename='favicon.ico') }}" type="image/x-icon">