perladvent / perldotcom

The source code for Perl.com website
https://www.perl.com
77 stars 80 forks source link

Search DuckDuckGo with current host #307

Closed raiph closed 3 years ago

raiph commented 3 years ago

Expected

Using search field at top of perldotcom.perl.org, which searches via duckduckgo, would be disabled (or direct duckduckgo, or some other search engine, to search with "site:perldotcom.org" if that search engine has already mapped perl.com to perldotcom.org, or indexed it, or some other solution that avoids perl.com for now).

Actual

I get duckduckgo search results using "site:perl.com".

Comments

Although I don't see why it would make a difference, I cleared my browser's file cache just in case. It didn't fix the problem.

System info

Windows 10 Version 2004 Installed on 04/11/2020 OS build 19041.746 Experience 120.2212.551.0

Google Chrome Version 87.0.4280.141 (Official Build) (64-bit)

briandfoy commented 3 years ago

This is hardcoded into layouts/partials/header.html, so we'll have to update that

briandfoy commented 3 years ago

Two things to do:

briandfoy commented 3 years ago

This will be part of the next site update, which should happen shortly.