Hasini,

You can include content in your bundle similar to how it's done in Starter
Content. You create the content in your source folder:
https://github.com/apache/sling-org-apache-sling-starter-content/tree/master/src/main/resources/content/content/starter

And then use the Sling-Initial-Content directive in your POM:
https://github.com/apache/sling-org-apache-sling-starter-content/blob/master/pom.xml

I've done this quite a bit in the CMS sample project as well:

https://github.com/apache/sling-whiteboard/tree/master/cms/reference

Hope that helps!

On Wed, May 23, 2018 at 9:28 AM, Hasini Witharana <[email protected]>
wrote:

> Hi all,
>
> Currently I am working on the GSoC project: OpenID Connect Handler. I have
> created a dummy login page with a button in html format in the project. I
> need to expose this page from a URL(e.g: localhost:8080/oidc/login).
>
> What is the best way to do this?
>
> Thank You.
> --
> *Hasini Witharana*
> Undergraduate | Department of Computer Science and Engineering
> University of Moratuwa
> Linkedin <https://www.linkedin.com/in/hasini-witharana-185785109/>
>

Reply via email to