Skip to content

Commit

Permalink
Uploading site Fri 26 Apr 2019 23:49:37 BST
Browse files Browse the repository at this point in the history
  • Loading branch information
jordibares committed Apr 26, 2019
1 parent 16f4fa0 commit 29d69f7
Show file tree
Hide file tree
Showing 7 changed files with 92 additions and 70 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Expand Up @@ -12,4 +12,6 @@ backup
*.pyc

# affinity photo
*.afphoto
*.afphoto

public
2 changes: 1 addition & 1 deletion content/docs/book/part-1/introduction/syntax/index.md
Expand Up @@ -27,4 +27,4 @@ Strings everywhere
Lorem markdownum insigne. Olympo signis Delphis! Retexi Nereius nova develat
stringit, frustra Saturnius uteroque inter! Oculis non ritibus Telethusa
protulit, sed sed aere valvis inhaesuro Pallas animam: qui _quid_, ignes.
Miseratus fonte Ditis conubia.
Miseratus fonte Ditis conubia.
1 change: 1 addition & 0 deletions content/docs/book/part-1/modelling/_index.md
Expand Up @@ -9,6 +9,7 @@ tags: ["H17.5"]

writer: "Jordi Bares"
---

# Modelling

Modelling in Houdini is certainly getting better and better on every version and alhtough you will miss a few things from your favourite software (may be even more than just a few), the truth is that the full power comes when you mix both, traditional and procedural methods to build things.
Expand Down
3 changes: 1 addition & 2 deletions content/docs/book/part-1/shading/_index.md
Expand Up @@ -8,6 +8,7 @@ tags: ["H17.5"]

writer: "Jordi Bares"
---

# Shading

## Principled shader
Expand All @@ -25,5 +26,3 @@ _to do_
## Material libraries strategies

_to do_


12 changes: 7 additions & 5 deletions layouts/shortcodes/code.html
Expand Up @@ -27,9 +27,11 @@
{{ with $.Scratch.Get "content" }}

<div class="includecode" id="{{ $file | anchorize }}">
<code style="position: relative;top:18px;padding-top:4px;padding-left:12px;padding-right:12px;padding-bottom:12px;">
{{ $file }}
</code>
<code
style="position: relative;top:18px;padding-top:4px;padding-left:12px;padding-right:12px;padding-bottom:12px;"
>
{{ $file }}
</code>

{{ highlight . $codelang "" }}
{{ end }}
{{ highlight . $codelang "" }} {{ end }}
</div>
11 changes: 7 additions & 4 deletions layouts/shortcodes/kode.html
Expand Up @@ -29,16 +29,19 @@
<thead>
<tr>
<th>
{{ with $ghlink }}<a href="{{ . }}" download="{{ $file }}">{{ end }}
{{ with $ghlink }}<a href="{{ . }}" download="{{ $file }}"
>{{ end }}
<code>{{ $file }}</code>
{{ if $ghlink }}</a>{{ end }}
<img src="{{ "svg/code-fork.svg" | relURL }}" style="max-height:18px" onclick="copyCode('{{ $file | anchorize }}')" title="Copy {{ $file }} to clipboard">
{{ if $ghlink }}</a
>{{ end }} <img src="{{ "svg/code-fork.svg" | relURL }}"
style="max-height:18px" onclick="copyCode('{{ $file | anchorize
}}')" title="Copy {{ $file }} to clipboard">
</th>
</tr>
</thead>
<tbody>
<tr>
<td>{{ highlight . $codelang "" }} </td>
<td>{{ highlight . $codelang "" }}</td>
</tr>
</tbody>
</table>
Expand Down
129 changes: 72 additions & 57 deletions layouts/shortcodes/tabs.html
Expand Up @@ -12,81 +12,96 @@

