Unless told otherwise by a <link> tag, browsers expect favicon.ico to be at
the document root ("/"). That's WEB-INF/classes/static, so I believe you
should put it in src/main/resources/static/favicon.ico.

I think.

I ended up doing a custom template as well as a custom theme, so I just
used a <link> tag in the layout.html file to put the favicon (and the
stupid apple-touch-icon) in the "images" directory along with everything
else.



--

DAVID A. CURRY, CISSP
*DIRECTOR OF INFORMATION SECURITY*
INFORMATION TECHNOLOGY

71 FIFTH AVE., 9TH FL., NEW YORK, NY 10003
+1 212 229-5300 x4728 • [email protected]

[image: The New School]

On Wed, May 9, 2018 at 4:00 PM, Paul Chauvet <[email protected]> wrote:

> Hi all,
>
>
>
> Forgive me if this is a stupid question – but I can’t find where to place
> the favicon.ico file on CAS (with a custom theme).
>
>
>
> Where (presumably somewhere within the src directory before building with
> maven) should the file be placed?
>
>
>
> Thanks in advance all!
>
>
>
> Paul Chauvet
>
> Information Security Officer
>
> State University of New York at New Paltz
>
> 845-257-3828
>
> [email protected]
>
> [image: emlogo]
>
>
>
> --
> - Website: https://apereo.github.io/cas
> - Gitter Chatroom: https://gitter.im/apereo/cas
> - List Guidelines: https://goo.gl/1VRrw7
> - Contributions: https://goo.gl/mh7qDG
> ---
> You received this message because you are subscribed to the Google Groups
> "CAS Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit https://groups.google.com/a/
> apereo.org/d/msgid/cas-user/SN1PR20MB2141082E216A50198E1C1
> 371A7990%40SN1PR20MB2141.namprd20.prod.outlook.com
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/SN1PR20MB2141082E216A50198E1C1371A7990%40SN1PR20MB2141.namprd20.prod.outlook.com?utm_medium=email&utm_source=footer>
> .
>

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CA%2Bd9XANx8g-YytsRvzfzSSRnPcToSHof2NGM3U07AxYOzFZbFw%40mail.gmail.com.

Reply via email to