Skip to content

Commit

Permalink
update head html
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhgChgLiBot committed Oct 27, 2024
1 parent 4050434 commit 3e16491
Show file tree
Hide file tree
Showing 13 changed files with 141 additions and 0 deletions.
Binary file modified .DS_Store
Binary file not shown.
Binary file modified themes/default/.DS_Store
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions themes/default/images/favicons/browserconfig.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<browserconfig>
<msapplication>
<tile>
<square150x150logo src="/assets/img/favicons/mstile-150x150.png" />
<TileColor>#da532c</TileColor>
</tile>
</msapplication>
</browserconfig>

Binary file added themes/default/images/favicons/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added themes/default/images/favicons/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added themes/default/images/favicons/favicon.ico
Binary file not shown.
Binary file added themes/default/images/favicons/mstile-150x150.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
73 changes: 73 additions & 0 deletions themes/default/images/favicons/safari-pinned-tab.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions themes/default/images/favicons/site.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@


{
"name": "ZhgChgLi",
"short_name": "ZhgChgLi",
"description": "ZhgChgLi iOS Developer 求知若渴 教學相長 更愛電影/美劇/西音/運動/生活",
"icons": [
{
"src": "/assets/img/favicons/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/assets/img/favicons/android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}],
"start_url": "/index.html",
"theme_color": "#2a1e6b",
"background_color": "#ffffff",
"display": "fullscreen"
}

35 changes: 35 additions & 0 deletions themes/default/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,41 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>{{ title }}</title>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="theme-color" media="(prefers-color-scheme: light)" content="#f7f7f7">
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="#1b1b1e">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta
name="viewport"
content="width=device-width, user-scalable=no initial-scale=1, shrink-to-fit=no, viewport-fit=cover"
>

<meta property="og:title" content="{{ title }}" />
<meta name="author" content="{{ name }}" />
<meta property="og:locale" content="en" />
<meta name="description" content="{{ tagline }}" />
<meta property="og:description" content="{{ tagline }}" />
<meta property="og:site_name" content="{{ title }}" />
<meta property="og:image" content="{{ avatar }}" />
<meta property="og:type" content="article" />
<meta name="twitter:card" content="summary_large_image" />
<meta property="twitter:image" content="{{ avatar }}" />
<meta property="twitter:title" content="{{ title }}" />

<link rel="apple-touch-icon" sizes="180x180" href="./images/favicons/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="./images/favicons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="./images/favicons/favicon-16x16.png">
<link rel="manifest" href="./images/favicons/site.webmanifest">
<link rel="shortcut icon" href="./images/favicons/favicon.ico">
<meta name="apple-mobile-web-app-title" content="{{ title }}">
<meta name="application-name" content="{{ title }}">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="msapplication-config" content="./images/favicons/browserconfig.xml">
<meta name="theme-color" content="#ffffff">


<link rel="stylesheet" href="./styles.css" />
</head>
<body>
Expand Down

0 comments on commit 3e16491

Please sign in to comment.