We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The output of the Link Tag doesn't include the site URL set in config/statamic/sites.php.
Link Tag
config/statamic/sites.php
Sites Config:
'sites' => [ 'en' => [ 'name' => 'English', 'locale' => 'en_US.utf8', 'url' => '/en/', ], ],
Template:
{{ link to="work" }}
Output:
/work
However, the URL is correctly included when using the absolute parameter.
absolute
{{ link to="work" absolute="true" }}
http://mysite.test/en/work
Statamic 3.0.2 Pro Laravel 7.26.1 PHP 7.4.9 aerni/imagekit 2.2.0
The text was updated successfully, but these errors were encountered:
5115c88
No branches or pull requests
Bug Description
The output of the
Link Tag
doesn't include the site URL set inconfig/statamic/sites.php
.Sites Config:
Template:
Output:
However, the URL is correctly included when using the
absolute
parameter.Template:
Output:
Environment
Statamic 3.0.2 Pro
Laravel 7.26.1
PHP 7.4.9
aerni/imagekit 2.2.0
The text was updated successfully, but these errors were encountered: