diff --git a/content/artigos/alteracoes-ao-uso-de-drm-em-portugal/capa.png b/content/artigos/alteracoes-ao-uso-de-drm-em-portugal/capa.png index 27e8339..65d63d1 100644 Binary files a/content/artigos/alteracoes-ao-uso-de-drm-em-portugal/capa.png and b/content/artigos/alteracoes-ao-uso-de-drm-em-portugal/capa.png differ diff --git a/content/artigos/alteracoes-ao-uso-de-drm-em-portugal/index.md b/content/artigos/alteracoes-ao-uso-de-drm-em-portugal/index.md index bd5977e..414068f 100644 --- a/content/artigos/alteracoes-ao-uso-de-drm-em-portugal/index.md +++ b/content/artigos/alteracoes-ao-uso-de-drm-em-portugal/index.md @@ -8,8 +8,8 @@ tags: - directiva - Governo - transposição -coverdescription: Fotografia por Paula Simões, Creative Commons BY -covercaption: Fotografia por Paula Simões, Creative Commons BY +coverdescription: Captura de ecrã que mostra que houve 34 comentários e 33 documentos submetidos na consulta pública do Decreto Lei que transpõe a directiva 2019/790 +covercaption: Comentários e contribuições na consulta pública da transposição da directiva 2019/790 --- Nada na mais recente Directiva Europeia sobre o Direito de Autor, aprovada em @@ -32,7 +32,9 @@ Qual a motivação de acrescentar esta restrição à utilização de obras? E c pode estar nova restrição compatibilizar-se com a directiva que se tenciona transpôr? -A ANSOL respondeu à recente consulta pública sobre esta transposição, -sublinhando este problema. Esperemos agora que o Governo Português tenha em +[A ANSOL respondeu à recente consulta pública sobre esta transposição, +sublinhando este problema][1]. Esperemos agora que o Governo Português tenha em consideração ete contributo, e que a alteração proposta não figure no texto final da transposição. + +[1]: https://ansol.org/noticias/2023-05-06-consulta-publica/ diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 0c58edf..a866576 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -6,6 +6,21 @@ + + + {{ block "opengraph" . }} + + + + + + + + + + + + {{ end }}
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 9e355b6..da66260 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,9 +1,30 @@ -{{ define "title" }} -{{ .Title }} | {{ .Site.Title }} +{{ define "title" }}{{ .Title }} | {{ .Site.Title }}{{ end }} +{{ define "opengraph" }} + {{ $cover := (index (.Resources.ByType "image") 0) }} + + + + + + + + + + + + + + + + + {{ end }} {{ define "main" }}

{{ .Title }}

+ {{ if (eq .Section "artigos") }} + {{ partial "byline.html" . }} + {{ end }} {{ $cover := (index (.Resources.ByType "image") 0) }} {{ if $cover }} @@ -14,10 +35,5 @@ {{ end }} {{ .Content }} - - {{ if (eq .Section "artigos") }} -
- {{ partial "byline.html" . }} - {{ end }}
{{ end }} diff --git a/layouts/partials/byline.html b/layouts/partials/byline.html index d7e2aec..6c45de3 100644 --- a/layouts/partials/byline.html +++ b/layouts/partials/byline.html @@ -2,8 +2,8 @@ Publicado por {{ .Params.author }} // {{ if .Params.categories }} - {{ range $index, $name := .Params.categories }} - {{ $name }}{{ if ne (add $index 1) (len $.Params.categories) }}, {{ end }} + {{ range $index, $category := .GetTerms "categories" }} + {{ $category.Title }}{{ if ne (add $index 1) (len $.Params.categories) }}, {{ end }} {{ end }} {{ else }} Sem categoria @@ -11,4 +11,3 @@ // {{ time.Format "02 de January, 2006" .Date }}

- diff --git a/static/img/og.png b/static/img/og.png new file mode 100644 index 0000000..b3e805c Binary files /dev/null and b/static/img/og.png differ diff --git a/static/styles.css b/static/styles.css index 4e7ac57..099ecca 100644 --- a/static/styles.css +++ b/static/styles.css @@ -20,8 +20,8 @@ main { grid-area: main; } aside { grid-area: sidebar; } footer { grid-area: footer; } +a, a:visited { color: #87211d; } a:hover { color: #C4302B; } -a, a:visited { color: #333; } h1, h2 { font-family: 'Oswald', Helvetica, Arial, sans-serif; @@ -94,7 +94,7 @@ hr { background-image: url(/widget-divider.png); } -.byline { clear: both; padding-top: 1rem; } +.articles .byline { clear: both; padding-top: 1rem; } .articles:not(.detailed) .byline { display: none; } .articles:not(.detailed) { border-top: none; padding-top: 0.5rem; }