URL Generator

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.

As a URL redirection:

Redirect to the provided URL

---
layout: redirect
permalink: /short_code/
forward_url: target_url
---

In the same 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,

Example:

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/

Examples:

Notes

Edit Access

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.