Browse Source

link code in template

Brennen Bearnes 9 months ago
parent
commit
fa8130e4f1
5 changed files with 11 additions and 2 deletions
  1. 2
    0
      archives/topics/technical
  2. 3
    1
      code.p1k3.com/Makefile
  3. 2
    0
      code.p1k3.com/README.md
  4. 2
    1
      templates/p1k3_actual
  5. 2
    0
      topics/technical.md

+ 2
- 0
archives/topics/technical View File

@@ -11,6 +11,8 @@ I wrote an (unfinished) introduction to the command-line called
11 11
 - [Adafruit Industries](https://learn.adafruit.com/users/bpb)
12 12
 - [DigitalOcean](https://www.digitalocean.com/community/users/bpb)
13 13
 
14
+I publish code to [code.p1k3.com](https://code.p1k3.com/).
15
+
14 16
 <p class="centerpiece"> ❦ </p>
15 17
 
16 18
 </markdown>

+ 3
- 1
code.p1k3.com/Makefile View File

@@ -3,12 +3,14 @@
3 3
 # Assumptions:
4 4
 #
5 5
 #   - Things are served by nginx from /var/www/html on code.p1k3.com
6
-#   - You have the right SSH keys
6
+#   - You have the right user accounts and SSH keys
7 7
 #   - code.p1k3.com has Perl
8 8
 #
9 9
 # TODO:
10 10
 #
11 11
 #   - letsencrypt refresh
12
+#   - nginx config
13
+#   - baseline installs?
12 14
 #   - other dependencies?  gitea?
13 15
 
14 16
 all: publish

+ 2
- 0
code.p1k3.com/README.md View File

@@ -1,4 +1,6 @@
1 1
 code.p1k3.com
2 2
 =============
3 3
 
4
+Files in this directory are bits and pieces of [code.p1k3.com][code].
4 5
 
6
+[code]: https://code.p1k3.com/

+ 2
- 1
templates/p1k3_actual View File

@@ -23,7 +23,8 @@
23 23
 
24 24
 <header id=navigator><nav>
25 25
 <a href="${url_root}">p1k3</a> |
26
-<perl>return $self->link_bar(qw(topics photos userland-book));</perl>
26
+<perl>return $self->link_bar(qw(topics photos userland-book));</perl> |
27
+<a href="https://code.p1k3.com/" title="code hosting">code</a> |
27 28
 <a href="/feed" title="an Atom (like RSS) feed of new entries">
28 29
   feed <img src="/files/icons/feed.png" alt="" height="12" width="12" />
29 30
 </a>

+ 2
- 0
topics/technical.md View File

@@ -8,3 +8,5 @@ I wrote an (unfinished) introduction to the command-line called
8 8
 
9 9
 - [Adafruit Industries](https://learn.adafruit.com/users/bpb)
10 10
 - [DigitalOcean](https://www.digitalocean.com/community/users/bpb)
11
+
12
+I publish code to [code.p1k3.com](https://code.p1k3.com/).

Loading…
Cancel
Save