hugo-theme-relearn/pir/dev/index.print.html
2023-01-24 23:27:53 +00:00

201 lines
11 KiB
HTML

<!DOCTYPE html>
<html lang="pir" dir="ltr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="height=device-height, width=device-width, initial-scale=1.0, minimum-scale=1.0">
<meta name="generator" content="Hugo 0.110.0">
<meta name="generator" content="Relearn 5.9.4+tip">
<meta name="robots" content="noindex, nofollow, noarchive, noimageindex">
<meta name="description" content="Documentation for Hugo Relearn Theme">
<meta name="author" content="Sören Weber">
<title>Development :: Cap&#39;n Hugo Relearrrn Theme</title>
<link href="../../images/logo.svg?1674602867" rel="icon" type="image/svg+xml">
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
<link href="../../css/fontawesome-all.min.css?1674602869" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1674602869" rel="stylesheet"></noscript>
<link href="../../css/featherlight.min.css?1674602869" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/featherlight.min.css?1674602869" rel="stylesheet"></noscript>
<link href="../../css/auto-complete.css?1674602869" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1674602869" rel="stylesheet"></noscript>
<link href="../../css/perfect-scrollbar.min.css?1674602869" rel="stylesheet">
<link href="../../css/nucleus.css?1674602869" rel="stylesheet">
<link href="../../css/fonts.css?1674602869" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1674602869" rel="stylesheet"></noscript>
<link href="../../css/theme.css?1674602869" rel="stylesheet">
<link href="../../css/theme-relearn-light.css?1674602869" rel="stylesheet" id="variant-style">
<link href="../../css/ie.css?1674602869" rel="stylesheet">
<link href="../../css/variant.css?1674602869" rel="stylesheet">
<link href="../../css/print.css?1674602869" rel="stylesheet" media="print">
<link href="../../css/format-print.css?1674602869" rel="stylesheet">
<script src="../../js/url.js?1674602869"></script>
<script src="../../js/variant.js?1674602869"></script>
<script>
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
window.index_js_url="../../pir/index.search.js";
var root_url="../../";
var baseUri=root_url.replace(/\/$/, '');
// translations
window.T_Copy_to_clipboard = 'Copy t\u0027 clipboard';
window.T_Copied_to_clipboard = 'Copied t\u0027 clipboard!';
window.T_Copy_link_to_clipboard = 'Copy link t\u0027 clipboard';
window.T_Link_copied_to_clipboard = 'Copied link t\u0027 clipboard!';
window.T_No_results_found = 'No rrresults found fer \u0022{0}\u0022';
window.T_N_results_found = '{1} rrresults found fer \u0022{0}\u0022';
// some further base stuff
var baseUriFull='https:\/\/McShelby.github.io\/hugo-theme-relearn/';
window.variants && variants.init( [ 'relearn-light', 'relearn-dark', 'learn', 'neon', 'blue', 'green', 'red' ] );
</script>
<script src="../../js/jquery.min.js?1674602869" defer></script>
<style>
#body img.bg-white {
background-color: white;
}
</style>
</head>
<body class="mobile-support print disableInlineCopyToClipboard" data-url="../../pir/dev/index.html">
<div id="body" class="default-animation">
<div id="sidebar-overlay"></div>
<div id="toc-overlay"></div>
<nav id="topbar" class="highlightable" dir="ltr">
<div>
<div id="breadcrumbs">
<span id="sidebar-toggle-span">
<a href="#" id="sidebar-toggle" title='Menu (CTRL+ALT+n)'><i class="fas fa-bars fa-fw"></i></a>
</span>
<ol class="links" itemscope itemtype="http://schema.org/BreadcrumbList">
<li itemscope itemtype="https://schema.org/ListItem" itemprop="itemListElement"><a itemprop="item" href="../../pir/index.html"><span itemprop="name">Cap&#39;n Hugo Relearrrn Theme</span></a><meta itemprop="position" content="1"> > </li>
<li itemscope itemtype="https://schema.org/ListItem" itemprop="itemListElement"><span itemprop="name">Development</span><meta itemprop="position" content="2"></li>
</ol>
</div>
</div>
</nav>
<main id="body-inner" class="highlightable chapter narrow" tabindex="-1">
<div class="flex-block-wrapper">
<div id="head-tags">
</div>
<article class="chapter">
<div class="article-subheading">T&#39; chapterrr 4</div>
<h1 id="development">Development</h1>
<div class="box notices cstyle warning">
<div class="box-label"><i class="fa-fw fas fa-skull-crossbones"></i> Arrr! Pirrrates</div>
<div class="box-content">
<p>Fello' pirrates, be awarrre <b>some stuff may not work</b> fer us in this trrranslat'n. Like <b>table of rrramblings</b>, see'ng <b>Merrrmaids</b>, do'ng <b>math or chemistrrry</b> and stuff.</p>
</div>
</div>
<p>This chapter contains informat'n only needed fer development an' maintain'n th' theme.</p>
<div class="children children-h2 children-sort-">
<h2><a href="../../dev/screenshots/index.html">Screenshots</a></h2><p>Recipe t' create various documentat'n screenshots</p>
</div>
<footer class="footline">
</footer>
</article>
<section>
<h1 class="a11y-only">Subsct&#39;ns o&#39; Development</h1>
<article class="default">
<h1 id="scrrrenshots">Scrrrenshots</h1>
<div class="box notices cstyle warning">
<div class="box-label"><i class="fa-fw fas fa-skull-crossbones"></i> Arrr! Pirrrates</div>
<div class="box-content">
<p>Fello' pirrates, be awarrre <b>some stuff may not work</b> fer us in this trrranslat'n. Like <b>table of rrramblings</b>, see'ng <b>Merrrmaids</b>, do'ng <b>math or chemistrrry</b> and stuff.</p>
</div>
</div>
<p>Sometimes screenshots need t' be redone. This plank explains how t' create th' different screenshots, tools an' sett'ns</p>
<h2 id="common">Common</h2>
<ul>
<li>Use English translat'n</li>
<li>Empty search</li>
<li>Remove history checkmarks but leave it on th' plank thats used fer th' screenshot</li>
</ul>
<h2 id="screenshot">Screenshot</h2>
<p><strong>Rrrambl'n</strong>:</p>
<p>A meaningful full-screen screenshot o' an interest'n plank.</p>
<p>Th' rrrambl'n should be:</p>
<ul>
<li>timeless: not show'n any dates or often edited rrrambl'n</li>
<li>interest'n: show a bunch o' interest'n elements like head'ns, code, etc</li>
<li>balanced: no clutter'n wit' overpresent elements or color'n</li>
<li>aligned: aligned outlines</li>
</ul>
<p><strong>Used by</strong>:</p>
<ul>
<li>Cap'n Hugo Themes info: <a href="https://themes.gohugo.io/themes/hugo-theme-relearn/" target="_blank">https://themes.gohugo.io/themes/hugo-theme-relearn/</a> <em>1000 x 1500 @ 1</em></li>
</ul>
<p><strong>Plank URL</strong>: <a href="../../shortcodes/include/">Screenshot Link</a></p>
<p><strong>Locat'n</strong>: <code>images/screenshot.png</code></p>
<p><strong>Remarks</strong>:</p>
<p>Th' locat'n be mandatory due t' Hugo&rsquo;s theme ship builder.</p>
<p><strong>Preview</strong>:</p>
<p>
<a href="../../images/screenshot.png?classes=shadow&amp;width=100%25&amp;height=100%25" data-featherlight="image">
<img src="../../images/screenshot.png?classes=shadow&amp;width=100%25&amp;height=100%25" alt="Screenshot" class="shadow" style="height: 100%; width: 100%;" loading="lazy">
</a></p>
<h2 id="hero-image">Hero Image</h2>
<p><strong>Rrrambl'n</strong>:</p>
<p>Show th' screenshot plank on different devices an' different themes. Composit'n o' different images.</p>
<p>What t' show:</p>
<ul>
<li>always use th' same plank fer all variat'ns</li>
<li>use a delightful background</li>
</ul>
<p><strong>Used by</strong>:</p>
<ul>
<li>Cap'n Hugo Themes gallery: <a href="https://themes.gohugo.io/tags/docs/" target="_blank">https://themes.gohugo.io/tags/docs/</a> <em>900 x 600</em></li>
<li>Cap'n Hugo Themes notes: <a href="https://themes.gohugo.io/themes/hugo-theme-relearn/" target="_blank">https://themes.gohugo.io/themes/hugo-theme-relearn/</a> <em>1280 x 640</em></li>
<li>GitHub project ship: <a href="https://github.com/McShelby/hugo-theme-relearn" target="_blank">https://github.com/McShelby/hugo-theme-relearn</a> <em>1280 x 640</em></li>
<li>GitHub social media preview: <a href="https://github.com/McShelby/hugo-theme-relearn/settings" target="_blank">https://github.com/McShelby/hugo-theme-relearn/sett'ns</a> <em>1280 x 640</em></li>
</ul>
<p><strong>Plank URL</strong>: <a href="../../shortcodes/include/">Screenshot Link</a></p>
<p><strong>Locat'n</strong>: <code>images/hero.xcf</code></p>
<p><strong>Creat'n</strong>:</p>
<ul>
<li>Template: <a href="http://www.pixeden.com/psd-web-elements/psd-screen-web-showcase" target="_blank">http://www.pixeden.com/psd-web-elements/psd-screen-web-showcase</a></li>
<li>Desktop: light theme <em>1440 x 900 @ 1</em></li>
<li>Tablet: light theme <em>778 x 1038 @ 1</em></li>
<li>Phone: dark theme <em>450 x 801 @ .666</em></li>
<li>From original template size resize t' <em>2700 x 1800</em> centered, scale t' <em>900 x 600</em> an' save as <code>images/tn.png</code></li>
<li>From original template size resize t' <em>3000 x 1500</em> offset y: <em>-330</em>, scale t' <em>1280 x 640</em> an' save as <code>images/hero.png</code></li>
</ul>
<p><strong>Preview</strong>:</p>
<p>
<a href="../../images/hero.png?classes=shadow&amp;width=100%25&amp;height=100%25" data-featherlight="image">
<img src="../../images/hero.png?classes=shadow&amp;width=100%25&amp;height=100%25" alt="Hero" class="shadow" style="height: 100%; width: 100%;" loading="lazy">
</a>
<a href="../../images/tn.png?classes=shadow&amp;width=100%25&amp;height=100%25" data-featherlight="image">
<img src="../../images/tn.png?classes=shadow&amp;width=100%25&amp;height=100%25" alt="tn" class="shadow" style="height: 100%; width: 100%;" loading="lazy">
</a>
<a href="../../images/social.png?classes=shadow&amp;width=100%25&amp;height=100%25" data-featherlight="image">
<img src="../../images/social.png?classes=shadow&amp;width=100%25&amp;height=100%25" alt="Social" class="shadow" style="height: 100%; width: 100%;" loading="lazy">
</a></p>
<footer class="footline">
</footer>
</article>
</section> </div>
</main>
</div>
<script src="../../js/clipboard.min.js?1674602869" defer></script>
<script src="../../js/perfect-scrollbar.min.js?1674602869" defer></script>
<script src="../../js/featherlight.min.js?1674602869" defer></script>
<script src="../../js/theme.js?1674602869" defer></script>
</body>
</html>