summaryrefslogtreecommitdiffstats
path: root/website/src/learning/index.html
blob: af267cb7b99d8c793259666e9722b75fa4877f76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
[% topdir = ".." -%]
[% PROCESS globals -%]
[% WRAPPER page
   title = "virt tools: Tutorials and videos"
   h1 = "virt tools: Tutorials and videos"
   section = "learning"
   local_stylesheet = 1
%]

[% WRAPPER h2 h2="For absolute beginners, start here" anchor="beginners" %]

[% BLOCK element %]
<li>
  <a href="[% x.name %]/">[% x.link %]</a>
  [% x.rest %]
  <span class="notes">
  [% IF x.difficulty > 1 %]Difficulty: [% x.difficulty %] out of 5.[% END %]
  [% IF x.cmdline %]Requires use of the command line.[% END %]
  [% IF x.author %]Author: [% x.author %].[% END %]
  [% IF x.date %]Last updated: [% x.date %].[% END %]
  </span>
</li>
[% END %]

<ul>
[% FOREACH x IN learning_documents -%]
  [% IF x.difficulty == 0 %][% INCLUDE element %][% END %]
[%- END %]
</ul>

[% END %]

[% WRAPPER h2 h2="Tutorials rated <q>easy</q>" anchor="easy" %]

<ul>
[% FOREACH x IN learning_documents -%]
  [% IF x.difficulty == 1 %][% INCLUDE element %][% END %]
[%- END %]
</ul>

[% END %]

[% WRAPPER h2 h2="Tutorials rated a little harder" anchor="others" %]

<ul>
[% FOREACH x IN learning_documents -%]
  [% IF x.difficulty > 1 %][% INCLUDE element %][% END %]
[%- END %]
</ul>

[% END %]

[% WRAPPER h2 h2="More help" anchor="more-help" %]

<p>
Not found what you're looking for?
<a href="[% topdir %]/contact/">Contact us via our mailing list
or chat&nbsp;(IRC).</a>
</p>

[% END %]

[% WRAPPER h2 h2="Contribute" anchor="contribute" %]

<p>
Do you want to write a tutorial?  Do you blog about virt tools?
Your writings could appear here.
<a href="[% topdir %]/contact/">Send us a note on the mailing list.</a>
</p>

[% END %]

[% END -%]