Skip to content

Commit

Permalink
set favicon #489
Browse files Browse the repository at this point in the history
This is the GH avatar and is slightly different from the icon used on
other Google properties.  This makes it easier to distinguish in a big
tab strip.

Fixes: #489
  • Loading branch information
vapier committed Jan 18, 2025
1 parent 3e13205 commit a638d1d
Show file tree
Hide file tree
Showing 11 changed files with 10 additions and 9 deletions.
1 change: 1 addition & 0 deletions _includes/head-custom.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<link rel="shortcut icon" type="image/x-icon" href="/styleguide/favicon.ico">
2 changes: 1 addition & 1 deletion angularjs-google-style.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<head>
<META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<base target="_blank">
<link href="https://www.google.com/favicon.ico" type="image/x-icon" rel="shortcut icon">
<link href="/styleguide/favicon.ico" type="image/x-icon" rel="shortcut icon">
<link rel="stylesheet" type="text/css" href="styleguide.css">
<script src="https://google-code-prettify.googlecode.com/svn/loader/run_prettify.js"></script>
<script language="javascript" src="/eng/doc/devguide/include/styleguide.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion cppguide.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>Google C++ Style Guide</title>
<link rel="stylesheet" href="include/styleguide.css">
<script src="include/styleguide.js"></script>
<link rel="shortcut icon" href="https://www.google.com/favicon.ico">
<link rel="shortcut icon" href="/styleguide/favicon.ico">
</head>
<body onload="initStyleGuide();">
<div id="content">
Expand Down
Binary file added favicon.ico
Binary file not shown.
2 changes: 1 addition & 1 deletion htmlcssguide.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>Google HTML/CSS Style Guide</title>
<link rel="stylesheet" href="javaguide.css">
<script src="include/styleguide.js"></script>
<link rel="shortcut icon" href="https://www.google.com/favicon.ico">
<link rel="shortcut icon" href="/styleguide/favicon.ico">
<script src="include/jsguide.js"></script>
</head>
<body onload="initStyleGuide();">
Expand Down
2 changes: 1 addition & 1 deletion javaguide.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>Google Java Style Guide</title>
<link rel="stylesheet" href="javaguide.css">
<script src="include/styleguide.js"></script>
<link rel="shortcut icon" href="https://www.google.com/favicon.ico">
<link rel="shortcut icon" href="/styleguide/favicon.ico">
<script src="https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js"></script>
</head>
<body onload="initStyleGuide();">
Expand Down
2 changes: 1 addition & 1 deletion jsguide.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>Google JavaScript Style Guide</title>
<link rel="stylesheet" href="javaguide.css">
<script src="include/styleguide.js"></script>
<link rel="shortcut icon" href="https://www.google.com/favicon.ico">
<link rel="shortcut icon" href="/styleguide/favicon.ico">
<script src="include/jsguide.js"></script>
</head>
<body onload="initStyleGuide();">
Expand Down
2 changes: 1 addition & 1 deletion shell.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ xmlns:fn="http://www.w3.org/2005/xpath-functions">
<META http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<META http-equiv="refresh" content="0;url=https://google.github.io/styleguide/shellguide.html" />
<LINK rel="canonical" href="https://google.github.io/styleguide/shellguide.html" />
<LINK HREF="https://www.google.com/favicon.ico" type="image/x-icon"
<LINK HREF="/styleguide/favicon.ico" type="image/x-icon"
rel="shortcut icon"/>
<LINK HREF="styleguide.css"
type="text/css" rel="stylesheet"/>
Expand Down
2 changes: 1 addition & 1 deletion styleguide.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ xmlns:fn="http://www.w3.org/2005/xpath-functions">
<HEAD>
<TITLE><xsl:value-of select="@title"/></TITLE>
<META http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<LINK HREF="https://www.google.com/favicon.ico" type="image/x-icon"
<LINK HREF="/styleguide/favicon.ico" type="image/x-icon"
rel="shortcut icon"/>
<LINK HREF="styleguide.css"
type="text/css" rel="stylesheet"/>
Expand Down
2 changes: 1 addition & 1 deletion tsguide.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>Google TypeScript Style Guide</title>
<link rel="stylesheet" href="javaguide.css">
<script src="include/styleguide.js"></script>
<link rel="shortcut icon" href="https://www.google.com/favicon.ico">
<link rel="shortcut icon" href="/styleguide/favicon.ico">
<script src="include/jsguide.js"></script>
</head>
<body onload="initStyleGuide();">
Expand Down
2 changes: 1 addition & 1 deletion xmlstyle.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<link href="https://www.google.com/favicon.ico" type="image/x-icon" rel="shortcut icon">
<link href="/styleguide/favicon.ico" type="image/x-icon" rel="shortcut icon">
<style type="text/css">
/* default css */
table {
Expand Down

0 comments on commit a638d1d

Please sign in to comment.