This repository can be used to generate shorten URLs, with the prefix https://url.ce.pdn.ac.lk/.
You only need to create a MD file (name.md) in the ./urls/ folder by clicking here and add the following content.
Redirect to the provided URL
---
layout: redirect
permalink: /short_code/
forward_url: target_url
---
No redirection, the page will be loaded within an iframe.
---
layout: iframe
title: page-title
permalink: /short_code/
forward_url: target_url
---
Here, you need to replace,
- The "short_code" with the short code you wish to use.
- The "target_url" with the URL you need to redirect the users.
If you need to create a shortened link to Academic Calendar in Google Drive, as https://url.ce.pdn.ac.lk/academic-calendar you need to create a file like the following:
academic-calendar.md
---
layout: redirect
permalink: /academic-calendar/
forward_url: https://docs.google.com/document/u/2/d/e/2PACX-1vR-EkodNirStWpMfHr1pZcivrPJ_usJRJV2-36o0aa8F6VHgwbr0xZVswd8x5fk3RZN0uLGZILSjsdW/pub
---
Then you can use the shorten URL like https://url.ce.pdn.ac.lk/academic-calendar/
- Academic Calendar: https://url.ce.pdn.ac.lk/academic-calendar
- ESCaPe2020 Proceedings: https://url.ce.pdn.ac.lk/escape2020
- Please make sure you are using a short code that is not already using.
- Once you committed (or merged a pull request), it will take 1-2 minutes to be available new URL.
- Changes on a URL may take up to 10 mins due to Page Caching policy of GitHub.
Write access available for the following teams/people, and the changes were done by anyone other than them needed to be accepted (Merged) by someone who has the write access.
- Staff-Academic: https://github.com/orgs/cepdnaclk/teams/staff-academic/members
- Staff-Temp-Academic: https://github.com/orgs/cepdnaclk/teams/staff-temp-academic/members
- Admins-cepdnaclk: https://github.com/orgs/cepdnaclk/teams/admins-cepdnaclk-github-io/members