<!-- 4 tabs -->
{{ if eq $id "4" }}
<div class="hg-tabs">
<div class="hg-tab-4">
<label for="hg-tab4-1">{{ $t1 }}</label>
<input id="hg-tab4-1" name="hg-tabs-four" type="radio" checked="checked" />
<div>
<p>{{ $c1 }}</p>
</div>
<div class="hg-tabs">
<div class="hg-tab-4">
<label for="hg-tab4-1">{{ $t1 }}</label>
<input
id="hg-tab4-1"
name="hg-tabs-four"
type="radio"
checked="checked"
/>
<div>
<p>{{ $c1 }}</p>
</div>
<div class="hg-tab-4">
<label for="hg-tab4-2">{{ $t2 }}</label>
<input id="hg-tab4-2" name="hg-tabs-four" type="radio" />
<div>
<p>{{ $c2 }}</p>
</div>
</div>
<div class="hg-tab-4">
<label for="hg-tab4-2">{{ $t2 }}</label>
<input id="hg-tab4-2" name="hg-tabs-four" type="radio" />
<div>
<p>{{ $c2 }}</p>
</div>
<div class="hg-tab-4">
<label for="hg-tab4-3">{{ $t3 }}</label>
<input id="hg-tab4-3" name="hg-tabs-four" type="radio" />
<div>
<p>{{ $c3 }}</p>
</div>
</div>
<div class="hg-tab-4">
<label for="hg-tab4-3">{{ $t3 }}</label>
<input id="hg-tab4-3" name="hg-tabs-four" type="radio" />
<div>
<p>{{ $c3 }}</p>
</div>
<div class="hg-tab-4">
<label for="hg-tab4-4">{{ $t4 }}</label>
<input id="hg-tab4-4" name="hg-tabs-four" type="radio" />
<div>
<p>{{ $c4 }}</p>
</div>
</div>
<div class="hg-tab-4">
<label for="hg-tab4-4">{{ $t4 }}</label>
<input id="hg-tab4-4" name="hg-tabs-four" type="radio" />
<div>
<p>{{ $c4 }}</p>
</div>
</div>
</div>

<!-- 3 tabs -->
{{ else if eq $id "3" }}
<div class="hg-tabs">
<div class="hg-tab-3">
<label for="hg-tab3-1">{{ $t1 }}</label>
<input id="hg-tab3-1" name="hg-tabs-three" type="radio" checked="checked" />
<div>
<p>{{ $c1 }}</p>
</div>
<div class="hg-tabs">
<div class="hg-tab-3">
<label for="hg-tab3-1">{{ $t1 }}</label>
<input
id="hg-tab3-1"
name="hg-tabs-three"
type="radio"
checked="checked"
/>
<div>
<p>{{ $c1 }}</p>
</div>
<div class="hg-tab-3">
<label for="hg-tab3-2">{{ $t2 }}</label>
<input id="hg-tab3-2" name="hg-tabs-three" type="radio" />
<div>
<p>{{ $c2 }}</p>
</div>
</div>
<div class="hg-tab-3">
<label for="hg-tab3-2">{{ $t2 }}</label>
<input id="hg-tab3-2" name="hg-tabs-three" type="radio" />
<div>
<p>{{ $c2 }}</p>
</div>
<div class="hg-tab-3">
<label for="hg-tab3-3">{{ $t3 }}</label>
<input id="hg-tab3-3" name="hg-tabs-three" type="radio" />
<div>
<p>{{ $c3 }}</p>
</div>
</div>
<div class="hg-tab-3">
<label for="hg-tab3-3">{{ $t3 }}</label>
<input id="hg-tab3-3" name="hg-tabs-three" type="radio" />
<div>
<p>{{ $c3 }}</p>
</div>
</div>
</div>

<!-- 2 tabs -->
{{ else }}
<div class="hg-tabs">
<div class="hg-tab-2">
<label for="hg-tab2-1">{{ $t1 }}</label>
<input id="hg-tab2-1" name="hg-tabs-two" type="radio" checked="checked" />
<div>
<p>{{ $c1 }}</p>
</div>
<div class="hg-tabs">
<div class="hg-tab-2">
<label for="hg-tab2-1">{{ $t1 }}</label>
<input
id="hg-tab2-1"
name="hg-tabs-two"
type="radio"
checked="checked"
/>
<div>
<p>{{ $c1 }}</p>
</div>
<div class="hg-tab-2">
<label for="hg-tab2-2">{{ $t2 }}</label>
<input id="hg-tab2-2" name="hg-tabs-two" type="radio" />
<div>
<p>{{ $c2 }}</p>
</div>
</div>
<div class="hg-tab-2">
<label for="hg-tab2-2">{{ $t2 }}</label>
<input id="hg-tab2-2" name="hg-tabs-two" type="radio" />
<div>
<p>{{ $c2 }}</p>
</div>
</div>
</div>

{{ end }}

Expand Down

0 comments on commit 29d69f7

Please sign in to comment.