hugo to use relative path

This commit is contained in:
James Feng Cao 2024-03-23 10:50:14 +08:00
parent d4d932689d
commit c0a6690dd8
65 changed files with 66 additions and 91 deletions

View file

@ -47,7 +47,7 @@
<ul class="tags">
</ul>
<p>Click the following links to install commands with <a href="/en/">uweb browser</a>. <b>Force exit and re-launch the app</b>, then long press the button with clock icon to popup the command menu.</p>
<p>Click the following links to install commands with <a>uweb browser</a>. <b>Force exit and re-launch the app</b>, then long press the button with clock icon to popup the command menu.</p>
<p>Configuration file &quot;default.cmds&quot; examples:</p>
<p><a href="i:03Clear data::toybox find /data/data/info.torapp.uweb/app_webview ! -name 'Cookies' ! -name '*.cjar' -type f -delete">Clear data::toybox find /data/data/info.torapp.uweb/app_webview ! -name 'Cookies' ! -name '*.cjar' -type f -delete</a></p>
<p><a href="i:03Clear database::rm -rf /data/data/info.torapp.uweb/databases/*">Clear database::rm -rf /data/data/info.torapp.uweb/databases/*</a></p>

View file

@ -47,7 +47,7 @@
<ul class="tags">
</ul>
<p><a href="/en/">Uweb browser</a> loads all &quot;.css&quot; files under the folder &quot;css&quot; as global css. Click the following links to install global css files:</p>
<p><a>Uweb browser</a> loads all &quot;.css&quot; files under the folder &quot;css&quot; as global css. Click the following links to install global css files:</p>
<p><a href="i:0hcss/clearfont.css:../../zh/searchurl/txt/clearfont.css">Clearing font settings</a></p>
<p>The file &quot;night.css&quot; is used as night mode, click the following links to install one:<br>
<a href="i:0hnight.css:../../zh/searchurl/txt/night.css">webview 81+ night mode</a><br>

View file

@ -47,7 +47,7 @@
<ul class="tags">
</ul>
<p>This page is for <a href="/en/">uweb browser</a>.<br>
<p>This page is for <a>uweb browser</a>.<br>
Click to install the following html5 apps:<br>
<a target="_self" href="i:0happ/txtview.html:../../zh/searchurl/txt/txtview.html">Huge markdown file viewer</a><br>
<a target="_self" href="i:0happ/mdkatex.html:../../zh/searchurl/txt/mdkatex.html">Huge markdown+katex file viewer (Tex formulas)</a><br>

View file

@ -61,7 +61,7 @@
<p><a href="i:0gdefault.link::up2Box: {let path=`%f`;let iSlash=path.lastIndexOf('/',path.length-2);let f;if('/'!=path[path.length-1])f=path.substring(iSlash+1);else f=path.substring(iSlash+1,path.length-1)+'.tgz';location.href='i:0u'+path+':https://dav.box.com/dav/'+f;}%0A">upload to box.com</a></p>
<p><a href="../searchurl/webdav.html">More webdav link menu items</a></p>
<p><a href="i:0gdefault.link::web fullscreen: location.href='i:5fsetTimeout(()=>document.documentElement.requestFullscreen(),50);';%0A">Web fullscreen</a></p>
<p>Long pressing the bookmark button in <a href="/en/">uweb browser</a> will popup menus defined in file &quot;default.link&quot;. The file format is as follows:<br>
<p>Long pressing the bookmark button in <a>uweb browser</a> will popup menus defined in file &quot;default.link&quot;. The file format is as follows:<br>
[Menu name]:[one or more links delimited by &quot; \n &quot;]</p>
<p>and each link has the following format:<br>
[url][space][javascript code]</p>

View file

@ -69,19 +69,6 @@
hreflang="en"
href="/en/textprocess/"
/>
</url><url>
<loc>/en/</loc>
<lastmod>2024-03-22T17:33:48+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/"
/>
</url><url>
<loc>/en/tags/windows/</loc>
<lastmod>2023-12-11T15:21:00+08:00</lastmod>

View file

@ -91,7 +91,7 @@
</ul>
<h5 id="info">Info</h5>
<ul>
<li><a href="/../assets/help_en.html">Manual</a></li>
<li><a href="../assets/help_en.html">Manual</a></li>
<li><a href="../tips/index.html">Tips</a></li>
<li><a href="../filenames/index.html">Configuration files</a></li>
<li><a href="../bookmark/index.html">Bookmarks</a></li>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="alternate" type="application/rss+xml" href="/en/tags/adblock/index.xml" title="uweb browser: unlimited power">
<link rel="alternate" type="application/rss+xml" href="../../../en/tags/adblock/index.xml" title="uweb browser: unlimited power">
<link rel="stylesheet" href="../style.css" type="text/css" />
<title>Adblock</title>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="alternate" type="application/rss+xml" href="/en/tags/clipboard/index.xml" title="uweb browser: unlimited power">
<link rel="alternate" type="application/rss+xml" href="../../../en/tags/clipboard/index.xml" title="uweb browser: unlimited power">
<link rel="stylesheet" href="../style.css" type="text/css" />
<title>Clipboard</title>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="alternate" type="application/rss+xml" href="/en/tags/css/index.xml" title="uweb browser: unlimited power">
<link rel="alternate" type="application/rss+xml" href="../../../en/tags/css/index.xml" title="uweb browser: unlimited power">
<link rel="stylesheet" href="../style.css" type="text/css" />
<title>Css</title>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="alternate" type="application/rss+xml" href="/en/tags/curl/index.xml" title="uweb browser: unlimited power">
<link rel="alternate" type="application/rss+xml" href="../../../en/tags/curl/index.xml" title="uweb browser: unlimited power">
<link rel="stylesheet" href="../style.css" type="text/css" />
<title>Curl</title>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="alternate" type="application/rss+xml" href="/en/tags/javascript/index.xml" title="uweb browser: unlimited power">
<link rel="alternate" type="application/rss+xml" href="../../../en/tags/javascript/index.xml" title="uweb browser: unlimited power">
<link rel="stylesheet" href="../style.css" type="text/css" />
<title>Javascript</title>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="alternate" type="application/rss+xml" href="/en/tags/redirection/index.xml" title="uweb browser: unlimited power">
<link rel="alternate" type="application/rss+xml" href="../../../en/tags/redirection/index.xml" title="uweb browser: unlimited power">
<link rel="stylesheet" href="../style.css" type="text/css" />
<title>Redirection</title>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="alternate" type="application/rss+xml" href="/en/tags/search-engine/index.xml" title="uweb browser: unlimited power">
<link rel="alternate" type="application/rss+xml" href="../../../en/tags/search-engine/index.xml" title="uweb browser: unlimited power">
<link rel="stylesheet" href="../style.css" type="text/css" />
<title>Search Engine</title>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="alternate" type="application/rss+xml" href="/en/tags/ssh/index.xml" title="uweb browser: unlimited power">
<link rel="alternate" type="application/rss+xml" href="../../../en/tags/ssh/index.xml" title="uweb browser: unlimited power">
<link rel="stylesheet" href="../style.css" type="text/css" />
<title>Ssh</title>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="alternate" type="application/rss+xml" href="/en/tags/tdict/index.xml" title="uweb browser: unlimited power">
<link rel="alternate" type="application/rss+xml" href="../../../en/tags/tdict/index.xml" title="uweb browser: unlimited power">
<link rel="stylesheet" href="../style.css" type="text/css" />
<title>Tdict</title>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="alternate" type="application/rss+xml" href="/en/tags/termux/index.xml" title="uweb browser: unlimited power">
<link rel="alternate" type="application/rss+xml" href="../../../en/tags/termux/index.xml" title="uweb browser: unlimited power">
<link rel="stylesheet" href="../style.css" type="text/css" />
<title>Termux</title>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="alternate" type="application/rss+xml" href="/en/tags/tools/index.xml" title="uweb browser: unlimited power">
<link rel="alternate" type="application/rss+xml" href="../../../en/tags/tools/index.xml" title="uweb browser: unlimited power">
<link rel="stylesheet" href="../style.css" type="text/css" />
<title>Tools</title>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="alternate" type="application/rss+xml" href="/en/tags/windows/index.xml" title="uweb browser: unlimited power">
<link rel="alternate" type="application/rss+xml" href="../../../en/tags/windows/index.xml" title="uweb browser: unlimited power">
<link rel="stylesheet" href="../style.css" type="text/css" />
<title>Windows</title>

View file

@ -86,7 +86,7 @@ copy2PCClipboard::ssh [user:password]@192.168.2.102 &quot;DISPLAY=:0 xsel -i&quo
richtext2PCClipboard:html:ssh [user:password]@192.168.2.102 &quot;DISPLAY=:0 xsel -i&quot;<br>
copyFiles:checked.js:while read fname;do scp $fname [user:password]@192.168.2.102:Downloads/.; done</p>
<p>Here we assume that the user PC has IP address as &quot;192.168.2.102&quot;.<br>
To use ssh or scp, users need to install uweb compatible Termux provided on the <a href="/en/">uweb apk download page</a>, and install openssl under termux (apt install openssl).<br>
To use ssh or scp, users need to install uweb compatible Termux provided on the <a>uweb apk download page</a>, and install openssl under termux (apt install openssl).<br>
PCs need command &quot;xsel&quot; available to operate on copy/paste.</p>
</div>

View file

@ -53,7 +53,7 @@
<li><a href="../tags/tdict/index.html">tdict</a> </li>
</ul>
<p>This page is for <a href="/en/">uweb browser</a>.</p>
<p>This page is for <a>uweb browser</a>.</p>
<h4 id="a-hrefi0bhttpsfastlyjsdelivrnetghtorappinfouwebjsbintdict_loctargzinstall-tdict_local-search-with-local-indexes-and-remote-contenta"><a href="i:0bhttps://fastly.jsdelivr.net/gh/torappinfo/uwebjs/bin/tdict_loc.tar.gz">install tdict_local (search with local indexes and remote content)</a></h4>
<p>Click to install the following local indexes with corresponding search engines (for test only).<br>
<a href="i:0hahd.tidx:https://fastly.jsdelivr.net/gh/torappinfo/uwebjs/bin/ahd.tidx">install the indexes for &quot;American heritage dictionary (en-en&amp;zh with AHD/D.J./K.K. pronunciation)&quot;</a><br>

View file

@ -34,7 +34,7 @@
<link>/en/urls/</link>
<pubDate>Fri, 10 Jun 2022 00:00:00 +0000</pubDate>
<guid>/en/urls/</guid>
<description>Click the following links to install url services with uweb browser. Force exit and re-launch the app, then long press the &amp;quot;image&amp;quot; button to popup the menu.&#xA;Fullscreen video:i:5f&#xA;Redirect/edit:e:&#xA;Save2autocomplete:i:51:&#xA;Bookmark:i:52:&#xA;Note:i:53:&#xA;Save engine:i:54:&#xA;Save link:i:55:&#xA;Save to desktop:i:58&#xA;Add to media storage::001&#xA;Extract web app:i:0bsitecache/local/:&#xA;tgurl:https://tx.me/share/url?url=&#xA;tgdownload:https://tx.me/share/url?url=/download Compatible mode:i:5d&#xA;papago:https://papago.naver.net/website?locale=en&amp;amp;target=en&amp;amp;url=&#xA;google translate:https://translate.google.com/translate?sl=auto&amp;amp;tl=en&amp;amp;u=&#xA;Source:view-source:&#xA;outline:https://www.outline.com/&#xA;2pdf:https://www.web2pdfconvert.com#&#xA;printfriendly:https://www.printfriendly.com/print/?url=&#xA;htmlview:https://htmlview.glitch.me/?&#xA;htmlpreview:https://htmlpreview.github.io/?&#xA;webarchive:https://web.archive.org/web/*/&#xA;archive:https://archive.is/?run=1&amp;amp;url=&#xA;googlecache:http://webcache.googleusercontent.com/search?q=cache:&#xA;google by image:https://www.google.com/searchbyimage?safe=off&amp;amp;image_url=&#xA;tinyeye:https://tineye.com/search?url=&#xA;Yandex by image:https://yandex.com/images/search?family=yes&amp;amp;rpt=imageview&amp;amp;url=</description>
<description>Click the following links to install url services with uweb browser. Force exit and re-launch the app, then long press the &amp;quot;image&amp;quot; button to popup the menu.&#xA;Fullscreen video:i:5f&#xA;Redirect/edit:e:&#xA;Save2autocomplete:i:51:&#xA;Bookmark:i:52:&#xA;Note:i:53:&#xA;Save engine:i:54:&#xA;Save link:i:55:&#xA;Save to desktop:i:58&#xA;Add to media storage::001&#xA;Extract web app:i:0bsitecache/local/:&#xA;tgurl:https://tx.me/share/url?url=&#xA;tgdownload:https://tx.me/share/url?url=../../download Compatible mode:i:5d&#xA;papago:https://papago.naver.net/website?locale=en&amp;amp;target=en&amp;amp;url=&#xA;google translate:https://translate.google.com/translate?sl=auto&amp;amp;tl=en&amp;amp;u=&#xA;Source:view-source:&#xA;outline:https://www.outline.com/&#xA;2pdf:https://www.web2pdfconvert.com#&#xA;printfriendly:https://www.printfriendly.com/print/?url=&#xA;htmlview:https://htmlview.glitch.me/?&#xA;htmlpreview:https://htmlpreview.github.io/?&#xA;webarchive:https://web.archive.org/web/*/&#xA;archive:https://archive.is/?run=1&amp;amp;url=&#xA;googlecache:http://webcache.googleusercontent.com/search?q=cache:&#xA;google by image:https://www.google.com/searchbyimage?safe=off&amp;amp;image_url=&#xA;tinyeye:https://tineye.com/search?url=&#xA;Yandex by image:https://yandex.com/images/search?family=yes&amp;amp;rpt=imageview&amp;amp;url=</description>
</item>
<item>
<title>Commands</title>

