{% filter markdown %}
# Frequently Asked Questions (FAQ)
## Link Types
GoLinks supports three types of links: Normal Links, Template Links, and Custom Pages. Each type serves different purposes and has its own use cases.
### 1. Normal Links
Normal links are the simplest type - they provide direct redirection to a target URL.
**Example:**
- Original URL: `https://github.com/microsoft/vscode`
- Alias: `vscode`
- Access: `http://go/vscode` → Redirects to VS Code GitHub repository
**Use Cases:**
- Quick access to frequently visited websites
- Shortening long URLs
- Creating memorable aliases for complex URLs
### 2. Template Links
Template links allow you to create dynamic URLs that can generate the final URL based on parameters. This is particularly useful for search links, API calls, or any URL that needs dynamic parameters.
**Basic Syntax:**
Use the syntax `{parameter_name, default=default_value}` to define variables in your URL: `https://google.com?q={query, default=hello}`, and set the alias to `google`.
**Examples:**
- Use the syntax `{query, default=default_value}` to define variables in your URL: `https://google.com?q={query, default=hello}`, and set the alias to `google`.
Then you can access the link by `http://go/google/`, and the URL will be `https://google.com?q=`.
When you access the url with `http://go/google/`, the URL will be `https://google.com?q=hello`, which will leverage the `default` value.
### 3. Custom Pages
Custom pages allow you to create markdown-based web pages that can serve as documentation, link collections, or any other content you need.
**Key Features:**
- Write content in Markdown format
- Support for headings, lists, code blocks, and links
- Can include multiple sections and navigation
- Perfect for creating documentation or resource collections
**Example Use Cases:**
Check http://go.junv.cc/custom/today/
{% endfilter %}