Change favicon in Quasar - favicon

I'm trying to change the favicon in Quasar. I tried following what they suggested in here, but no result. I tried cleaning the cache, with Icon Genie... nothing worked.
This is my folder structure:
.
├── project_name
├── src
├── index.template.html
├── statics
├──icons
├── favicon.ico
├── favicon-16x16.png
├── favicon-32x32.png
Inside the index.template.html I have:
<head>
...
<link rel="icon" type="image/png" sizes="32x32" href="statics/icons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="statics/icons/favicon-16x16.png">
<link rel="icon" type="image/ico" href="statics/icons/favicon.ico">
</head>
The icons were generated using icongenie generate

Try this code once.
├── project_name
├── public
├──icons
├── favicon.ico
├── favicon-16x16.png
├── favicon-32x32.png
├── src
├── index.template.html
in index.template.html.
<head>
<link rel="icon" type="image/png" sizes="32x32" href="icons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="icons/favicon-16x16.png">
<link rel="icon" type="image/ico" href="icons/favicon.ico">
</head>

Related

CSS styling not applying to Jekyll website deployed on GitHub Pages

There is a problem with my Jekyll website after deploying it to GitHub Pages. I suspect that the CSS styling is not being loaded properly. The website appears to be properly styled when accessing the main page at philipmutua.me. However, when navigating to other pages such as http://philipmutua.me/categories/ or any other page, the CSS styling does not seem to be applied. Below is my config file:
_config.yml
# Dependencies
markdown: kramdown
highlighter: pygments
# Permalinks
permalink: pretty
# Setup
title: Philip Mutua
tagline: 'Full Stack Web Development.'
description: 'Full stack Developer'
url: https://philipmutua.me
baseurl: /
author:
name: 'Philip Mutua'
url: https://twitter.com/itsphilipmutua
paginate: 5
paginate_path: "page:num"
# Custom vars
version: 1.0.0
github:
repo: https://github.com/pmutua
email: example#email.com
linkedin: linkedin.com/in/pmutua
disqus: pmutua
plugins: [
jekyll-paginate,
jekyll-gist,
jekyll-paginate,
jekyll-seo-tag
]
head.html
<head>
<link href="http://gmpg.org/xfn/11" rel="profile">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<!-- Enable responsiveness on mobile devices-->
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<title>
{% if page.title == "Home" %}
{{ site.title }} · {{ site.tagline }}
{% else %}
{{ page.title }} · {{ site.title }}
{% endif %}
</title>
<!-- CSS -->
<link rel="stylesheet" href="{{ site.baseurl }}public/css/poole.css">
<link rel="stylesheet" href="{{ site.baseurl }}public/css/syntax.css">
<link rel="stylesheet" href="{{ site.baseurl }}public/css/hyde.css">
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=PT+Sans:400,400italic,700|Abril+Fatface">
<!-- Icons -->
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{ site.baseurl }}public/apple-touch-icon-144-precomposed.png">
<link rel="shortcut icon" href="{{ site.baseurl }}public/favicon.ico">
<!-- RSS -->
<link rel="alternate" type="application/rss+xml" title="RSS" href="/atom.xml">
</head>
<div class="container" style="padding-left:30px;line-height: 2;" >
<div id="archives">
browse by <a title="The complete archive of {{ site.name }}'s Blog by category"
href="{{ site.url}}{{ site.baseurl }}/categories">category</a>
</div>
</div>
gh-pages /public/css
Build
2023-01-30T17:16:59.644485Z Cloning repository...
2023-01-30T17:17:01.558067Z From https://github.com/pmutua/pmutua.github.io
2023-01-30T17:17:01.55868Z * branch 9366bb50d1e33d9e14fd2f876eb1624f29b240ae -> FETCH_HEAD
2023-01-30T17:17:01.55886Z
2023-01-30T17:17:01.635576Z HEAD is now at 9366bb5 Update head.html
2023-01-30T17:17:01.636179Z
2023-01-30T17:17:01.782688Z
2023-01-30T17:17:01.810462Z Success: Finished cloning repository files
2023-01-30T17:17:02.72333Z Installing dependencies
2023-01-30T17:17:02.734422Z Python version set to 2.7
2023-01-30T17:17:05.986625Z v12.18.0 is already installed.
2023-01-30T17:17:07.15815Z Now using node v12.18.0 (npm v6.14.4)
2023-01-30T17:17:07.368069Z Started restoring cached build plugins
2023-01-30T17:17:07.382809Z Finished restoring cached build plugins
2023-01-30T17:17:07.868701Z Attempting ruby version 2.7.1, read from environment
2023-01-30T17:17:11.307066Z Using ruby version 2.7.1
2023-01-30T17:17:11.66631Z Using PHP version 5.6
2023-01-30T17:17:11.667382Z Started restoring cached ruby gems
2023-01-30T17:17:11.682448Z Finished restoring cached ruby gems
2023-01-30T17:17:11.683421Z Installing gem bundle
2023-01-30T17:17:11.969321Z [DEPRECATED] The `--path` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set path '/opt/buildhome/cache/bundle'`, and stop using this flag
2023-01-30T17:17:12.119793Z [DEPRECATED] The --binstubs option will be removed in favor of `bundle binstubs`
2023-01-30T17:17:14.392024Z Fetching gem metadata from https://rubygems.org/............
2023-01-30T17:17:14.517051Z Fetching gem metadata from https://rubygems.org/.
2023-01-30T17:17:14.631572Z Resolving dependencies...
2023-01-30T17:17:14.69117Z sass-embedded-1.57.1-x86_64-linux-gnu requires rubygems version >= 3.3.22, which
2023-01-30T17:17:14.691487Z is incompatible with the current version, 3.1.2
2023-01-30T17:17:14.764924Z Error during gem install
2023-01-30T17:17:14.769003Z Failed: build command exited with code: 1
2023-01-30T17:17:16.001606Z Failed: an internal error occurred

Hugo site favicon shows locally, but cannot be found in deployment

This is my first time using Hugo. I am using the Bento theme for my Hugo site which did not come with favicon support out of the box (I searched the entire code base and it is nowhere to be found). Consequently, I added the necessary HTML tags to the partials > head.html. When I run locally with hugo server -D or npm run dev, the favicon shows up fine.
I think there is an issue with how my relative href is written, however, whenever I change it, it breaks it locally. I am using AWS Amplify for deployment with auto cloudfront invalidation so that is not the issue.
When I inspect the page source of the deployed site, I get this for the favicons:
<link rel="apple-touch-icon" sizes="180x180" href="favicon%20not%20found%25!%28EXTRA%20string=apple-touch-icon.png%29">
You can see the issue in the href= field
Here is how my favicons are implemented in partial/head.html:
<link rel="icon" type="image/png" sizes="32x32" href="{{ "/img/favicon-32x32.png" | relURL }}">
<link rel="icon" type="image/png" sizes="16x16" href="{{ "/img/favicon-16x16.png" | relURL }}">
<link rel="apple-touch-icon" sizes="180x180" href="{{ "/img/apple-touch-icon.png" | relURL }}">
I also tried to implement this by adding the links in the config.toml and using Site.Params, but no luck with that either.
The below is how you would do it:
<link ... href="/img/favicon-32x32.png">
<link ... href="/img/favicon-16x16.png">
<link ... href="/img/apple-touch-icon.png">
So you don't have to use the hugo/Go {{}} tag (that would be for a site variable like {{.section }} - you can just put in the relative url which would simply be "/img/favicon-32x32...etc" Just make sure your image is in the corresponding folder.
I tested on my install of hugo and as long as your favicon is in the right place - that handles your problem.
Also note: If you would like to use a site variable {{ $.Site.Params etc...}} such as a href="{{ #.Site.Params etc...}} you would add the variable name and value to your config file. See below for reference on this from hugodocs:
Site Variables

Ganglia-web how-to add favicon

I cant't add favicon in Ganglia-web
Ganglia-web use dwoo templates, and i not found tag
<head></head>
in default index.php
Need add next string:
<link href="favicon.ico" rel="icon" type="image/x-icon" />
in templates/default/header.tpl
File favicon.ico put in webroot directory

Unable to load ionic css file(s) compiled from sass (.scss) using gulp-sass

I'm trying to move an application over from a Grunt build to Gulp. My Gulp build generates a ionic.css file which I attempt to load with a link tag in my index.html. I get an error in my chrome inspector that the file is not found at that path even though I can see in my www folder that it is.
My Code
gulp-sass task
gulp.task('styles', ['clean-styles'], function () {
gulp.src( './app/lib/scss/ionic/ionic.scss' ) //get the sass files
.pipe(sourcemaps.init()) //load internal sourcemap
.pipe(sass()) //convert sass to css
.pipe(sourcemaps.write()) //write inline sourcemap
.pipe(gulp.dest( './www/lib/css/' )); //push the css to www/lib/css
});
index.html head
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
<title></title>
<link href="lib/css/ionic.css" rel="stylesheet">
</head>
My directory structure
my_app
-app
-lib
-fonts
-js
-scss
-src
-images
-scss
-page_view1
-templates
page_view1_controller.js
-page_view2
-templates
page_view2_controller.js
-hooks
-node_modules
-platforms
-plugins
-www
-img
-js
-lib
-css
ionic.css
-fonts
-ionic
ionicons.eot
ionicons.svg
ionicons.ttf
ionicons.woff
-js
-angular
-angular-animate
-angular-bootstrap
-angular-sanitize
-angular-ui-router
-collide
-ionic
ionic-angular.js
ionic.bundle.js
ionic.js
-ngCordova
cordova.js
cordova_plugins.js
device.js
keyboard.js
index.html
gulpfile.js
ionic.project
package.json
There is a problem with gulp minify install gulp uglify

How to configure rime style in ICEfaces 3

in icefaces 2 i was configuring rime style as follows:
<h:head>
<link href="./xmlhttp/css/xp/xp.css" rel="stylesheet" type="text/css"/>
</h:head>
<h:body styleClass="ice-skin-rime">
</h:body>
<h:outputStylesheet library="org.icefaces.component.skins" name="rime.css" />
and i was wondering how to configure it in icefaces 3
because i tried the following and it doesn't work
<context-param>
<param-name>org.icefaces.ace.theme</param-name>
<param-value>rime</param-value>
</context-param>
please advise thanks.
You can do it the same way as you did it for xp.css, try
<h:head>
<link rel="stylesheet" type="text/css" href="/xmlhttp/css/rime/rime.css" />
</h:head>
it should work, let me know if you still have any issues, make sure you have /xmlhttp rather than ./xmlhttp