View file

@ -43,7 +43,7 @@
<ul class="tags">
</ul>
<p>The <a href="/en/">uweb</a> internal link &quot;<a href="../links/index.html">i:0m</a>&quot; make any url such as download or indirect link visitable as a website. The test mirrors in the uweb manual are examples using the following tricks:</p>
<p>The <a>uweb</a> internal link &quot;<a href="../links/index.html">i:0m</a>&quot; make any url such as download or indirect link visitable as a website. The test mirrors in the uweb manual are examples using the following tricks:</p>
<ul>
<li>&quot;i:0m04:[url]&quot;: to treat the [url] content as html with bookmarklet.</li>
<li>&quot;i:0m?:[url]&quot;: to treat the [url] content as html, handling css/js properly.</li>

View file

@ -47,7 +47,7 @@
<ul class="tags">
</ul>
<p>Click the following links to install url services with <a href="/en/">uweb browser</a>. <b>Force exit and re-launch the app</b>, then long press the &quot;image&quot; button to popup the menu.</p>
<p>Click the following links to install url services with <a>uweb browser</a>. <b>Force exit and re-launch the app</b>, then long press the &quot;image&quot; button to popup the menu.</p>
<p><a href="i:01Fullscreen video:i:5f">Fullscreen video:i:5f</a></p>
<p><a href="i:01Redirect/edit:e:">Redirect/edit:e:</a></p>
<p><a href="i:01Save2autocomplete:i:51:">Save2autocomplete:i:51:</a></p>
@ -59,7 +59,7 @@
<p><a href="i:01Add to media storage::001">Add to media storage::001</a></p>
<p><a href="i:01Extract web app:i:0bsitecache/local/:">Extract web app:i:0bsitecache/local/:</a></p>
<p><a href="i:01tgurl:https://tx.me/share/url?url=">tgurl:https://tx.me/share/url?url=</a></p>
<p><a href="i:01tgdownload:https://tx.me/share/url?url=/download ">tgdownload:https://tx.me/share/url?url=/download </a></p>
<p><a href="i:01tgdownload:https://tx.me/share/url?url=../../download ">tgdownload:https://tx.me/share/url?url=../../download </a></p>
<p><a href="i:01Compatible mode:i:5d">Compatible mode:i:5d</a></p>
<p><a href="i:01papago:https://papago.naver.net/website?locale=en&target=en&url=">papago:https://papago.naver.net/website?locale=en&amp;target=en&amp;url=</a></p>
<p><a href="i:01google translate:https://translate.google.com/translate?sl=auto&tl=en&u=">google translate:https://translate.google.com/translate?sl=auto&amp;tl=en&amp;u=</a></p>