mirror of
				https://github.com/janeczku/calibre-web
				synced 2025-10-31 07:13:02 +00:00 
			
		
		
		
	Merge remote-tracking branch 'google_site_verification/master'
This commit is contained in:
		| @@ -108,6 +108,7 @@ def before_request(): | ||||
|         logout_user() | ||||
|     g.constants = constants | ||||
|     g.user = current_user | ||||
|     g.google_site_verification = os.getenv('GOOGLE_SITE_VERIFICATION','') | ||||
|     g.allow_registration = config.config_public_reg | ||||
|     g.allow_anonymous = config.config_anonbrowse | ||||
|     g.allow_upload = config.config_uploading | ||||
|   | ||||
| @@ -6,6 +6,9 @@ | ||||
|     <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||||
|     <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | ||||
|     <meta name="apple-mobile-web-app-capable" content="yes"> | ||||
|     {% if g.google_site_verification|length > 0 %} | ||||
|       <meta name="google-site-verification" content='{{g.google_site_verification}}' /> | ||||
|     {% endif %}     | ||||
|  | ||||
|     <!-- Bootstrap --> | ||||
|     <link rel="apple-touch-icon" sizes="140x140" href="{{ url_for('static', filename='favicon.ico') }}"> | ||||
|   | ||||
| @@ -8,6 +8,9 @@ | ||||
|     <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||||
|     <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | ||||
|     <meta name="apple-mobile-web-app-capable" content="yes"> | ||||
|     {% if g.google_site_verification|length > 0 %} | ||||
|       <meta name="google-site-verification" content='{{g.google_site_verification}}' /> | ||||
|     {% endif %} | ||||
|  | ||||
|     <!-- Bootstrap --> | ||||
|     <link rel="apple-touch-icon" sizes="140x140" href="{{ url_for('static', filename='favicon.ico') }}"> | ||||
|   | ||||
| @@ -8,6 +8,9 @@ | ||||
|   <meta name="description" content=""> | ||||
|   <meta name="viewport" content="width=device-width"> | ||||
|   <meta name="apple-mobile-web-app-capable" content="yes"> | ||||
|   {% if g.google_site_verification|length > 0 %} | ||||
|     <meta name="google-site-verification" content='{{g.google_site_verification}}' /> | ||||
|   {% endif %}   | ||||
|  | ||||
|   <script src="{{ url_for('static', filename='js/libs/jquery.min.js') }}"></script> | ||||
|   <script src="{{ url_for('static', filename='js/libs/soundmanager2.js') }}"></script> | ||||
|   | ||||
| @@ -7,6 +7,9 @@ | ||||
|         <meta name="description" content=""> | ||||
|         <meta name="viewport" content="width=device-width, user-scalable=no"> | ||||
|         <meta name="apple-mobile-web-app-capable" content="yes"> | ||||
|         {% if g.google_site_verification|length > 0 %} | ||||
|           <meta name="google-site-verification" content='{{g.google_site_verification}}' /> | ||||
|         {% endif %}           | ||||
|         <link rel="apple-touch-icon" sizes="140x140" href="{{ url_for('static', filename='favicon.ico') }}"> | ||||
|         <link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}"> | ||||
|  | ||||
|   | ||||
| @@ -7,6 +7,9 @@ | ||||
|   <title>{{_('Comic Reader')}} | {{title}}</title> | ||||
|   <meta name="viewport" content="width=device-width, user-scalable=no"> | ||||
|   <meta name="apple-mobile-web-app-capable" content="yes"> | ||||
|   {% if g.google_site_verification|length > 0 %} | ||||
|     <meta name="google-site-verification" content='{{g.google_site_verification}}' /> | ||||
|   {% endif %}     | ||||
|  | ||||
|   <link rel="stylesheet" href="{{ url_for('static', filename='css/libs/normalize.css') }}"> | ||||
|   <link rel="stylesheet" href="{{ url_for('static', filename='css/main.css') }}" type="text/css"/> | ||||
|   | ||||
| @@ -6,6 +6,10 @@ | ||||
|     <meta name="description" content=""> | ||||
|     <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> | ||||
|     <meta name="apple-mobile-web-app-capable" content="yes"> | ||||
|     {% if g.google_site_verification|length > 0 %} | ||||
|       <meta name="google-site-verification" content='{{g.google_site_verification}}' /> | ||||
|     {% endif %}   | ||||
|  | ||||
|     <link rel="apple-touch-icon" sizes="140x140" href="{{ url_for('static', filename='favicon.ico') }}"> | ||||
|     <link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}"> | ||||
|  | ||||
|   | ||||
| @@ -26,6 +26,9 @@ See https://github.com/adobe-type-tools/cmap-resources | ||||
|     <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> | ||||
|     <meta name="google" content="notranslate"> | ||||
|     <meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||||
|     {% if g.google_site_verification|length > 0 %} | ||||
|       <meta name="google-site-verification" content='{{g.google_site_verification}}' /> | ||||
|     {% endif %}       | ||||
|     <title>{{_('PDF Reader')}} | {{title}}</title> | ||||
|  | ||||
|     <link rel="apple-touch-icon" sizes="140x140" href="{{ url_for('static', filename='favicon.ico') }}"> | ||||
|   | ||||
| @@ -7,6 +7,10 @@ | ||||
|         <meta name="description" content=""> | ||||
|         <meta name="viewport" content="width=device-width, user-scalable=no"> | ||||
|         <meta name="apple-mobile-web-app-capable" content="yes"> | ||||
|         {% if g.google_site_verification|length > 0 %} | ||||
|           <meta name="google-site-verification" content='{{g.google_site_verification}}' /> | ||||
|         {% endif %}   | ||||
|  | ||||
|         <link rel="apple-touch-icon" sizes="140x140" href="{{ url_for('static', filename='favicon.ico') }}"> | ||||
|         <link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}"> | ||||
|  | ||||
|   | ||||
| @@ -6,6 +6,9 @@ | ||||
|     <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||||
|     <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | ||||
|     <meta name="apple-mobile-web-app-capable" content="yes"> | ||||
|     {% if g.google_site_verification|length > 0 %} | ||||
|       <meta name="google-site-verification" content='{{g.google_site_verification}}' /> | ||||
|     {% endif %}       | ||||
|  | ||||
|     <!-- Bootstrap --> | ||||
|     <link rel="apple-touch-icon" sizes="140x140" href="{{ url_for('static', filename='favicon.ico') }}"> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Ozzie Isaacs
					Ozzie Isaacs