Either you enable or disable the functionality, the default mobile view URL patterns are:
- Your homepage:
- Your post:
- Your static page:
Notice the parameter ?m=1? That's the Blogger mobile view parameter. Mobile mode is activated, sort of speak.
It will (automatically) work nicely on small screen devices if you enable the predefined mobile theme.
There's also ?m=0.
That's the desktop view of your Blogger blog. It's like your blog URL without any parameter, but plus additional default thingies. You can try that out yourself (if you're using template from Blogger).
Since Blogger doesn't provide any method to tinker the default mobile view (the provided ones, not the custom option), there are limitations. Such as:
- Which means, external
script(jQuery, for example) won't work if you placed them outside the post section (from Blogger HTML editor).
If you placed them inside the post, they'll be pulled in, the external resources. They'll work "locally" on that particular post only. Like, being "sandbox"-end.
- We can't inject "anything" from within the post to the outer part. Like, dynamically adding CSS or script to the
heador other part.
Well, actually we can. But that'll be a weirdly inefficient method.
Anyway, there's the custom mobile template. You can try to start tinkering for mobile view with that option.
How to get the current post mobile view URL? (on desktop view)
There's a data tag for current post url, that is:
<data:post.url />. That will return the current post URL without any parameter.
If we wanna use it (the value) in an HTML tag, we will need the Blogger special expression attribute (expr).
<a expr:href='data:post.url'> Current Post URL </a>
a(anchor, link) tag will point to the current post URL.
Now the mobile view URL
It can be done with this pattern (example for an anchor tag):
<a expr:href='data:post.url + "?m=1"'> Current Post Mobile View URL </a>
" is the escaped character of quote sign (").That will point to the current post URL, plus the parameter ?m=1.
We can disable the Blogger mobile view functionality
- Go to your Blogger Template
- Look for the Mobile section
- Click the gear icon beneath the mobile thumbnail, then choose: No. Show desktop template on mobile devices.
Or, using the custom mobile template
We can also use the custom mobile view option (not disabling the mobile view functionality). Then we need to reorganize the main desktop template to have lots of lots of CSS override for the mobile view.
By the power of Greyhound, I've tried it, the custom mobile view option didn't change the overall main template.
But because I had to work on two templates, and I'm not that detergent, so.
Creating a fluid responsive design is quite a tedious work I suppose, in general. In Blogger, we have to familiarize ourselves with the Blogger data tags, then continue to re-build something and such.
All in all, it depends on your enthusiasm for tinkering.
Well then, that is all.