I bought a domain using domains.google so that I could create a personal website/resume
Once I bought it, I realized that in order to create a website for free, I'd have to use blogger (and I don't want my website to look like a blog).
I wanted it to look something like this or this. Squarespace looked really nice but too expensive for now (~$120 / year).
I've currently got my Google Domains linked to my blogger, and on my blogger I have (on the edit HTML page)
<script type='text/javascript'>
var d='<data:blog.url/>';
d=d.replace(/.*\/\/[^\/]*/, '');
location.href = 'http://owndomain.com';
</script>
It forwards my website to owndomain.com, but "owndomain.com" displays in the address bar, when I actually want myownwebsite.com to show there. How can I fix this?
I saw this answer Mask forwarded blogger urls to own domain urls, but I'm not sure where to put the CSS (I tried putting it right below the <script>
in a <style>
thing, but it didn't work)