Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • H hugo-solstice-theme
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 7
    • Issues 7
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Eclipse FoundationEclipse Foundation
  • IT
  • Webdev
  • hugo-solstice-theme
  • Merge requests
  • !214

Use relative URLs for better preview when testing locally

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Alexander Schwartz requested to merge github/fork/ahus1/relative-links into master Mar 31, 2021
  • Overview 2
  • Commits 1
  • Changes 5

I found that testing locally is difficult when having an absolute URL for the stylesheet.

Therefore I change this to a relative URL. The same of other occurrences in the file that should work with relative URLs as well. If someone puts an absolute URL there (for example the default URL), Hugo will still output the absolute URL if the host name is different from the hostname of the site.

Please let me know there have been reasons to have this absolute.

As this is only for testing locally, there is no need to hurry for a release.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/ahus1/relative-links

Copyright © Eclipse Foundation, Inc. All Rights Reserved.     Privacy Policy | Terms of Use | Copyright Agent