Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add icon link tags and manifest file #9

Merged
merged 1 commit into from
Apr 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@
<meta name="twitter:creator" content="@CosmicDataStory">
<meta name="twitter:image" content="https://projects.cosmicds.cfa.harvard.edu/vue-ds-template/preview.png">
<link rel="icon" href="https://projects.cosmicds.cfa.harvard.edu/cds-website/cosmicds-favicon.png">
<link rel="apple-touch-icon" href="https://projects.cosmicds.cfa.harvard.edu/cds-website/cosmicds-favicon-57.png">
<link rel="apple-touch-icon" sizes="72x72" href="https://projects.cosmicds.cfa.harvard.edu/cds-website/cosmicds-favicon-72.png">
<link rel="apple-touch-icon" sizes="114x114" href="https://projects.cosmicds.cfa.harvard.edu/cds-website/cosmicds-favicon-114.png">
<link rel="apple-touch-icon" sizes="144x144" href="https://projects.cosmicds.cfa.harvard.edu/cds-website/cosmicds-favicon-144.png">
<link rel="shortcut icon" href="https://projects.cosmicds.cfa.harvard.edu/cds-website/cosmicds-favicon.ico">
<meta name="apple-mobile-web-app-title" content="CosmicDS Vue Template">
<link rel="manifest" href="site.webmanifest">
<title>CosmicDS Vue Template</title>
</head>

Expand Down
4 changes: 4 additions & 0 deletions public/site.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "Cosmic Data Stories: CosmicDS Vue Template",
"short_name": "CosmicDS Vue Template"
}
5 changes: 4 additions & 1 deletion scripts/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,11 @@ mv MainComponent.vue ${pascal_case_name}.vue
cd ../public
sed -i.bak "s/minids-template/$name/g" index.html
sed -i.bak "s/CosmicDS data story template/$pascal_case_name/g" index.html
sed -i.bak "s/CosmicDS Template/$title/g" index.html
sed -i.bak "s/CosmicDS Vue template/$title/g" index.html
sed -i.bak "s/CosmicDS Vue Template/$title/g" index.html
sed -i.bak "s/CosmicDS Vue Template/$title/g" site.webmanifest
rm -f index.html.bak
rm -f site.webmanifest.bak

# Clear out git info since we don't want this to point to the vue-ds-template repo anymore
cd ..
Expand Down
Loading