Synchronized build
This commit is contained in:
parent
db871b79d1
commit
da4c6dd210
|
@ -91,8 +91,8 @@ more diversity into Open Source. Successful applicants are paid a monthly
|
|||
stipend, from July-September, to work on Open Source projects of their
|
||||
choice.</p>
|
||||
</blockquote>
|
||||
<p>Lektor was accepted as a particpating project. For more information about
|
||||
the project there refer to the <a href="https://teams.railsgirlssummerofcode.org/projects/115-lektor-cms">project overview on
|
||||
<p>Lektor was accepted as a participating project. For more information about
|
||||
the project there refer to the <a href="https://railsgirlssummerofcode.org/blog/page/36/" class="ext">project overview on
|
||||
RGSOC</a>.</p>
|
||||
<p>We want to make it as easy as possible to work on Lektor during the event which
|
||||
is why we will be very flexible with regards to which area interested
|
||||
|
|
|
@ -85,7 +85,7 @@
|
|||
<h3 id="details">Details</h3><p>Each plugin also now has its own dedicated page. On this page you can see the entire README for a plugin, in beautiful rendered Markdown or reStructuredText, GitHub statistics, authorship information, and tags. This page should give you all the information you need to be able to use the plugin, or to decide if it's what you're looking for as a guide to building your own.</p>
|
||||
<h3 id="tags">Tags</h3><p>Plugins are tagged with specific key words or phrases that describe what they are used for and how they work. All of a plugin's tags are listed on its page as a link. Each tag has its own page where you can see other plugins that share that tag. This offers a powerful way to navigate between related content, and another way to discover more plugins.</p>
|
||||
<p>I think this is especially useful for plugin development when the tag is an event that the plugin hooks. This allows you to quickly find the source code of plugins that depend on the same Lektor plugin events, so that you can see many quick examples to help you write your own plugin. For instance, you can find all of the plugins that hook the <code>before-build-all</code> event by looking at it's tag page <a href="/plugins/tag/before-build-all/">here</a>. Tag pages for events also have links back to the plugin documentation pages, including the page for that specific event.</p>
|
||||
<p>Now go check out some <a href="/plugins">plugins</a>!</p>
|
||||
<p>Now go check out some <a href="/plugins/">plugins</a>!</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
<h3 id="details">Details</h3><p>Each plugin also now has its own dedicated page. On this page you can see the entire README for a plugin, in beautiful rendered Markdown or reStructuredText, GitHub statistics, authorship information, and tags. This page should give you all the information you need to be able to use the plugin, or to decide if it's what you're looking for as a guide to building your own.</p>
|
||||
<h3 id="tags">Tags</h3><p>Plugins are tagged with specific key words or phrases that describe what they are used for and how they work. All of a plugin's tags are listed on its page as a link. Each tag has its own page where you can see other plugins that share that tag. This offers a powerful way to navigate between related content, and another way to discover more plugins.</p>
|
||||
<p>I think this is especially useful for plugin development when the tag is an event that the plugin hooks. This allows you to quickly find the source code of plugins that depend on the same Lektor plugin events, so that you can see many quick examples to help you write your own plugin. For instance, you can find all of the plugins that hook the <code>before-build-all</code> event by looking at it's tag page <a href="/plugins/tag/before-build-all/">here</a>. Tag pages for events also have links back to the plugin documentation pages, including the page for that specific event.</p>
|
||||
<p>Now go check out some <a href="/plugins">plugins</a>!</p>
|
||||
<p>Now go check out some <a href="/plugins/">plugins</a>!</p>
|
||||
|
||||
</div></content></entry><entry><title>Lektor 3.1 Released</title><link href="https://www.getlektor.com/blog/2018/1/lektor-31-released/" rel="alternate"></link><updated>2018-01-29T00:00:00Z</updated><author><name>Joseph Nix</name></author><id>urn:uuid:9fdb673f-5a8c-3eab-90df-cd6d57657cbc</id><content type="html">
|
||||
<div class="page-banner page-banner-500-tall" style="background-image: url(pancakes-2020863.jpg)"></div>
|
||||
|
@ -157,8 +157,8 @@ more diversity into Open Source. Successful applicants are paid a monthly
|
|||
stipend, from July-September, to work on Open Source projects of their
|
||||
choice.</p>
|
||||
</blockquote>
|
||||
<p>Lektor was accepted as a particpating project. For more information about
|
||||
the project there refer to the <a href="https://teams.railsgirlssummerofcode.org/projects/115-lektor-cms">project overview on
|
||||
<p>Lektor was accepted as a participating project. For more information about
|
||||
the project there refer to the <a href="https://railsgirlssummerofcode.org/blog/page/36/" class="ext">project overview on
|
||||
RGSOC</a>.</p>
|
||||
<p>We want to make it as easy as possible to work on Lektor during the event which
|
||||
is why we will be very flexible with regards to which area interested
|
||||
|
|
|
@ -0,0 +1,284 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<link rel="stylesheet" href="../../../../../static/styles.css?h=ca3aba42">
|
||||
<link rel="stylesheet" href="../../../../../static/pygments.css">
|
||||
<link rel="shortcut icon" href="../../../../../static/favicon.png?h=fa09bedd">
|
||||
<title>children | Documentation | Lektor Static Content Management System</title>
|
||||
</head>
|
||||
<body class="default">
|
||||
<nav class="navbar navbar-inverse navbar-static-top">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle collapsed"
|
||||
data-toggle="collapse" data-target="#navbar"
|
||||
aria-expanded="false" aria-controls="navbar">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand" href="../../../../../">Lektor</a>
|
||||
</div>
|
||||
<div id="navbar" class="collapse navbar-collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
|
||||
<li><a href="../../../../../downloads/">Download</a></li>
|
||||
|
||||
<li class="active"><a href="../../../../">Documentation</a></li>
|
||||
|
||||
<li><a href="../../../../../showcase/">Showcase</a></li>
|
||||
|
||||
<li><a href="../../../../../plugins/">Plugins</a></li>
|
||||
|
||||
<li><a href="../../../../../community/">Community</a></li>
|
||||
|
||||
<li><a href="../../../../../blog/">Blog</a></li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<div class="body-wrapper">
|
||||
|
||||
<div class="container">
|
||||
|
||||
<div class="row">
|
||||
<div class="col-sm-3">
|
||||
<ul class="tree-nav nocontent">
|
||||
<li><a href="../../../../">Welcome</a></li>
|
||||
|
||||
|
||||
<li><a href="../../../../what/">What is Lektor</a>
|
||||
|
||||
|
||||
<li><a href="../../../../installation/">Installation</a>
|
||||
|
||||
|
||||
<li><a href="../../../../quickstart/">Quickstart</a>
|
||||
|
||||
|
||||
<li><a href="../../../../project/">Project</a>
|
||||
|
||||
|
||||
<li><a href="../../../../content/">Content</a>
|
||||
|
||||
|
||||
<li><a href="../../../../templates/">Templates</a>
|
||||
|
||||
|
||||
<li><a href="../../../../themes/">Themes</a>
|
||||
|
||||
|
||||
<li><a href="../../../../guides/">Guides</a>
|
||||
|
||||
|
||||
<li><a href="../../../../deployment/">Deployment</a>
|
||||
|
||||
|
||||
<li><a href="../../../../plugins/">Plugins</a>
|
||||
|
||||
|
||||
<li><a href="../../../../models/">Data Modelling</a>
|
||||
|
||||
|
||||
<li><a href="../../../../cli/">Command Line</a>
|
||||
|
||||
|
||||
<li><a href="../../../">API</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../../build/">Build System</a>
|
||||
|
||||
|
||||
<li><a href="../../../databags/">Databags</a>
|
||||
|
||||
|
||||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../">Asset</a>
|
||||
|
||||
<ul>
|
||||
<li class="active"><a href="./">children</a>
|
||||
|
||||
<ul></ul>
|
||||
|
||||
|
||||
<li><a href="../get-child/">get_child()</a>
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
<li><a href="../../expression/">Expression</a>
|
||||
|
||||
|
||||
<li><a href="../../f/">F</a>
|
||||
|
||||
|
||||
<li><a href="../../get-alts/">get_alts()</a>
|
||||
|
||||
|
||||
<li><a href="../../pad/">Pad</a>
|
||||
|
||||
|
||||
<li><a href="../../query/">Query</a>
|
||||
|
||||
|
||||
<li><a href="../../record/">Record</a>
|
||||
|
||||
|
||||
<li><a href="../../obj/">SourceObject</a>
|
||||
|
||||
|
||||
<li><a href="../../system-fields/">System Fields</a>
|
||||
|
||||
|
||||
<li><a href="../../type/">Type</a>
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
<li><a href="../../../environment/">Environment</a>
|
||||
|
||||
|
||||
<li><a href="../../../plugins/">Plugins</a>
|
||||
|
||||
|
||||
<li><a href="../../../project/">Project</a>
|
||||
|
||||
|
||||
<li><a href="../../../publisher/">Publisher</a>
|
||||
|
||||
|
||||
<li><a href="../../../templates/">Template API</a>
|
||||
|
||||
|
||||
<li><a href="../../../utils/">Utilities</a>
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
<li><a href="../../../../search/">Search</a>
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-sm-9 doc-styling">
|
||||
|
||||
|
||||
<h1><i class="glyphicon glyphicon-info-sign"></i> <code class="obj">children</code></h1>
|
||||
|
||||
|
||||
|
||||
<ul class=page-meta>
|
||||
|
||||
<li>Property of <a href="../">Asset</a></li>
|
||||
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
<p><a href="../" class="ref">Assets</a> that correspond to directories can have children
|
||||
below them. The <code>children</code> attribute provides a convenient way to access
|
||||
those. It returns an iterable of child assets.</p>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="comment-box">
|
||||
<h2>Comments</h2>
|
||||
|
||||
<div id="disqus_thread"></div>
|
||||
<script>
|
||||
var disqus_config = function() { this.page.identifier = "/docs/api/db/asset/children"; this.page.url = "https://www.getlektor.com/docs/api/db/asset/children/"; };
|
||||
(function() {
|
||||
var d = document, s = d.createElement('script');
|
||||
s.src = '//lektordocumentation.disqus.com/embed.js';
|
||||
s.setAttribute('data-timestamp', +new Date());
|
||||
(d.head || d.body).appendChild(s);
|
||||
})();
|
||||
</script>
|
||||
<noscript>
|
||||
Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript"
|
||||
rel="nofollow">comments powered by Disqus.</a>
|
||||
</noscript>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="bottomsummary">
|
||||
<div class="container">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<footer>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-4 icon-bar">
|
||||
<a href="https://github.com/lektor/lektor/" title="Lektor on GitHub"
|
||||
><i class="fa fa-github"></i></a>
|
||||
<a href="https://github.com/lektor/lektor/issues/" title="Report Issues for Lektor"
|
||||
><i class="fa fa-bug"></i></a>
|
||||
<a href="https://twitter.com/getlektor" title="Find Lektor on Twitter"
|
||||
><i class="fa fa-twitter"></i></a>
|
||||
<a href="https://gitter.im/lektor/lektor" title="Chat on Gitter"
|
||||
><i class="fa fa-comment"></i></a>
|
||||
<a href="https://github.com/lektor/lektor-website/tree/master/content/docs/api/db/asset/children/contents.lr" title="View source for this page"><i class="fa fa-code"></i></a>
|
||||
</div>
|
||||
<div class="col-sm-8">
|
||||
<a href="../../../../../license/">License & Copyright</a> •
|
||||
<a href="../../../../../contact/">Contact</a> •
|
||||
Made with <i class="fa fa-fw fa-heart" title="Heart"><span hidden>Heart</span></i> in Carinthia
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
|
||||
<script type=text/javascript src="../../../../../static/app.js?h=bb1b933a" charset="utf-8"></script>
|
||||
<script>
|
||||
((window.gitter = {}).chat = {}).options = {
|
||||
room: 'lektor/lektor',
|
||||
activationElement: null
|
||||
};
|
||||
document.write('<button class="js-gitter-toggle-chat-button">Toggle Chat</button>');
|
||||
var dnt = navigator.doNotTrack || window.doNotTrack || navigator.msDoNotTrack;
|
||||
if (dnt != "1" && dnt != "yes") {
|
||||
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
|
||||
ga('create', 'UA-70822533-1', 'auto');
|
||||
ga('set', 'anonymizeIp', true);
|
||||
ga('send', 'pageview');
|
||||
} else {
|
||||
console.debug("Respecting Do-Not-Track, not running analytics.");
|
||||
}
|
||||
</script>
|
||||
<script async src='https://www.google-analytics.com/analytics.js'></script>
|
||||
<script async defer id="github-bjs" src="https://buttons.github.io/buttons.js"></script>
|
||||
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
|
||||
<script src="https://sidecar.gitter.im/dist/sidecar.v1.js" async defer></script>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,283 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<link rel="stylesheet" href="../../../../../static/styles.css?h=ca3aba42">
|
||||
<link rel="stylesheet" href="../../../../../static/pygments.css">
|
||||
<link rel="shortcut icon" href="../../../../../static/favicon.png?h=fa09bedd">
|
||||
<title>get_child | Documentation | Lektor Static Content Management System</title>
|
||||
</head>
|
||||
<body class="default">
|
||||
<nav class="navbar navbar-inverse navbar-static-top">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle collapsed"
|
||||
data-toggle="collapse" data-target="#navbar"
|
||||
aria-expanded="false" aria-controls="navbar">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand" href="../../../../../">Lektor</a>
|
||||
</div>
|
||||
<div id="navbar" class="collapse navbar-collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
|
||||
<li><a href="../../../../../downloads/">Download</a></li>
|
||||
|
||||
<li class="active"><a href="../../../../">Documentation</a></li>
|
||||
|
||||
<li><a href="../../../../../showcase/">Showcase</a></li>
|
||||
|
||||
<li><a href="../../../../../plugins/">Plugins</a></li>
|
||||
|
||||
<li><a href="../../../../../community/">Community</a></li>
|
||||
|
||||
<li><a href="../../../../../blog/">Blog</a></li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<div class="body-wrapper">
|
||||
|
||||
<div class="container">
|
||||
|
||||
<div class="row">
|
||||
<div class="col-sm-3">
|
||||
<ul class="tree-nav nocontent">
|
||||
<li><a href="../../../../">Welcome</a></li>
|
||||
|
||||
|
||||
<li><a href="../../../../what/">What is Lektor</a>
|
||||
|
||||
|
||||
<li><a href="../../../../installation/">Installation</a>
|
||||
|
||||
|
||||
<li><a href="../../../../quickstart/">Quickstart</a>
|
||||
|
||||
|
||||
<li><a href="../../../../project/">Project</a>
|
||||
|
||||
|
||||
<li><a href="../../../../content/">Content</a>
|
||||
|
||||
|
||||
<li><a href="../../../../templates/">Templates</a>
|
||||
|
||||
|
||||
<li><a href="../../../../themes/">Themes</a>
|
||||
|
||||
|
||||
<li><a href="../../../../guides/">Guides</a>
|
||||
|
||||
|
||||
<li><a href="../../../../deployment/">Deployment</a>
|
||||
|
||||
|
||||
<li><a href="../../../../plugins/">Plugins</a>
|
||||
|
||||
|
||||
<li><a href="../../../../models/">Data Modelling</a>
|
||||
|
||||
|
||||
<li><a href="../../../../cli/">Command Line</a>
|
||||
|
||||
|
||||
<li><a href="../../../">API</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../../build/">Build System</a>
|
||||
|
||||
|
||||
<li><a href="../../../databags/">Databags</a>
|
||||
|
||||
|
||||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../">Asset</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../children/">children</a>
|
||||
|
||||
|
||||
<li class="active"><a href="./">get_child()</a>
|
||||
|
||||
<ul></ul>
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
<li><a href="../../expression/">Expression</a>
|
||||
|
||||
|
||||
<li><a href="../../f/">F</a>
|
||||
|
||||
|
||||
<li><a href="../../get-alts/">get_alts()</a>
|
||||
|
||||
|
||||
<li><a href="../../pad/">Pad</a>
|
||||
|
||||
|
||||
<li><a href="../../query/">Query</a>
|
||||
|
||||
|
||||
<li><a href="../../record/">Record</a>
|
||||
|
||||
|
||||
<li><a href="../../obj/">SourceObject</a>
|
||||
|
||||
|
||||
<li><a href="../../system-fields/">System Fields</a>
|
||||
|
||||
|
||||
<li><a href="../../type/">Type</a>
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
<li><a href="../../../environment/">Environment</a>
|
||||
|
||||
|
||||
<li><a href="../../../plugins/">Plugins</a>
|
||||
|
||||
|
||||
<li><a href="../../../project/">Project</a>
|
||||
|
||||
|
||||
<li><a href="../../../publisher/">Publisher</a>
|
||||
|
||||
|
||||
<li><a href="../../../templates/">Template API</a>
|
||||
|
||||
|
||||
<li><a href="../../../utils/">Utilities</a>
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
<li><a href="../../../../search/">Search</a>
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-sm-9 doc-styling">
|
||||
|
||||
|
||||
<h1><i class="glyphicon glyphicon-cog"></i> <code class="obj">get_child</code> <span class="sig">(<code>name, from_url=False</code>)</span></h1>
|
||||
|
||||
|
||||
|
||||
<ul class=page-meta>
|
||||
|
||||
<li>Method of <a href="../">Asset</a></li>
|
||||
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
<p>Lookup a child of the asset. Returns <code>None</code> if no child exists with the specified name.</p>
|
||||
<p>Naturally, this method always returns <code>None</code> unless the asset is a directory.</p>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="comment-box">
|
||||
<h2>Comments</h2>
|
||||
|
||||
<div id="disqus_thread"></div>
|
||||
<script>
|
||||
var disqus_config = function() { this.page.identifier = "/docs/api/db/asset/get-child"; this.page.url = "https://www.getlektor.com/docs/api/db/asset/get-child/"; };
|
||||
(function() {
|
||||
var d = document, s = d.createElement('script');
|
||||
s.src = '//lektordocumentation.disqus.com/embed.js';
|
||||
s.setAttribute('data-timestamp', +new Date());
|
||||
(d.head || d.body).appendChild(s);
|
||||
})();
|
||||
</script>
|
||||
<noscript>
|
||||
Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript"
|
||||
rel="nofollow">comments powered by Disqus.</a>
|
||||
</noscript>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="bottomsummary">
|
||||
<div class="container">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<footer>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-4 icon-bar">
|
||||
<a href="https://github.com/lektor/lektor/" title="Lektor on GitHub"
|
||||
><i class="fa fa-github"></i></a>
|
||||
<a href="https://github.com/lektor/lektor/issues/" title="Report Issues for Lektor"
|
||||
><i class="fa fa-bug"></i></a>
|
||||
<a href="https://twitter.com/getlektor" title="Find Lektor on Twitter"
|
||||
><i class="fa fa-twitter"></i></a>
|
||||
<a href="https://gitter.im/lektor/lektor" title="Chat on Gitter"
|
||||
><i class="fa fa-comment"></i></a>
|
||||
<a href="https://github.com/lektor/lektor-website/tree/master/content/docs/api/db/asset/get-child/contents.lr" title="View source for this page"><i class="fa fa-code"></i></a>
|
||||
</div>
|
||||
<div class="col-sm-8">
|
||||
<a href="../../../../../license/">License & Copyright</a> •
|
||||
<a href="../../../../../contact/">Contact</a> •
|
||||
Made with <i class="fa fa-fw fa-heart" title="Heart"><span hidden>Heart</span></i> in Carinthia
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
|
||||
<script type=text/javascript src="../../../../../static/app.js?h=bb1b933a" charset="utf-8"></script>
|
||||
<script>
|
||||
((window.gitter = {}).chat = {}).options = {
|
||||
room: 'lektor/lektor',
|
||||
activationElement: null
|
||||
};
|
||||
document.write('<button class="js-gitter-toggle-chat-button">Toggle Chat</button>');
|
||||
var dnt = navigator.doNotTrack || window.doNotTrack || navigator.msDoNotTrack;
|
||||
if (dnt != "1" && dnt != "yes") {
|
||||
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
|
||||
ga('create', 'UA-70822533-1', 'auto');
|
||||
ga('set', 'anonymizeIp', true);
|
||||
ga('send', 'pageview');
|
||||
} else {
|
||||
console.debug("Respecting Do-Not-Track, not running analytics.");
|
||||
}
|
||||
</script>
|
||||
<script async src='https://www.google-analytics.com/analytics.js'></script>
|
||||
<script async defer id="github-bjs" src="https://buttons.github.io/buttons.js"></script>
|
||||
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
|
||||
<script src="https://sidecar.gitter.im/dist/sidecar.v1.js" async defer></script>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,308 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<link rel="stylesheet" href="../../../../static/styles.css?h=ca3aba42">
|
||||
<link rel="stylesheet" href="../../../../static/pygments.css">
|
||||
<link rel="shortcut icon" href="../../../../static/favicon.png?h=fa09bedd">
|
||||
<title>Asset | Documentation | Lektor Static Content Management System</title>
|
||||
</head>
|
||||
<body class="default">
|
||||
<nav class="navbar navbar-inverse navbar-static-top">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle collapsed"
|
||||
data-toggle="collapse" data-target="#navbar"
|
||||
aria-expanded="false" aria-controls="navbar">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand" href="../../../../">Lektor</a>
|
||||
</div>
|
||||
<div id="navbar" class="collapse navbar-collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
|
||||
<li><a href="../../../../downloads/">Download</a></li>
|
||||
|
||||
<li class="active"><a href="../../../">Documentation</a></li>
|
||||
|
||||
<li><a href="../../../../showcase/">Showcase</a></li>
|
||||
|
||||
<li><a href="../../../../plugins/">Plugins</a></li>
|
||||
|
||||
<li><a href="../../../../community/">Community</a></li>
|
||||
|
||||
<li><a href="../../../../blog/">Blog</a></li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<div class="body-wrapper">
|
||||
|
||||
<div class="container">
|
||||
|
||||
<div class="row">
|
||||
<div class="col-sm-3">
|
||||
<ul class="tree-nav nocontent">
|
||||
<li><a href="../../../">Welcome</a></li>
|
||||
|
||||
|
||||
<li><a href="../../../what/">What is Lektor</a>
|
||||
|
||||
|
||||
<li><a href="../../../installation/">Installation</a>
|
||||
|
||||
|
||||
<li><a href="../../../quickstart/">Quickstart</a>
|
||||
|
||||
|
||||
<li><a href="../../../project/">Project</a>
|
||||
|
||||
|
||||
<li><a href="../../../content/">Content</a>
|
||||
|
||||
|
||||
<li><a href="../../../templates/">Templates</a>
|
||||
|
||||
|
||||
<li><a href="../../../themes/">Themes</a>
|
||||
|
||||
|
||||
<li><a href="../../../guides/">Guides</a>
|
||||
|
||||
|
||||
<li><a href="../../../deployment/">Deployment</a>
|
||||
|
||||
|
||||
<li><a href="../../../plugins/">Plugins</a>
|
||||
|
||||
|
||||
<li><a href="../../../models/">Data Modelling</a>
|
||||
|
||||
|
||||
<li><a href="../../../cli/">Command Line</a>
|
||||
|
||||
|
||||
<li><a href="../../">API</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../build/">Build System</a>
|
||||
|
||||
|
||||
<li><a href="../../databags/">Databags</a>
|
||||
|
||||
|
||||
<li><a href="../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li class="active"><a href="./">Asset</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="children/">children</a>
|
||||
|
||||
|
||||
<li><a href="get-child/">get_child()</a>
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
<li><a href="../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
<li><a href="../expression/">Expression</a>
|
||||
|
||||
|
||||
<li><a href="../f/">F</a>
|
||||
|
||||
|
||||
<li><a href="../get-alts/">get_alts()</a>
|
||||
|
||||
|
||||
<li><a href="../pad/">Pad</a>
|
||||
|
||||
|
||||
<li><a href="../query/">Query</a>
|
||||
|
||||
|
||||
<li><a href="../record/">Record</a>
|
||||
|
||||
|
||||
<li><a href="../obj/">SourceObject</a>
|
||||
|
||||
|
||||
<li><a href="../system-fields/">System Fields</a>
|
||||
|
||||
|
||||
<li><a href="../type/">Type</a>
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
<li><a href="../../environment/">Environment</a>
|
||||
|
||||
|
||||
<li><a href="../../plugins/">Plugins</a>
|
||||
|
||||
|
||||
<li><a href="../../project/">Project</a>
|
||||
|
||||
|
||||
<li><a href="../../publisher/">Publisher</a>
|
||||
|
||||
|
||||
<li><a href="../../templates/">Template API</a>
|
||||
|
||||
|
||||
<li><a href="../../utils/">Utilities</a>
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
<li><a href="../../../search/">Search</a>
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-sm-9 doc-styling">
|
||||
|
||||
|
||||
<h1><i class="glyphicon glyphicon-leaf"></i> <code class="mod">lektor.assets.</code><code class="obj">Asset</code></h1>
|
||||
|
||||
|
||||
|
||||
<ul class=page-meta>
|
||||
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
<p>Assets are <a href="../obj/" class="ref">Source Objects</a> that correspond to static files that
|
||||
are copied verbatim from the <code>/assets</code> folder to the output directory.</p>
|
||||
<p>Usually, there is no need to manipulate Asset objects directly.</p>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="child-pages nocontent">
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="col-md-6 child">
|
||||
<h4>
|
||||
<i class="glyphicon glyphicon-info-sign"></i>
|
||||
<a href="children/">children</a>
|
||||
</h4>
|
||||
|
||||
<p class="summary">Returns a query to the children of a page.</p>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-md-6 child">
|
||||
<h4>
|
||||
<i class="glyphicon glyphicon-cog"></i>
|
||||
<a href="get-child/">get_child()</a>
|
||||
</h4>
|
||||
|
||||
<p class="summary">Get child asset</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="comment-box">
|
||||
<h2>Comments</h2>
|
||||
|
||||
<div id="disqus_thread"></div>
|
||||
<script>
|
||||
var disqus_config = function() { this.page.identifier = "/docs/api/db/asset"; this.page.url = "https://www.getlektor.com/docs/api/db/asset/"; };
|
||||
(function() {
|
||||
var d = document, s = d.createElement('script');
|
||||
s.src = '//lektordocumentation.disqus.com/embed.js';
|
||||
s.setAttribute('data-timestamp', +new Date());
|
||||
(d.head || d.body).appendChild(s);
|
||||
})();
|
||||
</script>
|
||||
<noscript>
|
||||
Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript"
|
||||
rel="nofollow">comments powered by Disqus.</a>
|
||||
</noscript>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="bottomsummary">
|
||||
<div class="container">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<footer>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-4 icon-bar">
|
||||
<a href="https://github.com/lektor/lektor/" title="Lektor on GitHub"
|
||||
><i class="fa fa-github"></i></a>
|
||||
<a href="https://github.com/lektor/lektor/issues/" title="Report Issues for Lektor"
|
||||
><i class="fa fa-bug"></i></a>
|
||||
<a href="https://twitter.com/getlektor" title="Find Lektor on Twitter"
|
||||
><i class="fa fa-twitter"></i></a>
|
||||
<a href="https://gitter.im/lektor/lektor" title="Chat on Gitter"
|
||||
><i class="fa fa-comment"></i></a>
|
||||
<a href="https://github.com/lektor/lektor-website/tree/master/content/docs/api/db/asset/contents.lr" title="View source for this page"><i class="fa fa-code"></i></a>
|
||||
</div>
|
||||
<div class="col-sm-8">
|
||||
<a href="../../../../license/">License & Copyright</a> •
|
||||
<a href="../../../../contact/">Contact</a> •
|
||||
Made with <i class="fa fa-fw fa-heart" title="Heart"><span hidden>Heart</span></i> in Carinthia
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
|
||||
<script type=text/javascript src="../../../../static/app.js?h=bb1b933a" charset="utf-8"></script>
|
||||
<script>
|
||||
((window.gitter = {}).chat = {}).options = {
|
||||
room: 'lektor/lektor',
|
||||
activationElement: null
|
||||
};
|
||||
document.write('<button class="js-gitter-toggle-chat-button">Toggle Chat</button>');
|
||||
var dnt = navigator.doNotTrack || window.doNotTrack || navigator.msDoNotTrack;
|
||||
if (dnt != "1" && dnt != "yes") {
|
||||
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
|
||||
ga('create', 'UA-70822533-1', 'auto');
|
||||
ga('set', 'anonymizeIp', true);
|
||||
ga('send', 'pageview');
|
||||
} else {
|
||||
console.debug("Respecting Do-Not-Track, not running analytics.");
|
||||
}
|
||||
</script>
|
||||
<script async src='https://www.google-analytics.com/analytics.js'></script>
|
||||
<script async defer id="github-bjs" src="https://buttons.github.io/buttons.js"></script>
|
||||
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
|
||||
<script src="https://sidecar.gitter.im/dist/sidecar.v1.js" async defer></script>
|
||||
</body>
|
||||
</html>
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
@ -231,7 +234,7 @@ which will return an expression that points to a field. Further manipulation
|
|||
of it can create more expressive expressions. <code>F.name</code> literally just means
|
||||
that a field by that name exists and is set to a value.</p>
|
||||
<p>The query syntax is mostly the same in Python as well as in the Jinja 2
|
||||
templates, the main difference are <a href="../and/" class="ref">and</a> and <a href="../or/" class="ref">or</a>.</p>
|
||||
templates, the main difference are <a href="and/" class="ref">and</a> and <a href="or/" class="ref">or</a>.</p>
|
||||
<h2 id="example">Example</h2><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="n">p</span><span class="o">.</span><span class="n">children</span><span class="o">.</span><span class="n">filter</span><span class="p">((</span><span class="n">F</span><span class="o">.</span><span class="n">name</span> <span class="o">==</span> <span class="s1">'foo'</span><span class="p">)</span> <span class="o">|</span> <span class="p">(</span><span class="n">F</span><span class="o">.</span><span class="n">name</span> <span class="o">==</span> <span class="s1">'bar'</span><span class="p">))</span><span class="o">.</span><span class="n">all</span><span class="p">()</span>
|
||||
<span class="go">[<Page model=u'page' id=u'bar'>, <Page model=u'page' id=u'foo'>]</span>
|
||||
</pre></div>
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li class="active"><a href="./">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
@ -188,6 +191,16 @@ the <code>shell</code> command as well as from within the templates.</p>
|
|||
|
||||
<div class="row">
|
||||
|
||||
<div class="col-md-6 child">
|
||||
<h4>
|
||||
<i class="glyphicon glyphicon-leaf"></i>
|
||||
<a href="asset/">Asset</a>
|
||||
</h4>
|
||||
|
||||
<p class="summary">Static assets, copied verbatim to the output.</p>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-md-6 child">
|
||||
<h4>
|
||||
<i class="glyphicon glyphicon-list-alt"></i>
|
||||
|
@ -198,6 +211,10 @@ the <code>shell</code> command as well as from within the templates.</p>
|
|||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="col-md-6 child">
|
||||
<h4>
|
||||
<i class="glyphicon glyphicon-leaf"></i>
|
||||
|
@ -208,10 +225,6 @@ the <code>shell</code> command as well as from within the templates.</p>
|
|||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="col-md-6 child">
|
||||
<h4>
|
||||
<i class="glyphicon glyphicon-leaf"></i>
|
||||
|
@ -222,6 +235,10 @@ the <code>shell</code> command as well as from within the templates.</p>
|
|||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="col-md-6 child">
|
||||
<h4>
|
||||
<i class="glyphicon glyphicon-cog"></i>
|
||||
|
@ -232,10 +249,6 @@ the <code>shell</code> command as well as from within the templates.</p>
|
|||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="col-md-6 child">
|
||||
<h4>
|
||||
<i class="glyphicon glyphicon-leaf"></i>
|
||||
|
@ -246,6 +259,10 @@ the <code>shell</code> command as well as from within the templates.</p>
|
|||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="col-md-6 child">
|
||||
<h4>
|
||||
<i class="glyphicon glyphicon-leaf"></i>
|
||||
|
@ -256,10 +273,6 @@ the <code>shell</code> command as well as from within the templates.</p>
|
|||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="col-md-6 child">
|
||||
<h4>
|
||||
<i class="glyphicon glyphicon-leaf"></i>
|
||||
|
@ -270,6 +283,10 @@ the <code>shell</code> command as well as from within the templates.</p>
|
|||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="col-md-6 child">
|
||||
<h4>
|
||||
<i class="glyphicon glyphicon-leaf"></i>
|
||||
|
@ -280,10 +297,6 @@ the <code>shell</code> command as well as from within the templates.</p>
|
|||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="col-md-6 child">
|
||||
<h4>
|
||||
<i class="glyphicon glyphicon-list-alt"></i>
|
||||
|
@ -294,6 +307,10 @@ the <code>shell</code> command as well as from within the templates.</p>
|
|||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="col-md-6 child">
|
||||
<h4>
|
||||
<i class="glyphicon glyphicon-leaf"></i>
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
@ -235,7 +238,7 @@ relative to the current page and <code>external</code> can be used to also add t
|
|||
domain part to the URL (if configured). The default behavior is to use the
|
||||
configured URL style (which is <code>relative</code>) unless absolute or external were
|
||||
explicitly provided. For more information read about this in the
|
||||
<a href="../../../../project/file/#[project]" class="ref">Project Configuration</a>.</p>
|
||||
<a href="../../../../project/file/#project" class="ref">Project Configuration</a>.</p>
|
||||
<h2 id="example">Example</h2><div class="highlight"><pre><span></span><span class="cp">{%</span> <span class="k">set</span> <span class="nv">downloads</span> <span class="o">=</span> <span class="nv">site.get</span><span class="o">(</span><span class="s1">'/downloads'</span><span class="o">)</span> <span class="cp">%}</span>
|
||||
Path from downloads to here: <span class="cp">{{</span> <span class="nv">downloads.url_to</span><span class="o">(</span><span class="nv">this</span><span class="o">)</span> <span class="cp">}}</span>
|
||||
</pre></div>
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../../types/">Builtin Field Types</a>
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../">Builtin Field Types</a>
|
||||
|
||||
<ul>
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../">Builtin Field Types</a>
|
||||
|
||||
<ul>
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../">Builtin Field Types</a>
|
||||
|
||||
<ul>
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../">Builtin Field Types</a>
|
||||
|
||||
<ul>
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../">Builtin Field Types</a>
|
||||
|
||||
<ul>
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../">Builtin Field Types</a>
|
||||
|
||||
<ul>
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../">Builtin Field Types</a>
|
||||
|
||||
<ul>
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../asset/">Asset</a>
|
||||
|
||||
|
||||
<li class="active"><a href="./">Builtin Field Types</a>
|
||||
|
||||
<ul>
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../">Builtin Field Types</a>
|
||||
|
||||
<ul>
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../">Builtin Field Types</a>
|
||||
|
||||
<ul>
|
||||
|
|
|
@ -101,6 +101,9 @@
|
|||
<li><a href="../../">Database</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../asset/">Asset</a>
|
||||
|
||||
|
||||
<li><a href="../">Builtin Field Types</a>
|
||||
|
||||
<ul>
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue