diff options
-rw-r--r-- | exampleSite/content/projects/prometeo/index.md | 12 | ||||
-rw-r--r-- | layouts/_default/baseof.html | 2 | ||||
-rw-r--r-- | layouts/_default/single.html | 11 | ||||
-rw-r--r-- | static/css/main.css | 10 |
4 files changed, 34 insertions, 1 deletions
diff --git a/exampleSite/content/projects/prometeo/index.md b/exampleSite/content/projects/prometeo/index.md new file mode 100644 index 0000000..1f3e1ac --- /dev/null +++ b/exampleSite/content/projects/prometeo/index.md @@ -0,0 +1,12 @@ +--- +title: "Prometeo" +date: 2019-08-19T17:41:27+02:00 +draft: false +--- + +# Prometeo Desktop + +Prometeo is a Windows desktop application, wrote in C#. It allows its user to exchange files and folders across the LAN in a peer-to-peer architectural model. +Every user in the network that has the application can act both as a client and as a server. +The actual exchange of data involves two stages. Initially, an UDP-based communication protocol is used to search other peers on the LAN, as well as to periodically signal its own presence. +Then, a TCP-based transfer protocol performs the exchange in a similar but simplified way as FTP protocol does. diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 5f8e2ec..0305c4d 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -4,7 +4,7 @@ <body> {{- partial "header.html" . -}} <div id="content"> - {{- block "main" . }}{{- end }} + {{- block "main" . }}{{- end -}} </div> {{- partial "footer.html" . -}} </body> diff --git a/layouts/_default/single.html b/layouts/_default/single.html index e69de29..93ef78c 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -0,0 +1,11 @@ +{{ define "main" }} + + <div class="header"> + <img src="logo.png" class="logo"> + </div> + + <div class="content wrapper"> + {{ .Content | markdownify }} + </div> + + {{end}} diff --git a/static/css/main.css b/static/css/main.css index fa873fd..55e595a 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -273,6 +273,16 @@ ul { max-height: 15px; } +/* header for projects */ +.header .logo { + display: block; + margin-left: auto; + margin-right: auto; + max-width: 15%; + height: auto; + border-radius: 50%; +} + .email { /* color: #a00; */ font-size: 16px; |